运行到for batch in train_iter的时候报错了,RuntimeError: sizes must be non-negative
Kryptonites opened this issue · 1 comments
Kryptonites commented
我把2分类改成了多分类
examples += [data.Example.fromlist([sentence, flag], fields=fields)]
flag对应line[-2]的值
Kryptonites opened this issue · 1 comments
我把2分类改成了多分类
examples += [data.Example.fromlist([sentence, flag], fields=fields)]
flag对应line[-2]的值