У меня проблема при запуске этого кода в Windows10
word2vec = gensim.models.Word2Vec.load("word2vec.gensim")
и получении этой ошибки
word2vec = gensim.models.Word2Vec.load("word2vec.gensim")
Traceback (most recent call last):
File "<ipython-input-2-4557a9b0bbb0>", line 1, in <module>
word2vec = gensim.models.Word2Vec.load("word2vec.gensim")
File "C:\Users\abhis\Anaconda3\lib\site-packages\gensim\models\word2vec.py",
line 1312, in load
model = super(Word2Vec, cls).load(*args, **kwargs)
File "C:\Users\abhis\Anaconda3\lib\site-
packages\gensim\models\base_any2vec.py", line 1244, in load
model = super(BaseWordEmbeddingsModel, cls).load(*args, **kwargs)
File "C:\Users\abhis\Anaconda3\lib\site-
packages\gensim\models\base_any2vec.py", line 603, in load
return super(BaseAny2VecModel, cls).load(fname_or_handle, **kwargs)
File "C:\Users\abhis\Anaconda3\lib\site-packages\gensim\utils.py", line 422,
in load
obj = unpickle(fname)
File "C:\Users\abhis\Anaconda3\lib\site-packages\gensim\utils.py", line
1358, in unpickle
with smart_open(fname, 'rb') as f:
File "C:\Users\abhis\Anaconda3\lib\site-
packages\smart_open\smart_open_lib.py", line 181, in smart_open
fobj = _shortcut_open(uri, mode, **kw)
File "C:\Users\abhis\Anaconda3\lib\site-
packages\smart_open\smart_open_lib.py", line 301, in _shortcut_open
return open(parsed_uri.uri_path, mode, buffering=buffering, **open_kwargs)
FileNotFoundError: [Errno 2] No such file or directory: 'word2vec.gensim'