You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "train.py", line 101, in <module>
model = create_model(args, overall_maxlen, vocab)
File "/home/a.kurakin/gosfeedback/Attention-Based-Aspect-Extraction/code/model.py", line 26, in create_model
emb_reader = EmbReader(os.path.join("..", "preprocessed_data", args.domain), args.emb_name)
File "/home/a.kurakin/gosfeedback/Attention-Based-Aspect-Extraction/code/w2vEmbReader.py", line 25, in __init__
model = gensim.models.KeyedVectors.load(emb_path)
File "/opt/miniconda3/envs/gosfeedback1a/lib/python3.6/site-packages/gensim/utils.py", line 281, in load
obj = unpickle(fname)
File "/opt/miniconda3/envs/gosfeedback1a/lib/python3.6/site-packages/gensim/utils.py", line 933, in unpickle
return _pickle.load(f, encoding='latin1')
AttributeError: Can't get attribute 'Word2VecKeyedVectors' on <module 'gensim.models.keyedvectors' from '/opt/miniconda3/envs/gosfeedback1a/lib/python3.6/site-packages/gensim/models/keyedvectors.py'>
The text was updated successfully, but these errors were encountered:
kuraga
added a commit
to kuraga/Attention-Based-Aspect-Extraction
that referenced
this issue
Aug 6, 2020
(on train phase)
The text was updated successfully, but these errors were encountered: