tensorlayer / SRGAN

Photo-Realistic Single Image Super-Resolution Using a Generative Adversarial Network
https://github.com/tensorlayer/tensorlayerx
3.24k stars 813 forks source link

_pickle.UnpicklingError: Failed to interpret file 'model\\vgg19.npy' as a pickle #247

Closed Kvaibhav1997 closed 1 year ago

Kvaibhav1997 commented 2 years ago

I am getting unpickling error while working with SRGAN network. Screenshot (14)

_pickle.UnpicklingError: Failed to interpret file 'model\vgg19.npy' as a pickle

hanjr92 commented 2 years ago

erroe please change LF to CRLF @Kvaibhav1997

husterwang commented 1 year ago

I have the same problem and the solution doesn't work for me. @hanjr92

hanjr92 commented 1 year ago

please list you environments: windows or ubuntu, python version ,..... I have test on (1. window 10 , pycharm , python 3.7; 2. ubuntu 20, python 3.7). Maybe the vgg19.npy was not downloaded correctly. I will upload a copy to google drive. @husterwang you can download here https://drive.google.com/file/d/1CLw6Cn3yNI1N15HyX99_Zy9QnDcgP3q7/view?usp=sharing

husterwang commented 1 year ago

Yes, the problem is that the vgg19.npy was not downloaded correctly. Thanks a lot. Sorry to interrupt you. Another question: how to take my own low-resolution images as input? What could we modify the code?

------------------ 原始邮件 ------------------ 发件人: "tensorlayer/srgan" @.>; 发送时间: 2022年7月27日(星期三) 下午5:08 @.>; @.**@.>; 主题: Re: [tensorlayer/srgan] _pickle.UnpicklingError: Failed to interpret file 'model\vgg19.npy' as a pickle (Issue #247)

please list you environments: windows or ubuntu, python version ,..... I have test on (1. window 10 , pycharm , python 3.7; 2. ubuntu 20, python 3.7). Maybe the vgg19.npy was not downloaded correctly. I will upload a copy to google drive. @husterwang

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>