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

unexpected key(s) in state_dict: "params" #110

Open
Esprovas opened this issue Sep 18, 2020 · 2 comments
Open

unexpected key(s) in state_dict: "params" #110

Esprovas opened this issue Sep 18, 2020 · 2 comments

Comments

@Esprovas
Copy link

Hi Xinntao,
I tried to run the test.py but I get this error.. tried old models also the new and the same thing..
I am using Pytorch, Anaconda3 and has last CUDA installed all latest versions..

Error picture:
https://puu.sh/Gu8HF/a83bd8daf9.png

@Esprovas
Copy link
Author

@Esprovas Esprovas changed the title unexpected key(s) in state_dict: "parms" unexpected key(s) in state_dict: "params" Sep 19, 2020
@xinntao
Copy link
Owner

xinntao commented Sep 26, 2020

Hi @Esprovas
Sorry for the late reply,

If you use this ESRGAN repo, you need to download from https://drive.google.com/drive/u/0/folders/17VYV_SoZZesU6mbxz2dMAIccSSlqLecY

I think the RRDB_ESRGAN_x4.pth model should be OK.

(For pretrained models with 'params' are the latest models for BasicSR repo).

Sorry for the incompatible issues.

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