Skip to content

load_embeddings.py run error #5

@yja1

Description

@yja1

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions