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
When I am trying to run train_model.py , following error is coming .
python train_model.py
Traceback (most recent call last):
File "train_model.py", line 30, in
model = g.Doc2Vec(docs, size=vector_size, window=window_size, min_count=min_count, sample=sampling_threshold, workers=worker_count, hs=0, dm=dm, negative=negative_size, dbow_words=1, dm_concat=1, pretrained_emb=pretrained_emb, iter=train_epoch)
File "/usr/local/lib/python2.7/dist-packages/gensim-0.13.2-py2.7-linux-x86_64.egg/gensim/models/doc2vec.py", line 607, in init
null_word=dm_concat, **kwargs)
TypeError: init() got an unexpected keyword argument 'pretrained_emb'
The text was updated successfully, but these errors were encountered:
When I am trying to run train_model.py , following error is coming .
python train_model.py
Traceback (most recent call last):
File "train_model.py", line 30, in
model = g.Doc2Vec(docs, size=vector_size, window=window_size, min_count=min_count, sample=sampling_threshold, workers=worker_count, hs=0, dm=dm, negative=negative_size, dbow_words=1, dm_concat=1, pretrained_emb=pretrained_emb, iter=train_epoch)
File "/usr/local/lib/python2.7/dist-packages/gensim-0.13.2-py2.7-linux-x86_64.egg/gensim/models/doc2vec.py", line 607, in init
null_word=dm_concat, **kwargs)
TypeError: init() got an unexpected keyword argument 'pretrained_emb'
The text was updated successfully, but these errors were encountered: