mirror of
https://github.com/TencentARC/GFPGAN.git
synced 2026-02-14 21:34:32 +00:00
RuntimeError: "reflection_pad2d" not implemented for 'Half' #77
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 @abdirk01 on GitHub (Sep 20, 2021).
Hi, I just want to try this out. Without CODA it is running fine, but as soon as I use it with CODA I get the following error:
It's on a Windows 10 Laptop.
Thanks for your help!
Dirk
@xinntao commented on GitHub (Sep 21, 2021):
Try to set
half=Falsef6d3f70646/inference_gfpgan.py (L46-L49)@abdirk01 commented on GitHub (Sep 21, 2021):
Now it's working! Thank you very much! I do see a picture in the results folder. The faces are looking great, the rest of the b/w picture does not look very much changed though...
@xinntao commented on GitHub (Sep 23, 2021):
@abdirk01 Thanks for your feedback.
The b/w uses a mild restoration model.
You can try Real-ESRGAN to try a better model for background, which also supports face enhancement.