Skip to content
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

Dashboard - python error #82

Open
fatmas1982 opened this issue Dec 25, 2022 · 2 comments
Open

Dashboard - python error #82

fatmas1982 opened this issue Dec 25, 2022 · 2 comments
Assignees

Comments

@fatmas1982
Copy link

  • OCTIS version:
  • Python version:

Description

runtime error

What I Did

from octis.models.LDA import LDA 
cause this error 
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
[<ipython-input-54-5a8917c9d1ca>](https://localhost:8080/#) in <module>
----> 1 import octis.models.LDA

6 frames
/usr/local/lib/python3.8/dist-packages/gensim/_matutils.pyx in init gensim._matutils()

ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject

@silviatti
Copy link
Collaborator

Hello! Could you provide more details on your environment? It's difficult for us to replicate the error otherwise. Thanks!

Silvia

@silviatti silviatti changed the title python error Dashboard - python error Jan 7, 2023
@Chrisma-98
Copy link

Chrisma-98 commented Jan 8, 2023

Hello! Could you provide more details on your environment? It's difficult for us to replicate the error otherwise. Thanks!

Silvia

Hi! Silvia.
When I was training CTM on my computer, I encountered "Unable to allocate 26.0 GiB for an array with shape (55776, 62456) and data type int64". I thought it might be a GPU memory problem, so I used colab. I encountered the same problem when I ran the project on colab.

What I Did
Based on stackoverflow's search results, I tried to reinstall numpy(1.19.1 and 1.20.3) and gensim (3.5.0, 3.6.0 and 4.1.2). It doesn't work.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants