Open kxhaaa opened 5 years ago
it's probably a bit late, but the reason for this behaviour might be because the images are not preprocessed as the ones used for training (e.g. scaling to [0,1), removing outliers, etc)
it's probably a bit late, but the reason for this behaviour might be because the images are not preprocessed as the ones used for training (e.g. scaling to [0,1), removing outliers, etc)
thanks for your reply. and in fact, currently i just use image_util.ImageDataProvider with a '0' label to load the image, though it looks like a little 'lazy',o( ̄▽ ̄)ブ.
i have already trained a model and get a good prediction image.
but when i try to load the model and predict other images, i find the results of prediction images are all black.
if i run this code, the result is good :
and if i use the code, the result is almost black (cell_1.tif is one of the training images):