I’m plotting the predicted image and I see that BCE performs better than BCEwithlogitsloss, so I decided to keep using BCE. The problem is that after 200 epochs, it can’t increase the accuracy. It should be able to overfit really quickly if I’m using only one training image.
I debugged the neural network and I’m getting the same output shape just like in the paper. I’ve seen many 3D Unet and 2D Unet implementations but they are changing the output size to be the same than the input’s and that’s not what they do in the papers.