zhixuhao / unet

unet for image segmentation
MIT License
4.59k stars 2k forks source link

gray image when test images changed #165

Open n12iki opened 4 years ago

n12iki commented 4 years ago

Hi I am having a strange issue that whenever I change the images in the test folder, the predicted images become gray boxes. I am currently just blurring the image. I have also blurred the images in the image folder and in the aug folder, and as long as I dont change the images in the test folder it works fine still. Am I missing a step to do this correctly? Thank you for the help

hungbnb-0923 commented 4 years ago

I also have same problem

edcaron commented 4 years ago

comment the line img = img / 255 on the testGenerator method of file data.py

happy20200 commented 4 years ago

Where can I find the test file? Why can't I find it? @n12iki

n12ikip12ain commented 4 years ago

@happy20200 do you mean the ones that I used or theirs?