Skip to content
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

soundfile.LibsndfileError: Unspecified internal error. #117

Open
908030108 opened this issue Jun 10, 2024 · 0 comments
Open

soundfile.LibsndfileError: Unspecified internal error. #117

908030108 opened this issue Jun 10, 2024 · 0 comments

Comments

@908030108
Copy link

D:\jianchang512\clone-voice-v0.907\train-extract\venv\torch\cuda_init_.py:740: UserWarning: CUDA initialization: The NVIDIA driver on your system is too old (found version 11040). Please update your GPU driver by downloading and installing a new version from the URL: http://www.nvidia.com/Download/index.aspx Alternatively, go to: https://pytorch.org to install a PyTorch version that has been compiled with your version of the CUDA driver. (Triggered internally at ..\c10\cuda\CUDAFunctions.cpp:108.)
return torch._C._cuda_getDeviceCount() if nvml_count < 0 else nvml_count
proxy=''
Running on local URL: http://0.0.0.0:5003
2024-06-10 10:13:00,142 [INFO] HTTP Request: GET https://api.gradio.app/pkg-version "HTTP/1.1 200 OK"
IMPORTANT: You are using gradio version 4.19.2, however version 4.29.0 is available, please upgrade.

2024-06-10 10:13:01,311 [INFO] HTTP Request: GET http://localhost:5003/startup-events "HTTP/1.1 200 OK"
Exception in thread Thread-3 (_do_normal_analytics_request):
Traceback (most recent call last):
File "D:\jianchang512\clone-voice-v0.907\train-extract\venv\httpx_transports\default.py", line 69, in map_httpcore_exceptions
yield
File "D:\jianchang512\clone-voice-v0.907\train-extract\venv\httpx_transports\default.py", line 233, in handle_request
resp = self._pool.handle_request(req)
File "D:\jianchang512\clone-voice-v0.907\train-extract\venv\httpcore_sync\connection_pool.py", line 216, in handle_request
raise exc from None
File "D:\jianchang512\clone-voice-v0.907\train-extract\venv\httpcore_sync\connection_pool.py", line 196, in handle_request
response = connection.handle_request(
File "D:\jianchang512\clone-voice-v0.907\train-extract\venv\httpcore_sync\connection.py", line 99, in handle_request
raise exc
File "D:\jianchang512\clone-voice-v0.907\train-extract\venv\httpcore_sync\connection.py", line 76, in handle_request
stream = self._connect(request)
File "D:\jianchang512\clone-voice-v0.907\train-extract\venv\httpcore_sync\connection.py", line 154, in _connect
stream = stream.start_tls(**kwargs)
File "D:\jianchang512\clone-voice-v0.907\train-extract\venv\httpcore_backends\sync.py", line 152, in start_tls
with map_exceptions(exc_map):
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\Lib\contextlib.py", line 153, in exit
self.gen.throw(typ, value, traceback)
File "D:\jianchang512\clone-voice-v0.907\train-extract\venv\httpcore_exceptions.py", line 14, in map_exceptions
raise to_exc(exc) from exc
httpcore.ConnectTimeout: _ssl.c:980: The handshake operation timed out

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

Traceback (most recent call last):
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\Lib\threading.py", line 1016, in _bootstrap_inner
self.run()
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\Lib\threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "D:\jianchang512\clone-voice-v0.907\train-extract\venv\gradio\analytics.py", line 61, in _do_normal_analytics_request
data["ip_address"] = get_local_ip_address()
File "D:\jianchang512\clone-voice-v0.907\train-extract\venv\gradio\analytics.py", line 117, in get_local_ip_address
ip_address = httpx.get(
File "D:\jianchang512\clone-voice-v0.907\train-extract\venv\httpx_api.py", line 198, in get
return request(
File "D:\jianchang512\clone-voice-v0.907\train-extract\venv\httpx_api.py", line 106, in request
return client.request(
File "D:\jianchang512\clone-voice-v0.907\train-extract\venv\httpx_client.py", line 827, in request
return self.send(request, auth=auth, follow_redirects=follow_redirects)
File "D:\jianchang512\clone-voice-v0.907\train-extract\venv\httpx_client.py", line 914, in send
response = self._send_handling_auth(
File "D:\jianchang512\clone-voice-v0.907\train-extract\venv\httpx_client.py", line 942, in _send_handling_auth
response = self._send_handling_redirects(
File "D:\jianchang512\clone-voice-v0.907\train-extract\venv\httpx_client.py", line 979, in _send_handling_redirects
response = self._send_single_request(request)
File "D:\jianchang512\clone-voice-v0.907\train-extract\venv\httpx_client.py", line 1015, in _send_single_request
response = transport.handle_request(request)
File "D:\jianchang512\clone-voice-v0.907\train-extract\venv\httpx_transports\default.py", line 232, in handle_request
with map_httpcore_exceptions():
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\Lib\contextlib.py", line 153, in exit
self.gen.throw(typ, value, traceback)
File "D:\jianchang512\clone-voice-v0.907\train-extract\venv\httpx_transports\default.py", line 86, in map_httpcore_exceptions
raise mapped_exc(message) from exc
httpx.ConnectTimeout: _ssl.c:980: The handshake operation timed out
2024-06-10 10:13:03,326 [INFO] HTTP Request: HEAD http://localhost:5003/ "HTTP/1.1 200 OK"
2024-06-10 10:13:04,246 [INFO] HTTP Request: GET https://api.gradio.app/v2/tunnel-request "HTTP/1.1 200 OK"
Running on public URL: https://a8e5079dbbb16f0d30.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)
2024-06-10 10:13:05,521 [INFO] HTTP Request: GET https://checkip.amazonaws.com/ "HTTP/1.1 200 "
2024-06-10 10:13:06,527 [INFO] HTTP Request: POST https://api.gradio.app/gradio-launched-telemetry/ "HTTP/1.1 200 OK"
Loading Whisper Model!
[C:\vcpkg\buildtrees\mpg123\src\0d8db63f9b-3db975bc05.clean\src\libmpg123\layer3.c:INT123_do_layer3():1801] error: dequantization failed!
Note: Illegal Audio-MPEG-Header 0x00000000 at offset 319321.
Note: Trying to resync...
Note: Skipped 1024 bytes in input.
[C:\vcpkg\buildtrees\mpg123\src\0d8db63f9b-3db975bc05.clean\src\libmpg123\parse.c:wetwork():1365] error: Giving up resync after 1024 bytes - your stream is not nice... (maybe increasing resync limit could help).
Traceback (most recent call last):
File "D:\jianchang512\clone-voice-v0.907\train-extract\train.py", line 331, in preprocess_dataset
train_meta, eval_meta, audio_total_size = format_audio_list(audio_path, target_language=language, out_path=out_path, gradio_progress=progress)
File "D:\jianchang512\clone-voice-v0.907\train-extract\utils\formatter.py", line 68, in format_audio_list
wav, sr = torchaudio.load(audio_path)
File "D:\jianchang512\clone-voice-v0.907\train-extract\venv\torchaudio_backend\utils.py", line 204, in load
return backend.load(uri, frame_offset, num_frames, normalize, channels_first, format, buffer_size)
File "D:\jianchang512\clone-voice-v0.907\train-extract\venv\torchaudio_backend\soundfile.py", line 27, in load
return soundfile_backend.load(uri, frame_offset, num_frames, normalize, channels_first, format)
File "D:\jianchang512\clone-voice-v0.907\train-extract\venv\torchaudio_backend\soundfile_backend.py", line 230, in load
waveform = file_.read(frames, dtype, always_2d=True)
File "D:\jianchang512\clone-voice-v0.907\train-extract\venv\soundfile.py", line 895, in read
frames = self._array_io('read', out, frames)
File "D:\jianchang512\clone-voice-v0.907\train-extract\venv\soundfile.py", line 1344, in _array_io
return self._cdata_io(action, cdata, ctype, frames)
File "D:\jianchang512\clone-voice-v0.907\train-extract\venv\soundfile.py", line 1354, in _cdata_io
_error_check(self._errorcode)
File "D:\jianchang512\clone-voice-v0.907\train-extract\venv\soundfile.py", line 1407, in _error_check
raise LibsndfileError(err, prefix=prefix)
soundfile.LibsndfileError: Unspecified internal error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant