SDGCN icon indicating copy to clipboard operation
SDGCN copied to clipboard

IndexError: tuple index out of range

Open Tony0726 opened this issue 2 years ago • 0 comments

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'这个文件没有,自己放了个空的,不知道是不是这个的原因

Tony0726 avatar Sep 06 '22 14:09 Tony0726