inpho / topic-explorer

System for building, visualizing, and working with LDA topic models
https://www.hypershelf.org/
Other
92 stars 22 forks source link

Issues in HTRC workset toolkit with 1.0b227 update #361

Open dkloster opened 4 years ago

dkloster commented 4 years ago

I updated the topic explorer on my htrc data capsule to test the new update and attempted to run the topicexplorer command built in to the htrc workset toolkit from the command line and received the following error: ValueError: Object arrays cannot be loaded when allow_pickle = False. The traceback shows that this is an issue in the vsm packages use of the numpy.load function in the corpus/base.py file. The allow_pickle parameter of the function defaults to False, and since the parameter is not named in the vsm/corpus/base.py file this is the default setting. I managed to get the topic explorer to run and load by adding the allow_pickle = True parameter to all instances of np.load in the base.py file. However, when the topic explorer loads the collision detection check box does not work. When I check the box, nothing happens. This problem I am not sure how to fix. Neither of these problems exist in the previous version of topic explorer (1.0b226).