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

Error while loading the model in macos cpu #10

Open
BurakaKrishna opened this issue Jan 20, 2022 · 7 comments
Open

Error while loading the model in macos cpu #10

BurakaKrishna opened this issue Jan 20, 2022 · 7 comments

Comments

@BurakaKrishna
Copy link

BurakaKrishna commented Jan 20, 2022

After installing all the module in requirements, I get the following error when loading the model
_pickle.UnpicklingError: A load persistent id instruction was encountered
but no persistent_load function was specified.

I checked the forums for this error
https://blog.csdn.net/wavehaha/article/details/114900600
which suggests inconsistency pytorch version
But i am using pytorch=1.0.0 only

Has anybody encountered it? How to load the model on cpu ?

@world2025
Copy link

@BurakaKrishna hello,i also met the error when i use cpu, did you solve it ?

@world2025
Copy link

@BurakaKrishna torch1.7.0 torchvison0.8.1 solve it

@BurakaKrishna
Copy link
Author

@tkone2018 I wasn't able to solve it, i went with Zero-DCE model, the previous work of the authors which was working in cpu

@world2025
Copy link

@BurakaKrishna torch1.7.0 torchvison0.8.1 solve it

@rederyang
Copy link

rederyang commented Mar 23, 2022

I think it would be better if the author updates the requirements in README.

@Javyfu
Copy link

Javyfu commented Dec 4, 2022

cuda 10.2 python 3.7
certifi 2022.9.24
flit_core 3.6.0
mkl-fft 1.3.1
mkl-random 1.2.2
mkl-service 2.4.0
numpy 1.21.5
Pillow 9.2.0
pip 22.2.2
setuptools 65.5.0
six 1.12.0
torch 1.8.1
torchvision 0.9.1
typing_extensions 4.4.0
wheel 0.37.1

@rederyang
Copy link

cuda 10.2 python 3.7 certifi 2022.9.24 flit_core 3.6.0 mkl-fft 1.3.1 mkl-random 1.2.2 mkl-service 2.4.0 numpy 1.21.5 Pillow 9.2.0 pip 22.2.2 setuptools 65.5.0 six 1.12.0 torch 1.8.1 torchvision 0.9.1 typing_extensions 4.4.0 wheel 0.37.1

Thanks.

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

4 participants