File "/workspace/user_code/swapface_pro/DiffFace/main.py", line 6, in
image_editor = ImageEditor(args)
File "/workspace/user_code/swapface_pro/DiffFace/optimization/image_editor.py", line 123, in init
self.fa = face_alignment.FaceAlignment(face_alignment.LandmarksType.TWO_D, flip_input=False)
File "/data/miniconda3/envs/DiffFace/lib/python3.9/site-packages/face_alignment/api.py", line 77, in init
self.face_detector = face_detector_module.FaceDetector(device=device, verbose=verbose, *face_detector_kwargs)
File "/data/miniconda3/envs/DiffFace/lib/python3.9/site-packages/face_alignment/detection/sfd/sfd_detector.py", line 24, in init
model_weights = load_url(models_urls['s3fd'])
File "/data/miniconda3/envs/DiffFace/lib/python3.9/site-packages/torch/hub.py", line 586, in load_state_dict_from_url
download_url_to_file(url, cached_file, hash_prefix, progress=progress)
File "/data/miniconda3/envs/DiffFace/lib/python3.9/site-packages/torch/hub.py", line 452, in download_url_to_file
u = urlopen(req)
File "/data/miniconda3/envs/DiffFace/lib/python3.9/urllib/request.py", line 214, in urlopen
return opener.open(url, data, timeout)
File "/data/miniconda3/envs/DiffFace/lib/python3.9/urllib/request.py", line 517, in open
response = self._open(req, data)
File "/data/miniconda3/envs/DiffFace/lib/python3.9/urllib/request.py", line 534, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File "/data/miniconda3/envs/DiffFace/lib/python3.9/urllib/request.py", line 494, in _call_chain
result = func(args)
File "/data/miniconda3/envs/DiffFace/lib/python3.9/urllib/request.py", line 1389, in https_open
return self.do_open(http.client.HTTPSConnection, req,
File "/data/miniconda3/envs/DiffFace/lib/python3.9/urllib/request.py", line 1349, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error Tunnel connection failed: 403 Forbidden>
hi, i have this issue,how can i resolve it
File "/workspace/user_code/swapface_pro/DiffFace/main.py", line 6, in
image_editor = ImageEditor(args)
File "/workspace/user_code/swapface_pro/DiffFace/optimization/image_editor.py", line 123, in init
self.fa = face_alignment.FaceAlignment(face_alignment.LandmarksType.TWO_D, flip_input=False)
File "/data/miniconda3/envs/DiffFace/lib/python3.9/site-packages/face_alignment/api.py", line 77, in init
self.face_detector = face_detector_module.FaceDetector(device=device, verbose=verbose, *face_detector_kwargs)
File "/data/miniconda3/envs/DiffFace/lib/python3.9/site-packages/face_alignment/detection/sfd/sfd_detector.py", line 24, in init
model_weights = load_url(models_urls['s3fd'])
File "/data/miniconda3/envs/DiffFace/lib/python3.9/site-packages/torch/hub.py", line 586, in load_state_dict_from_url
download_url_to_file(url, cached_file, hash_prefix, progress=progress)
File "/data/miniconda3/envs/DiffFace/lib/python3.9/site-packages/torch/hub.py", line 452, in download_url_to_file
u = urlopen(req)
File "/data/miniconda3/envs/DiffFace/lib/python3.9/urllib/request.py", line 214, in urlopen
return opener.open(url, data, timeout)
File "/data/miniconda3/envs/DiffFace/lib/python3.9/urllib/request.py", line 517, in open
response = self._open(req, data)
File "/data/miniconda3/envs/DiffFace/lib/python3.9/urllib/request.py", line 534, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File "/data/miniconda3/envs/DiffFace/lib/python3.9/urllib/request.py", line 494, in _call_chain
result = func(args)
File "/data/miniconda3/envs/DiffFace/lib/python3.9/urllib/request.py", line 1389, in https_open
return self.do_open(http.client.HTTPSConnection, req,
File "/data/miniconda3/envs/DiffFace/lib/python3.9/urllib/request.py", line 1349, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error Tunnel connection failed: 403 Forbidden>
hi, i have this issue,how can i resolve it