mirror of
https://github.com/TencentARC/GFPGAN.git
synced 2026-02-17 23:04:33 +00:00
'NoneType' object has no attribute 'load_state_dict' #115
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @pratikgujral on GitHub (Dec 12, 2021).
Hi,
I am running the code "as is" on Google Colab (GPU runtime). Upon executing the following line in the code
!python inference_gfpgan.py --upscale 2 --test_path inputs/upload --save_root results --model_path experiments/pretrained_models/GFPGANCleanv1-NoCE-C2.pth --bg_upsampler realesrgan, I am getting the following error:It looks like the external code for ESR GAN has changed.
How do I get around this error?
@xinntao commented on GitHub (Dec 12, 2021):
Thanks for reporting this issue. I have fixed it now. Please have a try:-)
@bochkarev-artem commented on GitHub (Dec 12, 2021):
fast response, thank you!