GlobalPointer_pytorch icon indicating copy to clipboard operation
GlobalPointer_pytorch copied to clipboard

您好?换了其他数据集,好像会有文本长度过长的问题,报错如下。望回答

Open Jia1201 opened this issue 2 years ago • 1 comments

RuntimeError: The size of tensor a (1087) must match the size of tensor b (512) at non-singleton dimension 1

Jia1201 avatar Aug 28 '22 15:08 Jia1201

这个不一定是文本长度的问题,你可以检查一下你修改的地方。报错信息是维度不匹配

gaohongkui avatar Dec 09 '22 04:12 gaohongkui