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

Model loading error #207

Open
2 tasks done
MingxinDing opened this issue Dec 18, 2024 · 5 comments
Open
2 tasks done

Model loading error #207

MingxinDing opened this issue Dec 18, 2024 · 5 comments
Assignees

Comments

@MingxinDing
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Bug description

New commit failed to load model files.
cebra_error.md

Operating System

Windows 11

CEBRA version

0.4.0

Device type

gpu

Steps To Reproduce

No response

Relevant log output

No response

Anything else?

No response

Code of Conduct

@stes
Copy link
Member

stes commented Dec 18, 2024

Thanks for flagging!

To understand the issue, you saved the model using a previous cebra version, and try to load it with the latest commit?

I'll attempt to repro the issue on my end.

@MingxinDing
Copy link
Author

Yes I did originally. Then I saved models using the latest commit, same error with loading those as well.
Thanks very much!

@MMathisLab
Copy link
Member

Which version of pytorch do you have installed? Thanks!

@MingxinDing
Copy link
Author

2.5.1+cu121

@stes
Copy link
Member

stes commented Dec 20, 2024

The error most likely occurred in #205 where the general logic behind the CEBRA model changed a bit. We had to adapt this due to some API changes in sklearn. I will see if we can ensure compatibility of model loading and keep you updated here.

In general, thanks for catching this, important issue to fix to keep the loading function backward compatible!

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

No branches or pull requests

3 participants