the link for the implementation doesn’t work. I suspect a lot of pixels in training images are of class 0 while only few with label 1. So the network marks everything 0 thus you get a very low loss value and blank segmentation output.