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
Im facing this issue. Can anyone help me resolve this?
Traceback (most recent call last):
File "train.py", line 107, in
model = create_model(args, overall_maxlen, vocab)
File "D:\Projects\Epilepsy project\Unsupervised-Aspect-Extraction-master\code\model.py", line 52, in create_model
emb_reader = EmbReader(args.emb_path, emb_dim=args.emb_dim)
File "D:\Projects\Epilepsy project\Unsupervised-Aspect-Extraction-master\code\w2vEmbReader.py", line 21, in init
model = gensim.models.Word2Vec.load(emb_path)
File "C:\Users\namei.conda\envs\py27\lib\site-packages\gensim\models\word2vec.py", line 1485, in load
model = super(Word2Vec, cls).load(*args, **kwargs)
File "C:\Users\namei.conda\envs\py27\lib\site-packages\gensim\utils.py", line 248, in load
obj = unpickle(fname)
File "C:\Users\namei.conda\envs\py27\lib\site-packages\gensim\utils.py", line 912, in unpickle
return _pickle.loads(f.read()) AttributeError: 'module' object has no attribute 'call_on_class_only'
The text was updated successfully, but these errors were encountered:
Im facing this issue. Can anyone help me resolve this?
Traceback (most recent call last):
File "train.py", line 107, in
model = create_model(args, overall_maxlen, vocab)
File "D:\Projects\Epilepsy project\Unsupervised-Aspect-Extraction-master\code\model.py", line 52, in create_model
emb_reader = EmbReader(args.emb_path, emb_dim=args.emb_dim)
File "D:\Projects\Epilepsy project\Unsupervised-Aspect-Extraction-master\code\w2vEmbReader.py", line 21, in init
model = gensim.models.Word2Vec.load(emb_path)
File "C:\Users\namei.conda\envs\py27\lib\site-packages\gensim\models\word2vec.py", line 1485, in load
model = super(Word2Vec, cls).load(*args, **kwargs)
File "C:\Users\namei.conda\envs\py27\lib\site-packages\gensim\utils.py", line 248, in load
obj = unpickle(fname)
File "C:\Users\namei.conda\envs\py27\lib\site-packages\gensim\utils.py", line 912, in unpickle
return _pickle.loads(f.read())
AttributeError: 'module' object has no attribute 'call_on_class_only'
The text was updated successfully, but these errors were encountered: