Zero-DCE_extension icon indicating copy to clipboard operation
Zero-DCE_extension copied to clipboard

Error while loading the model in macos cpu

Open BurakaKrishna opened this issue 3 years ago • 7 comments

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 ?

BurakaKrishna avatar Jan 20 '22 14:01 BurakaKrishna

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

world2025 avatar Mar 05 '22 07:03 world2025

@BurakaKrishna torch1.7.0 torchvison0.8.1 solve it

world2025 avatar Mar 05 '22 08:03 world2025

@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

BurakaKrishna avatar Mar 15 '22 09:03 BurakaKrishna

@BurakaKrishna torch1.7.0 torchvison0.8.1 solve it

world2025 avatar Mar 15 '22 11:03 world2025

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

rederyang avatar Mar 23 '22 06:03 rederyang

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

Javyfu avatar Dec 04 '22 04:12 Javyfu

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.

rederyang avatar Dec 04 '22 07:12 rederyang