mirror of
https://github.com/TencentARC/GFPGAN.git
synced 2026-04-25 15:20:58 +00:00
SSL: CERTIFICATE_VERIFY_FAILED #371
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 @mohican521 on GitHub (Jul 12, 2023).
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain (_ssl.c:1131)>
@INKXXXXYY commented on GitHub (Sep 26, 2023):
metooooo QAQ
@wanyouyu commented on GitHub (Nov 13, 2023):
Add “ssl._create_default_https_context = ssl._create_unverified_context” on line 15 of this file “inference_gfpgan.py”
@cbram commented on GitHub (Feb 19, 2024):
Well, that gives me back: "NameError: name 'ssl' is not defined"
@Brown000 commented on GitHub (Apr 9, 2024):
Well, you just need to add "import ssl" at head of the file "inference_gfpgan.py"