-
Notifications
You must be signed in to change notification settings - Fork 82
Open
Description
Getting the following error. Did someone face the same?
Embedding length is 100.
You have elected to include embeddings that are out-of-corpus.
Loading embeddings...
Traceback (most recent call last):
File "train.py", line 356, in <module>
main()
File "train.py", line 79, in main
expand_vocab) # load pre-trained embeddings
File "C:\Users\user\Desktop\NLP\a-PyTorch-Tutorial-to-Sequence-Labeling-master\utils.py", line 230, in load_embeddings
for line in open(emb_file, 'r', 'utf-8'):
TypeError: an integer is required (got type str)
Metadata
Metadata
Assignees
Labels
No labels