Hi,
When I download benchmark EM or FHO using "python -m ego4d.cli.cli --output_directory="I:/Ego4D dataset/ego4d_data" --datasets clips --benchmarks FHO",
I keep getting the error:
"datasets: ['clips']
Download Path: I:\Ego4D dataset\ego4d_data\v1
Ego4D Metadata: I:\Ego4D dataset\ego4d_data\ego4d.json
Checking requested datasets and versions...
Created download directory for version: 'v1' of dataset: 'clips' at:
I:\Ego4D dataset\ego4d_data\v1\clips
Filtering by benchmarks: ['fho']
Retrieving object metadata from S3...
100%|█████████████████████████████████████████████████████████████████████████| 1723/1723 [00:02<00:00, 733.31object/s]
Checking if latest file versions are already downloaded...
0%| | 1/1723 [01:33<44:57:28, 93.99s/file]
WARNING:urllib3.connectionpool:Connection pool is full, discarding connection: ego4d-unict.s3.eu-central-1.amazonaws.com
WARNING:urllib3.connectionpool:Connection pool is full, discarding connection: ego4d-unict.s3.eu-central-1.amazonaws.com
WARNING:urllib3.connectionpool:Connection pool is full, discarding connection: ego4d-unict.s3.eu-central-1.amazonaws.com
WARNING:urllib3.connectionpool:Connection pool is full, discarding connection: ego4d-unict.s3.eu-central-1.amazonaws.com
WARNING:urllib3.connectionpool:Connection pool is full, discarding connection: ego4d-unict.s3.eu-central-1.amazonaws.com
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\site-packages\urllib3\connection.py", line 159, in _new_conn
conn = connection.create_connection(
File "C:\ProgramData\Anaconda3\lib\site-packages\urllib3\util\connection.py", line 84, in create_connection
raise err
File "C:\ProgramData\Anaconda3\lib\site-packages\urllib3\util\connection.py", line 74, in create_connection
sock.connect(sa)
TimeoutError: [WinError 10060] 由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\site-packages\botocore\httpsession.py", line 443, in send
urllib_response = conn.urlopen(
File "C:\ProgramData\Anaconda3\lib\site-packages\urllib3\connectionpool.py", line 724, in urlopen
retries = retries.increment(
File "C:\ProgramData\Anaconda3\lib\site-packages\urllib3\util\retry.py", line 379, in increment
raise six.reraise(type(error), error, _stacktrace)
File "C:\ProgramData\Anaconda3\lib\site-packages\urllib3\packages\six.py", line 735, in reraise
raise value
File "C:\ProgramData\Anaconda3\lib\site-packages\urllib3\connectionpool.py", line 670, in urlopen
httplib_response = self._make_request(
File "C:\ProgramData\Anaconda3\lib\site-packages\urllib3\connectionpool.py", line 381, in _make_request
self._validate_conn(conn)
File "C:\ProgramData\Anaconda3\lib\site-packages\urllib3\connectionpool.py", line 976, in _validate_conn
conn.connect()
File "C:\ProgramData\Anaconda3\lib\site-packages\urllib3\connection.py", line 308, in connect
conn = self._new_conn()
File "C:\ProgramData\Anaconda3\lib\site-packages\urllib3\connection.py", line 171, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <botocore.awsrequest.AWSHTTPSConnection object at 0x000001C2D8468E50>: Failed to establish a new connection: [WinError 10060] 由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\ProgramData\Anaconda3\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "C:\ProgramData\Anaconda3\lib\site-packages\ego4d\cli\cli.py", line 220, in
main(config)
File "C:\ProgramData\Anaconda3\lib\site-packages\ego4d\cli\cli.py", line 136, in main
active_downloads = filter_already_downloaded(
File "C:\ProgramData\Anaconda3\lib\site-packages\ego4d\cli\download.py", line 241, in filter_already_downloaded
to_download = list(
File "C:\ProgramData\Anaconda3\lib\site-packages\tqdm\std.py", line 1129, in iter
for obj in iterable:
File "C:\ProgramData\Anaconda3\lib\concurrent\futures_base.py", line 611, in result_iterator
yield fs.pop().result()
File "C:\ProgramData\Anaconda3\lib\concurrent\futures_base.py", line 439, in result
return self.__get_result()
File "C:\ProgramData\Anaconda3\lib\concurrent\futures_base.py", line 388, in __get_result
raise self._exception
File "C:\ProgramData\Anaconda3\lib\concurrent\futures\thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "C:\ProgramData\Anaconda3\lib\site-packages\ego4d\cli\download.py", line 244, in
lambda x: x.s3_object and not already_downloaded(x) and x.s3_exists,
File "C:\ProgramData\Anaconda3\lib\site-packages\ego4d\cli\download.py", line 193, in already_downloaded
download.s3_exists = download.exists()
File "C:\ProgramData\Anaconda3\lib\site-packages\ego4d\cli\download.py", line 65, in exists
self.s3_object.load()
File "C:\ProgramData\Anaconda3\lib\site-packages\boto3\resources\factory.py", line 564, in do_action
response = action(self, *args, **kwargs)
File "C:\ProgramData\Anaconda3\lib\site-packages\boto3\resources\action.py", line 88, in call
response = getattr(parent.meta.client, operation_name)(*args, **params)
File "C:\ProgramData\Anaconda3\lib\site-packages\botocore\client.py", line 508, in _api_call
return self._make_api_call(operation_name, kwargs)
File "C:\ProgramData\Anaconda3\lib\site-packages\botocore\client.py", line 894, in _make_api_call
http, parsed_response = self._make_request(
File "C:\ProgramData\Anaconda3\lib\site-packages\botocore\client.py", line 917, in _make_request
return self._endpoint.make_request(operation_model, request_dict)
File "C:\ProgramData\Anaconda3\lib\site-packages\botocore\endpoint.py", line 116, in make_request
return self._send_request(request_dict, operation_model)
File "C:\ProgramData\Anaconda3\lib\site-packages\botocore\endpoint.py", line 199, in _send_request
while self._needs_retry(
File "C:\ProgramData\Anaconda3\lib\site-packages\botocore\endpoint.py", line 351, in _needs_retry
responses = self._event_emitter.emit(
File "C:\ProgramData\Anaconda3\lib\site-packages\botocore\hooks.py", line 412, in emit
return self._emitter.emit(aliased_event_name, **kwargs)
File "C:\ProgramData\Anaconda3\lib\site-packages\botocore\hooks.py", line 256, in emit
return self._emit(event_name, kwargs)
File "C:\ProgramData\Anaconda3\lib\site-packages\botocore\hooks.py", line 239, in _emit
response = handler(**kwargs)
File "C:\ProgramData\Anaconda3\lib\site-packages\botocore\utils.py", line 1579, in redirect_from_error
new_region = self.get_bucket_region(bucket, response)
File "C:\ProgramData\Anaconda3\lib\site-packages\botocore\utils.py", line 1638, in get_bucket_region
response = self._client.head_bucket(Bucket=bucket)
File "C:\ProgramData\Anaconda3\lib\site-packages\botocore\client.py", line 508, in _api_call
return self._make_api_call(operation_name, kwargs)
File "C:\ProgramData\Anaconda3\lib\site-packages\botocore\client.py", line 894, in _make_api_call
http, parsed_response = self._make_request(
File "C:\ProgramData\Anaconda3\lib\site-packages\botocore\client.py", line 917, in _make_request
return self._endpoint.make_request(operation_model, request_dict)
File "C:\ProgramData\Anaconda3\lib\site-packages\botocore\endpoint.py", line 116, in make_request
return self._send_request(request_dict, operation_model)
File "C:\ProgramData\Anaconda3\lib\site-packages\botocore\endpoint.py", line 199, in _send_request
while self._needs_retry(
File "C:\ProgramData\Anaconda3\lib\site-packages\botocore\endpoint.py", line 351, in _needs_retry
responses = self._event_emitter.emit(
File "C:\ProgramData\Anaconda3\lib\site-packages\botocore\hooks.py", line 412, in emit
return self._emitter.emit(aliased_event_name, **kwargs)
File "C:\ProgramData\Anaconda3\lib\site-packages\botocore\hooks.py", line 256, in emit
return self._emit(event_name, kwargs)
File "C:\ProgramData\Anaconda3\lib\site-packages\botocore\hooks.py", line 239, in _emit
response = handler(**kwargs)
File "C:\ProgramData\Anaconda3\lib\site-packages\botocore\retryhandler.py", line 207, in call
if self._checker(**checker_kwargs):
File "C:\ProgramData\Anaconda3\lib\site-packages\botocore\retryhandler.py", line 284, in call
should_retry = self._should_retry(
File "C:\ProgramData\Anaconda3\lib\site-packages\botocore\retryhandler.py", line 320, in _should_retry
return self._checker(attempt_number, response, caught_exception)
File "C:\ProgramData\Anaconda3\lib\site-packages\botocore\retryhandler.py", line 363, in call
checker_response = checker(
File "C:\ProgramData\Anaconda3\lib\site-packages\botocore\retryhandler.py", line 247, in call
return self._check_caught_exception(
File "C:\ProgramData\Anaconda3\lib\site-packages\botocore\retryhandler.py", line 416, in _check_caught_exception
raise caught_exception
File "C:\ProgramData\Anaconda3\lib\site-packages\botocore\endpoint.py", line 278, in _do_get_response
http_response = self._send(request)
File "C:\ProgramData\Anaconda3\lib\site-packages\botocore\endpoint.py", line 374, in _send
return self.http_session.send(request)
File "C:\ProgramData\Anaconda3\lib\site-packages\botocore\httpsession.py", line 472, in send
raise EndpointConnectionError(endpoint_url=request.url, error=e)
botocore.exceptions.EndpointConnectionError: Could not connect to the endpoint URL: "https://ego4d-unict.s3.eu-central-1.amazonaws.com/"
But I can download benchmark AV successfully.
Has anyone else received the problem? How can I solve this problem?
Thank you so much!