Skip to content Skip to sidebar Skip to footer

Issues In Doc2vec Tags In Gensim

I am using gensim doc2vec as below. from gensim.models import doc2vec from collections import namedtuple import re my_d = {'recipe__001__1': 'recipe 1 details should come here',

Solution 1:

Try to change this line:

tags = key

to

tags = [key]

Post a Comment for "Issues In Doc2vec Tags In Gensim"