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
is deprecated in new gensim.
It's solved by replacing Word2Vec by KeyedVectors. #self.word2vec_model = models.Word2Vec.load_word2vec_format(config['word2vec_model'], binary=True ) self.word2vec_model = models.KeyedVectors.load_word2vec_format(config['word2vec_model'], binary=True)
The text was updated successfully, but these errors were encountered:
On Jul 11, 2017 11:19 AM, "Michal Rott" ***@***.***> wrote:
Hi,
this function
models.Word2Vec.load_word2vec_format
is deprecated in new gensim.
It's solved by replacing Word2Vec by KeyedVectors.
#self.word2vec_model = models.Word2Vec.load_word2vec_
format(config['word2vec_model'], binary=True )
self.word2vec_model = models.KeyedVectors.load_word2vec_format(config['word2vec_model'],
binary=True)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABgNLkuIQiL4JHjt07wBM26WFMdNfXiyks5sM5J3gaJpZM4OUZhQ>
.
Hi,
this function
is deprecated in new gensim.
It's solved by replacing Word2Vec by KeyedVectors.
#self.word2vec_model = models.Word2Vec.load_word2vec_format(config['word2vec_model'], binary=True )
self.word2vec_model = models.KeyedVectors.load_word2vec_format(config['word2vec_model'], binary=True)
The text was updated successfully, but these errors were encountered: