dalinvip/cnn-lstm-bilstm-deepcnn-clstm-in-pytorch

运行到for batch in train_iter的时候报错了,RuntimeError: sizes must be non-negative

Kryptonites opened this issue · 1 comments

我把2分类改成了多分类
examples += [data.Example.fromlist([sentence, flag], fields=fields)]
flag对应line[-2]的值