FCRN-DepthPrediction icon indicating copy to clipboard operation
FCRN-DepthPrediction copied to clipboard

TensorFlow Output

Open lpqdao opened this issue 6 years ago • 3 comments

After using the predict.py codes provided, I was able to obtain test images, however, there were black boxes on each side of the images as shown below. I was wondering why and how to fix this. Thanks.

frame630

lpqdao avatar Jun 27 '18 23:06 lpqdao

@lpqdao Hello Grace, I believe this is caused by the align_corners parameter from the tf.resize_images function.

nicolasrosa avatar Jul 30 '18 14:07 nicolasrosa

Hello,

Are you talking about the problem regarding converting from 3-channel to 1-channel? Also which file is tf.resize_image in? Thanks.

Regards, Grace Le

On Jul 30, 2018, at 07:26, nicolasrosa [email protected] wrote:

@lpqdao Hello Grace, I believe this is caused by the align_corners parameter from the tf.resize_images function.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

lpqdao avatar Jul 30 '18 19:07 lpqdao

No, about the black boxes. In my code, it's in several places: train.py, validation.py and test.py.

nicolasrosa avatar Jul 30 '18 21:07 nicolasrosa