예제 #1
0
                                 tiles_in_image=tilesPerImg,
                                 name='output')
        tiCr.debugOutputPngsCrop(batch_ys,
                                 tileSizeHigh,
                                 simSizeHigh,
                                 test_path,
                                 imageCounter=currOut,
                                 cut_output_to=tileSizeHiCrop,
                                 tiles_in_image=tilesPerImg,
                                 name='expected_out')

        if outputInputs:
            if not useVelocities:
                tiCr.debugOutputPngsSingle(batch_xs,
                                           tileSizeLow,
                                           simSizeLow,
                                           test_path,
                                           imageCounter=currOut,
                                           name='input')
            else:
                tiCr.debugOutputPngsSingle(batch_velocity,
                                           tileSizeLow,
                                           simSizeLow,
                                           test_path,
                                           imageCounter=currOut,
                                           name='in_vel_x',
                                           channel=1)
                tiCr.debugOutputPngsSingle(batch_velocity,
                                           tileSizeLow,
                                           simSizeLow,
                                           test_path,
                                           imageCounter=currOut,
예제 #2
0
                                 tiles_in_image=tilesPerImg)
        tiCr.debugOutputPngsCrop(batch_ys,
                                 tileSizeHigh,
                                 simSizeHigh,
                                 test_path,
                                 imageCounter=currOut,
                                 cut_output_to=tileSizeHiCrop,
                                 tiles_in_image=tilesPerImg,
                                 name='expected_out')
        # tiCr.debugOutputPngsSingle(batch_ys, tileSizeLow, simSizeLow, test_path, imageCounter=currOut, name='expected_out')

        if outputInputs:
            if not useVelocities:
                tiCr.debugOutputPngsSingle(batch_xs,
                                           tileSizeLow,
                                           simSizeLow,
                                           test_path,
                                           imageCounter=currOut,
                                           name='input')
            else:
                tiCr.debugOutputPngsSingle(batch_velocity_x,
                                           tileSizeLow,
                                           simSizeLow,
                                           test_path,
                                           imageCounter=currOut,
                                           name='vel_x')
                tiCr.debugOutputPngsSingle(batch_velocity_y,
                                           tileSizeLow,
                                           simSizeLow,
                                           test_path,
                                           imageCounter=currOut,
                                           name='vel_y')