-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Errror #235
Comments
You need to install certificates. Check this guide here for some clues. |
Since we haven't heard from the poster in a half year I'm going to assume that they either solved their problem or moved on to other things. Feel free to re-open the issue or create a new one if there is anything pointing to the existence of a bug in Avatarify |
I ran the python version fine on my WIn10 Rtx 2060 card but since upgrading to RTX 3070TI I have uninstalled all known avatarify and avatarify-python folders and ran the tutorial's commans and what I'm getting is similar to the OP above. Any idea what I may need to do? I saw things were updated to be compatible with 30XX series cards Sorry if this one is a necro O_o.. During handling of the above exception, another exception occurred: Traceback (most recent call last): Win 10 Rtx 3070TI -- |
Sounds like it's trying to Downloading: "https://www.adrianbulat.com/downloads/python-fan/s3fd-619a316812.pth" to C:\Users\Zarkl/.cache\torch\hub\checkpoints\s3fd-619a316812.pth But the server that it's downloading from has an expired certificate. You could try manually downloading that file to that exact location on your harddrive and see if it helps. |
Thanks so much your suggestion helped!! This means so much to me ;D It seemed that doing that first file didnt help but the 2nd one that was also giving an error made everything work smoothly. |
please how did you solve this issue , i am running avatarify-python-youtube and i am getting this issue |
I had the same issue, but I finally got it fixed through an unconventional method... though it works now it runs at 1FPS which is slow |
For those of you still having issues installing this app, view my post on it through this link: #484 (comment) |
(base) C:\Users\thepc\avatarify> run_windows.bat
[1593366601.652137] Loading Predictor
C:\Users\thepc\avatarify\afy\predictor_local.py:34: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
config = yaml.load(f)
Downloading the face detection CNN. Please wait...
Traceback (most recent call last):
File "C:\Users\thepc\miniconda3\envs\avatarify\lib\urllib\request.py", line 1319, in do_open
encode_chunked=req.has_header('Transfer-encoding'))
File "C:\Users\thepc\miniconda3\envs\avatarify\lib\http\client.py", line 1252, in request
self._send_request(method, url, body, headers, encode_chunked)
File "C:\Users\thepc\miniconda3\envs\avatarify\lib\http\client.py", line 1298, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "C:\Users\thepc\miniconda3\envs\avatarify\lib\http\client.py", line 1247, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "C:\Users\thepc\miniconda3\envs\avatarify\lib\http\client.py", line 1026, in _send_output
self.send(msg)
File "C:\Users\thepc\miniconda3\envs\avatarify\lib\http\client.py", line 966, in send
self.connect()
File "C:\Users\thepc\miniconda3\envs\avatarify\lib\http\client.py", line 1422, in connect
server_hostname=server_hostname)
File "C:\Users\thepc\miniconda3\envs\avatarify\lib\ssl.py", line 423, in wrap_socket
session=session
File "C:\Users\thepc\miniconda3\envs\avatarify\lib\ssl.py", line 870, in _create
self.do_handshake()
File "C:\Users\thepc\miniconda3\envs\avatarify\lib\ssl.py", line 1139, in do_handshake
self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1076)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "afy/cam_fomm.py", line 195, in
**predictor_args
File "C:\Users\thepc\avatarify\afy\predictor_local.py", line 27, in init
self.fa = face_alignment.FaceAlignment(face_alignment.LandmarksType._2D, flip_input=True, device=self.device)
File "C:\Users\thepc\miniconda3\envs\avatarify\lib\site-packages\face_alignment\api.py", line 66, in init
self.face_detector = face_detector_module.FaceDetector(device=device, verbose=verbose)
File "C:\Users\thepc\miniconda3\envs\avatarify\lib\site-packages\face_alignment\detection\sfd\sfd_detector.py", line 39, in init
os.path.join(path_to_temp_detector))
File "C:\Users\thepc\miniconda3\envs\avatarify\lib\urllib\request.py", line 247, in urlretrieve
with contextlib.closing(urlopen(url, data)) as fp:
File "C:\Users\thepc\miniconda3\envs\avatarify\lib\urllib\request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "C:\Users\thepc\miniconda3\envs\avatarify\lib\urllib\request.py", line 525, in open
response = self._open(req, data)
File "C:\Users\thepc\miniconda3\envs\avatarify\lib\urllib\request.py", line 543, in _open
'_open', req)
File "C:\Users\thepc\miniconda3\envs\avatarify\lib\urllib\request.py", line 503, in _call_chain
result = func(*args)
File "C:\Users\thepc\miniconda3\envs\avatarify\lib\urllib\request.py", line 1362, in https_open
context=self._context, check_hostname=self._check_hostname)
File "C:\Users\thepc\miniconda3\envs\avatarify\lib\urllib\request.py", line 1321, 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:1076)>
(avatarify) C:\Users\thepc\avatarify>
;//
The text was updated successfully, but these errors were encountered: