bigmb / Unet-Segmentation-Pytorch-Nest-of-Unets

Implementation of different kinds of Unet Models for Image Segmentation - Unet , RCNN-Unet, Attention Unet, RCNN-Attention Unet, Nested Unet
MIT License
1.87k stars 345 forks source link

ValueError: Shape mismatch: im1 and im2 must have the same shape. #42

Closed sunny0414 closed 4 years ago

sunny0414 commented 4 years ago

How to save this problem?ValueError: Shape mismatch: im1 and im2 must have the same shape.

bigmb commented 4 years ago

@sunny0414 Can you be a little more specific? Are you facing issue in attention unet? If not, I suggest you check the shape of your images just to be sure.

sunny0414 commented 4 years ago

Thanks for you repply,I have solved the problem.

findlayr commented 2 years ago

Hi. I met the same error could you please tell me how to solve the problem? Thank you.

findlayr commented 2 years ago

@sunny0414 Hi. I met the same error could you please tell me how to solve the problem? Thank you.