WordSeg icon indicating copy to clipboard operation
WordSeg copied to clipboard

单卡bert训练出现tensor维度的报错,应该在哪里修改呢?

Open Skywalker-Harrison opened this issue 2 years ago • 1 comments

RuntimeError: The expanded size of the tensor (513) must match the existing size (512) at non-singleton dimension 1. Target sizes: [6, 513]. Tensor sizes: [1, 512]

Skywalker-Harrison avatar Dec 17 '22 02:12 Skywalker-Harrison

Hi, have you solved the problem?

ZhefeiGong avatar Mar 17 '23 04:03 ZhefeiGong