摘要:
RuntimeError: Sizes of tensors must match except in dimension 1. Got 61 and 60 in dimension 2 错误产生原因:在模型中有以下操作:torch.cat(x, y) 当x, y的尺寸不一致时,就会出现以上错误。 阅读全文
摘要:
python日常错误: 错误1: operands could not be broadcast together with shapes (160000,4) (4,4) 操作数不能与形状(160000,4)(4,4)一起广播 错误代码: 对,你没看错,仅仅就是这一行 分析: 这里的变量a,b,c 阅读全文