Not able to download faceforensics dataset
Parag0506 opened this issue · 0 comments
Parag0506 commented
I requested access from Faceforensics and downloaded the script. Loaded it in the folder and ran:
bash restructure_data.sh faceforensics_download.py
The command seems to correctly download youtube data set but gives following error for Faceforensics part:
Downloading videos of dataset "original_sequences/youtube"
Traceback (most recent call last):
File "/home/parag/anaconda3/envs/Deepfake/lib/python3.6/urllib/request.py", line 1318, in do_open
encode_chunked=req.has_header('Transfer-encoding'))
File "/home/parag/anaconda3/envs/Deepfake/lib/python3.6/http/client.py", line 1262, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/home/parag/anaconda3/envs/Deepfake/lib/python3.6/http/client.py", line 1308, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/home/parag/anaconda3/envs/Deepfake/lib/python3.6/http/client.py", line 1257, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/home/parag/anaconda3/envs/Deepfake/lib/python3.6/http/client.py", line 1036, in _send_output
self.send(msg)
File "/home/parag/anaconda3/envs/Deepfake/lib/python3.6/http/client.py", line 974, in send
self.connect()
File "/home/parag/anaconda3/envs/Deepfake/lib/python3.6/http/client.py", line 946, in connect
(self.host,self.port), self.timeout, self.source_address)
File "/home/parag/anaconda3/envs/Deepfake/lib/python3.6/socket.py", line 724, in create_connection
raise err
File "/home/parag/anaconda3/envs/Deepfake/lib/python3.6/socket.py", line 713, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "faceforensics_download.py", line 258, in <module>
main(args)
File "faceforensics_download.py", line 189, in main
FILELIST_URL).read().decode("utf-8"))
File "/home/parag/anaconda3/envs/Deepfake/lib/python3.6/urllib/request.py", line 223, in urlopen
return opener.open(url, data, timeout)
File "/home/parag/anaconda3/envs/Deepfake/lib/python3.6/urllib/request.py", line 526, in open
response = self._open(req, data)
File "/home/parag/anaconda3/envs/Deepfake/lib/python3.6/urllib/request.py", line 544, in _open
'_open', req)
File "/home/parag/anaconda3/envs/Deepfake/lib/python3.6/urllib/request.py", line 504, in _call_chain
result = func(*args)
File "/home/parag/anaconda3/envs/Deepfake/lib/python3.6/urllib/request.py", line 1346, in http_open
return self.do_open(http.client.HTTPConnection, req)
File "/home/parag/anaconda3/envs/Deepfake/lib/python3.6/urllib/request.py", line 1320, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [Errno 111] Connection refused>
By pressing any key to continue you confirm that you have agreed to the FaceForensics terms of use as described at:
http://falas.cmpt.sfu.ca:8100/webpage/FaceForensics_TOS.pdf