Medical-Transformer icon indicating copy to clipboard operation
Medical-Transformer copied to clipboard

请教,einsum()函数报错

Open orderer0001 opened this issue 1 year ago • 4 comments

RuntimeError: einsum(): operands do not broadcast with remapped shapes [original->remapped]: [277, 8, 1, 234]->[277, 8, 234, 1, 1] [1, 64, 64]->[1, 1, 64, 64, 1]

orderer0001 avatar Aug 25 '22 08:08 orderer0001

Hello, has this problem been solved?

Drwr97 avatar Sep 16 '22 13:09 Drwr97

I also met the same problem. You could review the codes and noticed the input size of your data

LenisLin avatar Oct 10 '22 10:10 LenisLin

我也遇到这种情况了需要怎么解决呢

djy123d avatar Feb 25 '23 10:02 djy123d

I also encounter this problem:RuntimeError: size of dimension does not match previous size, operand 1, dim 1. I have resized the images to 512 × 512. My q is [512, 8, 1, 256] and q_embedding is [1, 64, 64]. How can I solve it?

nightrain-vampire avatar Mar 11 '23 10:03 nightrain-vampire