-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TWE-1 and TWE-3 errors #1
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I met these issues:
In TWE-1:
When train topic vectors: topical_word_embeddings/TWE-1/gensim/models/word2vec.py", line 901
NameError: global name 'train_sentence_topic' is not defined
In TWE-3:
TWE-3/gensim/models/word2vec.py", line 126, in train_sentence_sg
l1 = model.syn0[word2.index]
IndexError: only integers, slices (
:
), ellipsis (...
), numpy.newaxis (None
) and integer or boolean arrays are valid indicesI was so upset as so many times tried and failed, and different compile ways also have tried. Please help me.
The text was updated successfully, but these errors were encountered: