我下载了手套模型 https://nlp.stanford.edu/projects/glove/
我使用自己的语料库训练手套模型,除了添加自己的语料库外,我没有做任何其他更改。但它给出以下错误。
01/30/19 - 11:15.01AM, iter: 015, cost: 0.062701
$ python eval/python/evaluate.py
Traceback (most recent call last):
File "eval/python/evaluate.py", line 110, in <module>
main()
File "eval/python/evaluate.py", line 33, in main
evaluate_vectors(W_norm, vocab, ivocab)
File "eval/python/evaluate.py", line 66, in evaluate_vectors
ind1, ind2, ind3, ind4 = indices.T
ValueError: need more than 0 values to unpack
答案 0 :(得分:0)
尽管发生此错误,但语料库正确生成。