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

Constantly getting arrays full of NaN when using NMF #5

Open
chadD123321 opened this issue Jan 28, 2021 · 2 comments
Open

Constantly getting arrays full of NaN when using NMF #5

chadD123321 opened this issue Jan 28, 2021 · 2 comments
Projects

Comments

@chadD123321
Copy link

I am attempting to utilize nmf on video data. it is 3 dimensional but I have also collapsed it to 2 dimensions in hopes that would work(with appropriate NMF3D and NMF2D utilization). regardless of input shape, I try to use the fit_transform function and my returned V matrix is comprised of only NaN's . I imagine I am incorrectly training or fitting the data but any insight would be appreciated.

@yoyololicon
Copy link
Owner

Have you tried adjusting the beta value? Which beta divergence are you using?
You can try beta=2 which is more numerically stable in my experience.

@yoyololicon
Copy link
Owner

@chadD123321
I have updated this package recently, could you help try again on the newest version?
Docs and installation:
https://pytorch-nmf.readthedocs.io/en/latest/
Please install directly from github (the pypi version has some bugs.)

@yoyololicon yoyololicon added this to To do in Develope Mar 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: To do
Development

No branches or pull requests

2 participants