CyberAgentAILab/TANGO

helpme,come from china 。I got an error when I clicked "Generate Video" on the page of 127.0.0.1:7860. Has anyone else encountered this situation? http://127.0.0.1:7860/

Opened this issue · 2 comments

I got an error when I clicked "Generate Video" on the page of 127.0.0.1:7860. Has anyone else encountered this situation? http://127.0.0.1:7860/

Running on local URL: http://127.0.0.1:7860
Running on public URL: https://29f7bf7dc93d819dc0.gradio.live

This share link expires in 72 hours. For free permanent hosting and GPU upgrades, run gradio deploy from Terminal to deploy to Spaces (https://huggingface.co/spaces)
D:\Project\python\tango\TANGO-main\datasets/data_json/youtube_test/speaker1.json
Traceback (most recent call last):
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\urllib3\connectionpool.py", line 466, in _make_request
self._validate_conn(conn)
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\urllib3\connectionpool.py", line 1095, in _validate_conn
conn.connect()
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\urllib3\connection.py", line 730, in connect
sock_and_verified = _ssl_wrap_socket_and_match_hostname(
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\urllib3\connection.py", line 909, in ssl_wrap_socket_and_match_hostname
ssl_sock = ssl_wrap_socket(
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\urllib3\util\ssl
.py", line 469, in ssl_wrap_socket
ssl_sock = ssl_wrap_socket_impl(sock, context, tls_in_tls, server_hostname)
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\urllib3\util\ssl
.py", line 513, in _ssl_wrap_socket_impl
return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
File "C:\Users\Ysnick.conda\envs\tango\lib\ssl.py", line 501, in wrap_socket
return self.sslsocket_class._create(
File "C:\Users\Ysnick.conda\envs\tango\lib\ssl.py", line 1074, in _create
self.do_handshake()
File "C:\Users\Ysnick.conda\envs\tango\lib\ssl.py", line 1343, in do_handshake
self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1147)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\urllib3\connectionpool.py", line 789, in urlopen
response = self._make_request(
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\urllib3\connectionpool.py", line 490, in _make_request
raise new_e
urllib3.exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1147)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\requests\adapters.py", line 667, in send
resp = conn.urlopen(
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\urllib3\connectionpool.py", line 843, in urlopen
retries = retries.increment(
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\urllib3\util\retry.py", line 519, in increment
raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /facebook/wav2vec2-base-960h/resolve/main/preprocessor_config.json (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1147)')))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\transformers\models\wav2vec2\processing_wav2vec2.py", line 51, in from_pretrained
return super().from_pretrained(pretrained_model_name_or_path, **kwargs)
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\transformers\processing_utils.py", line 184, in from_pretrained
args = cls._get_arguments_from_pretrained(pretrained_model_name_or_path, **kwargs)
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\transformers\processing_utils.py", line 228, in _get_arguments_from_pretrained
args.append(attribute_class.from_pretrained(pretrained_model_name_or_path, **kwargs))
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\transformers\feature_extraction_utils.py", line 338, in from_pretrained
feature_extractor_dict, kwargs = cls.get_feature_extractor_dict(pretrained_model_name_or_path, **kwargs)
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\transformers\feature_extraction_utils.py", line 438, in get_feature_extractor_dict
resolved_feature_extractor_file = cached_file(
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\transformers\utils\hub.py", line 417, in cached_file
resolved_file = hf_hub_download(
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\huggingface_hub\utils_validators.py", line 114, in _inner_fn
return fn(*args, **kwargs)
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\huggingface_hub\file_download.py", line 862, in hf_hub_download
return _hf_hub_download_to_cache_dir(
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\huggingface_hub\file_download.py", line 925, in _hf_hub_download_to_cache_dir
(url_to_download, etag, commit_hash, expected_size, head_call_error) = _get_metadata_or_catch_error(
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\huggingface_hub\file_download.py", line 1376, in _get_metadata_or_catch_error
metadata = get_hf_file_metadata(
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\huggingface_hub\utils_validators.py", line 114, in _inner_fn
return fn(*args, **kwargs)
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\huggingface_hub\file_download.py", line 1296, in get_hf_file_metadata
r = _request_wrapper(
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\huggingface_hub\file_download.py", line 277, in _request_wrapper
response = _request_wrapper(
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\huggingface_hub\file_download.py", line 300, in _request_wrapper
response = get_session().request(method=method, url=url, **params)
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\requests\sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\requests\sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\huggingface_hub\utils_http.py", line 93, in send
return super().send(request, *args, **kwargs)
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\requests\adapters.py", line 698, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: (MaxRetryError("HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /facebook/wav2vec2-base-960h/resolve/main/preprocessor_config.json (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1147)')))"), '(Request ID: bfce30cf-9dbc-4ed3-8111-a2cb601e242a)')

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\urllib3\connectionpool.py", line 466, in _make_request
self._validate_conn(conn)
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\urllib3\connectionpool.py", line 1095, in _validate_conn
conn.connect()
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\urllib3\connection.py", line 730, in connect
sock_and_verified = _ssl_wrap_socket_and_match_hostname(
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\urllib3\connection.py", line 909, in ssl_wrap_socket_and_match_hostname
ssl_sock = ssl_wrap_socket(
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\urllib3\util\ssl
.py", line 469, in ssl_wrap_socket
ssl_sock = ssl_wrap_socket_impl(sock, context, tls_in_tls, server_hostname)
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\urllib3\util\ssl
.py", line 513, in _ssl_wrap_socket_impl
return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
File "C:\Users\Ysnick.conda\envs\tango\lib\ssl.py", line 501, in wrap_socket
return self.sslsocket_class._create(
File "C:\Users\Ysnick.conda\envs\tango\lib\ssl.py", line 1074, in _create
self.do_handshake()
File "C:\Users\Ysnick.conda\envs\tango\lib\ssl.py", line 1343, in do_handshake
self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1147)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\urllib3\connectionpool.py", line 789, in urlopen
response = self._make_request(
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\urllib3\connectionpool.py", line 490, in _make_request
raise new_e
urllib3.exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1147)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\requests\adapters.py", line 667, in send
resp = conn.urlopen(
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\urllib3\connectionpool.py", line 843, in urlopen
retries = retries.increment(
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\urllib3\util\retry.py", line 519, in increment
raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /facebook/wav2vec2-base-960h/resolve/main/preprocessor_config.json (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1147)')))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\gradio\queueing.py", line 536, in process_events
response = await route_utils.call_process_api(
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\gradio\route_utils.py", line 322, in call_process_api
output = await app.get_blocks().process_api(
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\gradio\blocks.py", line 1935, in process_api
result = await self.call_function(
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\gradio\blocks.py", line 1520, in call_function
prediction = await anyio.to_thread.run_sync( # type: ignore
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\anyio\to_thread.py", line 56, in run_sync
return await get_async_backend().run_sync_in_worker_thread(
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\anyio_backends_asyncio.py", line 2441, in run_sync_in_worker_thread
return await future
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\anyio_backends_asyncio.py", line 943, in run
result = context.run(func, *args)
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\gradio\utils.py", line 826, in wrapper
response = f(*args, **kwargs)
File "D:\Project\python\tango\TANGO-main\app.py", line 599, in tango
model = init_class(cfg.model.name_pyfile, cfg.model.class_name, cfg)
File "D:\Project\python\tango\TANGO-main\app.py", line 452, in init_class
instance = model_class(config, **kwargs)
File "D:\Project\python\tango\TANGO-main\models\jointembedding_high_env0.py", line 270, in init
self.audio_processor = Wav2Vec2Processor.from_pretrained("facebook/wav2vec2-base-960h")
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\transformers\models\wav2vec2\processing_wav2vec2.py", line 62, in from_pretrained
feature_extractor = Wav2Vec2FeatureExtractor.from_pretrained(pretrained_model_name_or_path, **kwargs)
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\transformers\feature_extraction_utils.py", line 338, in from_pretrained
feature_extractor_dict, kwargs = cls.get_feature_extractor_dict(pretrained_model_name_or_path, **kwargs)
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\transformers\feature_extraction_utils.py", line 438, in get_feature_extractor_dict
resolved_feature_extractor_file = cached_file(
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\transformers\utils\hub.py", line 417, in cached_file
resolved_file = hf_hub_download(
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\huggingface_hub\utils_validators.py", line 114, in _inner_fn
return fn(*args, **kwargs)
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\huggingface_hub\file_download.py", line 862, in hf_hub_download
return _hf_hub_download_to_cache_dir(
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\huggingface_hub\file_download.py", line 925, in _hf_hub_download_to_cache_dir
(url_to_download, etag, commit_hash, expected_size, head_call_error) = _get_metadata_or_catch_error(
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\huggingface_hub\file_download.py", line 1376, in _get_metadata_or_catch_error
metadata = get_hf_file_metadata(
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\huggingface_hub\utils_validators.py", line 114, in _inner_fn
return fn(*args, **kwargs)
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\huggingface_hub\file_download.py", line 1296, in get_hf_file_metadata
r = _request_wrapper(
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\huggingface_hub\file_download.py", line 277, in _request_wrapper
response = _request_wrapper(
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\huggingface_hub\file_download.py", line 300, in _request_wrapper
response = get_session().request(method=method, url=url, **params)
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\requests\sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\requests\sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\huggingface_hub\utils_http.py", line 93, in send
return super().send(request, *args, **kwargs)
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\requests\adapters.py", line 698, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: (MaxRetryError("HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /facebook/wav2vec2-base-960h/resolve/main/preprocessor_config.json (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1147)')))"), '(Request ID: 1b605f5a-c41c-454a-a081-8601f5b97a21)')
D:\Project\python\tango\TANGO-main\datasets/data_json/youtube_test/speaker1.json
Traceback (most recent call last):
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\urllib3\connectionpool.py", line 466, in _make_request
self._validate_conn(conn)
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\urllib3\connectionpool.py", line 1095, in _validate_conn
conn.connect()
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\urllib3\connection.py", line 730, in connect
sock_and_verified = _ssl_wrap_socket_and_match_hostname(
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\urllib3\connection.py", line 909, in ssl_wrap_socket_and_match_hostname
ssl_sock = ssl_wrap_socket(
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\urllib3\util\ssl
.py", line 469, in ssl_wrap_socket
ssl_sock = ssl_wrap_socket_impl(sock, context, tls_in_tls, server_hostname)
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\urllib3\util\ssl
.py", line 513, in _ssl_wrap_socket_impl
return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
File "C:\Users\Ysnick.conda\envs\tango\lib\ssl.py", line 501, in wrap_socket
return self.sslsocket_class._create(
File "C:\Users\Ysnick.conda\envs\tango\lib\ssl.py", line 1074, in _create
self.do_handshake()
File "C:\Users\Ysnick.conda\envs\tango\lib\ssl.py", line 1343, in do_handshake
self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1147)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\urllib3\connectionpool.py", line 789, in urlopen
response = self._make_request(
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\urllib3\connectionpool.py", line 490, in _make_request
raise new_e
urllib3.exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1147)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\requests\adapters.py", line 667, in send
resp = conn.urlopen(
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\urllib3\connectionpool.py", line 843, in urlopen
retries = retries.increment(
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\urllib3\util\retry.py", line 519, in increment
raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /facebook/wav2vec2-base-960h/resolve/main/preprocessor_config.json (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1147)')))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\transformers\models\wav2vec2\processing_wav2vec2.py", line 51, in from_pretrained
return super().from_pretrained(pretrained_model_name_or_path, **kwargs)
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\transformers\processing_utils.py", line 184, in from_pretrained
args = cls._get_arguments_from_pretrained(pretrained_model_name_or_path, **kwargs)
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\transformers\processing_utils.py", line 228, in _get_arguments_from_pretrained
args.append(attribute_class.from_pretrained(pretrained_model_name_or_path, **kwargs))
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\transformers\feature_extraction_utils.py", line 338, in from_pretrained
feature_extractor_dict, kwargs = cls.get_feature_extractor_dict(pretrained_model_name_or_path, **kwargs)
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\transformers\feature_extraction_utils.py", line 438, in get_feature_extractor_dict
resolved_feature_extractor_file = cached_file(
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\transformers\utils\hub.py", line 417, in cached_file
resolved_file = hf_hub_download(
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\huggingface_hub\utils_validators.py", line 114, in _inner_fn
return fn(*args, **kwargs)
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\huggingface_hub\file_download.py", line 862, in hf_hub_download
return _hf_hub_download_to_cache_dir(
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\huggingface_hub\file_download.py", line 925, in _hf_hub_download_to_cache_dir
(url_to_download, etag, commit_hash, expected_size, head_call_error) = _get_metadata_or_catch_error(
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\huggingface_hub\file_download.py", line 1376, in _get_metadata_or_catch_error
metadata = get_hf_file_metadata(
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\huggingface_hub\utils_validators.py", line 114, in _inner_fn
return fn(*args, **kwargs)
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\huggingface_hub\file_download.py", line 1296, in get_hf_file_metadata
r = _request_wrapper(
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\huggingface_hub\file_download.py", line 277, in _request_wrapper
response = _request_wrapper(
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\huggingface_hub\file_download.py", line 300, in _request_wrapper
response = get_session().request(method=method, url=url, **params)
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\requests\sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\requests\sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\huggingface_hub\utils_http.py", line 93, in send
return super().send(request, *args, **kwargs)
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\requests\adapters.py", line 698, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: (MaxRetryError("HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /facebook/wav2vec2-base-960h/resolve/main/preprocessor_config.json (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1147)')))"), '(Request ID: 2ccea951-8416-443b-862d-2d18f9be849c)')

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\urllib3\connectionpool.py", line 466, in _make_request
self._validate_conn(conn)
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\urllib3\connectionpool.py", line 1095, in _validate_conn
conn.connect()
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\urllib3\connection.py", line 730, in connect
sock_and_verified = _ssl_wrap_socket_and_match_hostname(
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\urllib3\connection.py", line 909, in ssl_wrap_socket_and_match_hostname
ssl_sock = ssl_wrap_socket(
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\urllib3\util\ssl
.py", line 469, in ssl_wrap_socket
ssl_sock = ssl_wrap_socket_impl(sock, context, tls_in_tls, server_hostname)
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\urllib3\util\ssl
.py", line 513, in _ssl_wrap_socket_impl
return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
File "C:\Users\Ysnick.conda\envs\tango\lib\ssl.py", line 501, in wrap_socket
return self.sslsocket_class._create(
File "C:\Users\Ysnick.conda\envs\tango\lib\ssl.py", line 1074, in _create
self.do_handshake()
File "C:\Users\Ysnick.conda\envs\tango\lib\ssl.py", line 1343, in do_handshake
self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1147)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\urllib3\connectionpool.py", line 789, in urlopen
response = self._make_request(
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\urllib3\connectionpool.py", line 490, in _make_request
raise new_e
urllib3.exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1147)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\requests\adapters.py", line 667, in send
resp = conn.urlopen(
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\urllib3\connectionpool.py", line 843, in urlopen
retries = retries.increment(
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\urllib3\util\retry.py", line 519, in increment
raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /facebook/wav2vec2-base-960h/resolve/main/preprocessor_config.json (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1147)')))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\gradio\queueing.py", line 536, in process_events
response = await route_utils.call_process_api(
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\gradio\route_utils.py", line 322, in call_process_api
output = await app.get_blocks().process_api(
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\gradio\blocks.py", line 1935, in process_api
result = await self.call_function(
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\gradio\blocks.py", line 1520, in call_function
prediction = await anyio.to_thread.run_sync( # type: ignore
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\anyio\to_thread.py", line 56, in run_sync
return await get_async_backend().run_sync_in_worker_thread(
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\anyio_backends_asyncio.py", line 2441, in run_sync_in_worker_thread
return await future
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\anyio_backends_asyncio.py", line 943, in run
result = context.run(func, *args)
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\gradio\utils.py", line 826, in wrapper
response = f(*args, **kwargs)
File "D:\Project\python\tango\TANGO-main\app.py", line 599, in tango
model = init_class(cfg.model.name_pyfile, cfg.model.class_name, cfg)
File "D:\Project\python\tango\TANGO-main\app.py", line 452, in init_class
instance = model_class(config, **kwargs)
File "D:\Project\python\tango\TANGO-main\models\jointembedding_high_env0.py", line 270, in init
self.audio_processor = Wav2Vec2Processor.from_pretrained("facebook/wav2vec2-base-960h")
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\transformers\models\wav2vec2\processing_wav2vec2.py", line 62, in from_pretrained
feature_extractor = Wav2Vec2FeatureExtractor.from_pretrained(pretrained_model_name_or_path, **kwargs)
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\transformers\feature_extraction_utils.py", line 338, in from_pretrained
feature_extractor_dict, kwargs = cls.get_feature_extractor_dict(pretrained_model_name_or_path, **kwargs)
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\transformers\feature_extraction_utils.py", line 438, in get_feature_extractor_dict
resolved_feature_extractor_file = cached_file(
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\transformers\utils\hub.py", line 417, in cached_file
resolved_file = hf_hub_download(
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\huggingface_hub\utils_validators.py", line 114, in _inner_fn
return fn(*args, **kwargs)
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\huggingface_hub\file_download.py", line 862, in hf_hub_download
return _hf_hub_download_to_cache_dir(
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\huggingface_hub\file_download.py", line 925, in _hf_hub_download_to_cache_dir
(url_to_download, etag, commit_hash, expected_size, head_call_error) = _get_metadata_or_catch_error(
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\huggingface_hub\file_download.py", line 1376, in _get_metadata_or_catch_error
metadata = get_hf_file_metadata(
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\huggingface_hub\utils_validators.py", line 114, in _inner_fn
return fn(*args, **kwargs)
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\huggingface_hub\file_download.py", line 1296, in get_hf_file_metadata
r = _request_wrapper(
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\huggingface_hub\file_download.py", line 277, in _request_wrapper
response = _request_wrapper(
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\huggingface_hub\file_download.py", line 300, in _request_wrapper
response = get_session().request(method=method, url=url, **params)
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\requests\sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\requests\sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\huggingface_hub\utils_http.py", line 93, in send
return super().send(request, *args, **kwargs)
File "C:\Users\Ysnick.conda\envs\tango\lib\site-packages\requests\adapters.py", line 698, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: (MaxRetryError("HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /facebook/wav2vec2-base-960h/resolve/main/preprocessor_config.json (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1147)')))"), '(Request ID: ff9f7e00-94c6-487c-81bf-412dfb743678)')

经过1个月的摸索,目前tango已经正常跑起来了,基本上所有的坑基本上也被我采完了,以下是一些总结,和解决问题的方式。
本人电脑配置:显存16G 4060TI,内存32G。
推荐最低配置:显存16G 4060TI,内存32G。
如果只是学习:显存8-12G ,内存16G。
1 安装的问题:
1.1 依赖问题:mmcv 在项目的依赖中只提供了linux版本的,所以本地跑的朋友会报错 (解决思路:修改为window的,其他人帖子里面有解决办法。)
1.2 执行app.py 时,下载的文件过大,每次都会重复下载等问题。(解决思路:分批下载)
1.3 本地window运行的时候,因为linux和本地的文件夹路径等问题不一样,导致本地create_graph.py执行的时候报错问题。(解决思路:判断如果是window,则创建一个新的储存文件的地址)
1.4 以及本地 window中app.py执行 wav2lip中的inference.py文件时报错问题。(解决思路:linux和window命令是有区别的)
1.5 项目部署好之后只能本地访问,不能非127.0.0.1和localhost访问问题。(解决思路:改为0.0.0.0即可)
2 使用问题:
2.1 默认分辨率太低,怎么调整的问题(解决思路:太简单了,不解释了,相信你会!!!)
2.2 默认生成时间只有10秒的问题。(解决思路:太简单了,不解释了,相信你会!!!)
2.3 参考视频默认为20秒的项目问题。(解决思路:太简单了,不解释了,相信你会!!!)
2.4 生成视频的时候容易爆显存和内存的问题。(解决思路:生成的批次改为1即可)
2.5 视频可能不连贯问题。(解决思路:2个方法:方法1作者有在别人帖子说,方法2,说了你也不会改。本人用了方法1)
3 目前我本地window效果:
3.1 参考视频10S+2.5分钟音频 需要13-15分钟左右生成 .
3.2 目前效果: 参考视频10秒+5分钟音频 在我的电脑上不会爆显存和内存。(云端更不会)
3.3 生成的视频效果可以联系本人后微信发你看看。(有一定的局限性)
4 说明
4.1 仅提供安装的文档,以及代码修改的地方,仅做技术培训。(不懂随时问我,晚上一般都有时间)
4.2 不提供代码整合包!不提供代码整合包!不提供代码整合包!
4.3 可以远程帮忙,但必须是晚上或者周末(因为我和你一样白天要上班)。
4.4 完全不懂技术的,可以提供远程全套安装。
4.5 有任何疑惑可以聊完之后再付费。(单纯的了解tango项目情况,不收费!!!)
4.6 linux和window我都跑通了。(可以提供参考意见)
4.7 正常在批量生成+高清视频这部分(敬请期待!!!)
5 收费标准
5.1 388元。(可怜一下吧!我也花了好长的时间,采了各种坑,300多块钱,超值了!!!)
6 联系方式:
494456995@qq.com 可以给我发邮箱或者加我QQ。

我也是这个一样的问题,请问您解决没有