mirror of
https://github.com/TencentARC/GFPGAN.git
synced 2026-04-19 04:10:47 +00:00
Issue on RealESRGAn & SSL #276
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 @Oleh0374 on GitHub (Oct 16, 2022).
Hello.
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)>"
@netrunner-exe commented on GitHub (Oct 16, 2022):
The problem seems to be that in your url is missing a dash in RealESRGAN...
Correct url is:
https://github.com/xinntao/Real-ESRGAN/releases/download/v0.2.1/RealESRGAN_x2plus.pth@Oleh0374 commented on GitHub (Oct 17, 2022):
Thank you for this correction.
Another question.
In this part of code 'RealESRGANer' can't be imported from module 'realesrgan' cause can't be resolved. I tried to found this but without success. May be you have an idea?
Thanks.
@netrunner-exe commented on GitHub (Oct 17, 2022):
To be honest, I do not understand what you mean. To import RealESRGANer you need to have it either installed on your system via pip (pip install realesrgan) or roughly speaking in your project was a folder named "realesrgan" with all the necessary dependencies. I don't know what you mean by this repository or some other one of your own?
@Oleh0374 commented on GitHub (Oct 17, 2022):
Thank you! ! it was so obvious ! my mistake... I didn't see the last requirement on the readme page.
@Oleh0374 commented on GitHub (Oct 17, 2022):
Now it remains to find the solution for my second question for the SSL certificate..