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
I downloaded the model from the link in the config file, but genseim/utils.py can't load it:
INFO: loading Word2Vec object from models/word2vec_model.tar.gz
Traceback (most recent call last):
File "/home/jamie/OWL2Vec-Star/OWL2Vec_Standalone.py", line 223, in <module>
model_ = gensim.models.Word2Vec.load(config['MODEL']['pre_train_model'])
File "/home/jamie/.conda/envs/onto/lib/python3.9/site-packages/gensim/models/word2vec.py", line 1953, in load
model = super(Word2Vec, cls).load(*args, **kwargs)
File "/home/jamie/.conda/envs/onto/lib/python3.9/site-packages/gensim/utils.py", line 486, in load
obj = unpickle(fname)
File "/home/jamie/.conda/envs/onto/lib/python3.9/site-packages/gensim/utils.py", line 1462, in unpickle
return _pickle.load(f, encoding='latin1') # needed because loading from S3 doesn't support readline()
_pickle.UnpicklingError: could not find MARK
The text was updated successfully, but these errors were encountered:
I downloaded the model from the link in the config file, but genseim/utils.py can't load it:
The text was updated successfully, but these errors were encountered: