CFPGAN error TypeError: argument of type 'NoneType' is not iterable #286

Open
opened 2026-01-29 21:46:30 +00:00 by claunia · 1 comment
Owner

Originally created by @StudioXV on GitHub (Nov 8, 2022).

When I try to restore faces with GFPGAN it returns this:

File "C:\GitHub\Completo\stable-diffusion-webui\venv\lib\site-packages\gfpgan\utils.py", line 93, in init
if 'params_ema' in loadnet:
TypeError: argument of type 'NoneType' is not iterable

Any idea about how to fix? thx

Originally created by @StudioXV on GitHub (Nov 8, 2022). When I try to restore faces with GFPGAN it returns this: File "C:\GitHub\Completo\stable-diffusion-webui\venv\lib\site-packages\gfpgan\utils.py", line 93, in __init__ if 'params_ema' in loadnet: TypeError: argument of type 'NoneType' is not iterable Any idea about how to fix? thx
Author
Owner

@min-star commented on GitHub (Jul 28, 2023):

hey,maybe your model is not entire,you can reload a model and put it to right folder!such as the gfpgan

@min-star commented on GitHub (Jul 28, 2023): hey,maybe your model is not entire,you can reload a model and put it to right folder!such as the gfpgan
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: TencentARC/GFPGAN#286