MaartenGr / Concept

Concept Modeling: Topic Modeling on Images and Text
https://maartengr.github.io/Concept/
MIT License
192 stars 16 forks source link

TypeError: Cannot use scipy.linalg.eigh for sparse A with k >= N. Use scipy.linalg.eigh(A.toarray()) or reduce k. #5

Closed cyberandy closed 2 years ago

cyberandy commented 2 years ago

Hi there,

I am trying to run Concept on a very small dataset of images (10 images in jpg) but while I can run it on the sample you provided (Colab) I get the following error with my dataset. Any idea what might be the issue?

image

Aside from this specific issue, this is an amazing work!

cyberandy commented 2 years ago

The issue is mainly related to the size of the dataset, as I increased it - it started to work.