Word2Vec'对象没有属性'iter'

问题描述 投票:0回答:0
# train word vectors
w2v_model.train(sentences, total_examples=w2v_model.corpus_count, epochs=w2v_model.iter)

我收到这个错误

AttributeError: 'Word2Vec' object has no attribute 'iter'

你能给我一些解决这个问题的提示吗?

python google-colaboratory gensim word2vec epoch
© www.soinside.com 2019 - 2024. All rights reserved.