jakeret / tf_unet

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

validation and training batch loss #229

Closed emergencyd closed 5 years ago

emergencyd commented 5 years ago

I'm trying to use exactly the same picture for training and verification, but their reported losses are quite different, like: image This is quite weird....anybody has the same problem?

emergencyd commented 5 years ago

I found the problem...... "util.combine_img_prediction" seems to change the original img matrix (making the outside part totally black) I'd suggest np.copy, rather than the matrix itself