mirror of
https://github.com/TencentARC/GFPGAN.git
synced 2026-02-04 08:14:41 +00:00
RealESRGAN not working #268
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 @hamedred on GitHub (Oct 9, 2022).
hey i have a problem with this part of program that works on background, its giving me error about working slow on CPU (inference_gfpgan.py:63: UserWarning: The unoptimized RealESRGAN is slow on CPU. We do not use it. If you really want to use it, please modify the corresponding codes. warnings.warn('The unoptimized RealESRGAN is slow on CPU. We do not use it.') and in end result it doesn't do anything on images background. if anyone know any solution for this problem that would be great thanks in advance.
@Oleh0374 commented on GitHub (Oct 16, 2022):
Hello.
Also, there is two problems:
"File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/urllib/request.py", line 1345, in do_open raise URLError(err)urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1122)>"
@Erickesau commented on GitHub (Dec 23, 2022):
Hamadred
I have a fork with that problem Solved AND Also i added GUI interface.
https://github.com/Erickesau/GFPGAN
I just modified some línes in inference_gfpgan.py and saved as module_gfpgan.py AND added Gui.py
You can fix this repo just change líne 61
if not torch.cuda.is_available():
To
if False:
and also in líne 77 change
half=True
To
half=False
To make it work in CPU check my repo i have More projets.
@feng-haitao commented on GitHub (Jul 5, 2024):
It works. Thanks.