Deep-Model-Transfer icon indicating copy to clipboard operation
Deep-Model-Transfer copied to clipboard

what kind of input image format should be?

Open cs-heibao opened this issue 7 years ago • 2 comments

@MacwinWin hi, I use different pictures do the test but get the same predictions, and I wonder whether the input I used is wrong, and the input image format as follow: 1

cs-heibao avatar Jun 22 '18 09:06 cs-heibao

In my code, I use the code in Deep-Model-Transfer/preprocessing/inception_preprocessing.py to convert the image format. You forget to normalized the image to [-1,1], so the network can not recognize it correctly.

MacwinWin avatar Jun 25 '18 10:06 MacwinWin

@MacwinWin hi, I've tried as you said, but the result looks wrong, so could you give me the instruction of the rest steps after I get the image by using cv2.imread, thanks.

cs-heibao avatar Jun 27 '18 01:06 cs-heibao