CeiT-pytorch icon indicating copy to clipboard operation
CeiT-pytorch copied to clipboard

Error while training on CIFAR!!

Open yutinyang opened this issue 4 years ago • 5 comments

raise EinopsError('Shape mismatch, {} != {}'.format(length, known_product)) einops.EinopsError: Shape mismatch, 4 != 196

yutinyang avatar Apr 09 '21 02:04 yutinyang

@yutinyang error occur in which line number ?

rishikksh20 avatar Apr 09 '21 09:04 rishikksh20

 line 24, in forward     x = leff(x[:, 1:]) 

------------------ 原始邮件 ------------------ 发件人: "rishikksh20/CeiT-pytorch" @.>; 发送时间: 2021年4月9日(星期五) 下午5:31 @.>; @.@.>; 主题: Re: [rishikksh20/CeiT-pytorch] Error while training on CIFAR!! (#1)

@yutinyang error occur in which line number ?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

yutinyang avatar Apr 10 '21 02:04 yutinyang

@rishikksh20 @yutinyang I am also following the same error

khawar-islam avatar Jun 24 '21 01:06 khawar-islam

The error was caused by the TorchVision version. Install Torchvision ==0.9 Torch ==1.8.1 to solve the problem.

iwanglei1 avatar Aug 19 '21 21:08 iwanglei1

I also following the same error. Can you help me?Thank you!

yuwanting828 avatar Nov 16 '22 16:11 yuwanting828