mojave-pku / TextLevelGCN

source code of our paper presents in EMNLP 2019. https://www.aclweb.org/anthology/D19-1345/
GNU General Public License v3.0
54 stars 16 forks source link

glove文件开头添加400000 200后,报错IndexError: index 400000 is out of bounds for axis 0 with size 400000 #12

Closed gloryyoung closed 1 year ago

gloryyoung commented 1 year ago

老师您好,我在glove200.txt开头添加了400000 200,程序报错 vocab[i] = word IndexError: index 400000 is out of bounds for axis 0 with size 400000

我的pytorch版本为1.7.1,word2vec是0.11.1,python是3.8.12,dgl是0.9.1 想请教老师,是不是版本出了问题导致的这个错误?