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

Can't load checkpoints #27

Closed
elias-ramzi opened this issue Jan 21, 2021 · 2 comments
Closed

Can't load checkpoints #27

elias-ramzi opened this issue Jan 21, 2021 · 2 comments

Comments

@elias-ramzi
Copy link

Hi,
I'm trying to load the checkpoints (https://drive.google.com/drive/folders/1mi50tG6oXY1eE9yJnmGCPdTmlIjG7mr0).
But I am getting this error :
ModuleNotFoundError: No module named 'sklearn.decomposition.pca'

And when passing fix_imports=False
I get :
ModuleNotFoundError: No module named '__builtin__'

Would it be possible to have the versions of python version and the versions of the librairies your are using ?

Thanks,
Elias

@yocabon
Copy link
Collaborator

yocabon commented Jan 21, 2021

sklearn.decomposition.pca module is removed in version 0.24
I've been using python 3.6 (3.7 should work); with the following versions

scikit_learn==0.20.2
torch==1.4.0
torchvision==0.5.0
numpy=1.19.5 (1.20 requires python 3.7)
latest matplotlib and tqdm

@elias-ramzi
Copy link
Author

elias-ramzi commented Jan 21, 2021

Thanks !
I managed to load the checkpoint :)

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

2 participants