Pinlong-Zhao / SDGCN

Modeling Sentiment Dependencies with Graph Convolutional Networks for Aspect-level Sentiment Classification
53 stars 24 forks source link

IndexError: tuple index out of range #12

Open Tony0726 opened 2 years ago

Tony0726 commented 2 years ago

File "D:/pythonProject/SDGCN-master/run_BERT.py", line 376, in <module> train_acc, dev_acc, max_test_acc,max_test_F1_macro,max_test_step, train_all_softmax, test_all_softmax = train(Train, Test, word_embedding) File "D:/pythonProject/SDGCN-master/run_BERT.py", line 199, in train sequence_length=Train['x'].shape[1], IndexError: tuple index out of range

这个错误应该怎么解决,'data/data_res/Restaurants_glove.42B.300d.txt'这个文件没有,自己放了个空的,不知道是不是这个的原因