Traceback (most recent call last):
File "E:/python-files/NER/rnn.py", line 153, in
embedding = load_word2vec_embedding(vocab_size)
File "E:\python-files\NER\utils.py", line 264, in load_word2vec_embedding
embeddings[index] = coefs # 将词和对应的向量存到字典里
IndexError: index 2 is out of bounds for axis 0 with size 2
请问一下作者,这个问题怎么解决啊,弄了半天,不知道怎么办?
Traceback (most recent call last): File "E:/python-files/NER/rnn.py", line 153, in
embedding = load_word2vec_embedding(vocab_size)
File "E:\python-files\NER\utils.py", line 264, in load_word2vec_embedding
embeddings[index] = coefs # 将词和对应的向量存到字典里
IndexError: index 2 is out of bounds for axis 0 with size 2
请问一下作者,这个问题怎么解决啊,弄了半天,不知道怎么办?