使用biaobei数据集,train在step9980时这样报错,请问我应该从哪里开始修改呢
Opened this issue · 2 comments
sisibeauty commented
RuntimeError: cannot reshape tensor of 0 elements into shape [0, 39, -1] because the unspecified dimension size -1 can be any value and is ambiguous
ranchlai commented
- 检查输入是否有空行。
- 可以在报错的地方加入
try:
出错行
except:
import pdb;pdb.set_trace()
然后进行调式模式看为啥出错