jakeret / tf_unet

Generic U-Net Tensorflow implementation for image segmentation
GNU General Public License v3.0
1.9k stars 748 forks source link

Prediction is 0.5 #269

Open TonyChouZJU opened 5 years ago

TonyChouZJU commented 5 years ago

I trained a 2-class model. For the background pixel (labeled in 0) , the prediction is ok. But for the foreground pixel, the prediction is 0.5 for label 0 and 0.5 for label 1.

CEB23F6A-C6AE-42c0-A8E0-53CA3215776F

No changes has made to the origin framework. Thanks for your reply.

stiv-yakovenko commented 5 years ago

prediction is double value like .49998, such value can never be strictly equal to .5 please explain clearly what you want, what you do and what happens instead