Img segmentation problem

Hi

I am performing a segmentation task.

Dataset: jsrt dataset

The problem is that the result of the image is too bad compared to my dice score.

What is the problem?

this is my git

https://github.com/woans0104/unet

Please note that this code is not yet cleaned up. sorry;;;;