jeya-maria-jose / Medical-Transformer

Official Pytorch Code for "Medical Transformer: Gated Axial-Attention for Medical Image Segmentation" - MICCAI 2021
MIT License
791 stars 176 forks source link

RuntimeError: einsum(): subscript i has size 64 for operand 1 which does not broadcast with previously seen size 500 #91

Open Throne-myworld opened 8 months ago

Throne-myworld commented 8 months ago

when I run the code with MoNuSeg dataset this problem occurs , what should I do to solve this?

LebronMX-A commented 7 months ago

当我使用MoNuSeg数据集运行代码时,会出现此问题,我应该怎么做才能解决这个问题? I also have this problem. Have you solved it

kapilsingla22 commented 5 months ago

check if image size is 512x512. If not then resize your image to 512x512 for this dataset.