-
Notifications
You must be signed in to change notification settings - Fork 363
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
TypeError: object of type 'map' has no len() #4
Comments
While not related to the issue reported in #4 this edge case appeared after the gensim portion of the code worked.
Thank you for reporting this. I reproduced your error which means the gensim |
@wilkens I just pushed |
Thanks - yes, it works fine now. I appreciate the quick turnaround! |
Great, thanks again for the report and feedback. BTW, I checked out your |
Thanks, Ben! I wish I could take more credit for the visualization work in the
|
I can't seem to get pyLDAvis to work on even a toy collection. I build a model with gensim as described in the gensim docs. Then, when I try to run
I get
TypeError: object of type 'map' has no len()
. I've tried this with other document collections, getting the same problem.Minimal code to duplicate is below. I'm using Python 3.4.3 on a Mac (via Anaconda), gensim 0.10.3, and pyLDAvis 1.1.0. Hope I'm just doing something obviously dumb. Thanks for any help you can provide.
The text was updated successfully, but these errors were encountered: