dan
dan copied to clipboard
load_embeddings.py run error
d = len(all_vocab['the']) when run this line occur error, because all_vocab is None:
loading vocab...
19538 0
Traceback (most recent call last):
File "load_embeddings.py", line 24, in
d = len(all_vocab['the'])
KeyError: 'the'
environment: anaconda python3, I have change some function from python2 to python3.
@yja1 have you found any solution to this?