-
Notifications
You must be signed in to change notification settings - Fork 1.1k
got soundfile.LibsndfileError: <unprintable LibsndfileError object> when start training #602
Comments
may be a bug? |
Please provide more information by running: |
3.9.19 | packaged by conda-forge | (main, Mar 20 2024, 12:38:46) [MSC v.1929 64 bit (AMD64)] |
This issue I am running into seems very related. Anyone have an idea how to get through this? |
I have the same issue with the Libsnfile error with an Nvidia GPU and CUDA 11.7 These are my results from the python version command 3.8.19 | packaged by conda-forge | (default, Mar 20 2024, 12:38:07) [MSC v.1929 64 bit (AMD64)] |
@zingoBexley It seems that you are encountering the evaluating process but has no data to pass in. You can just comment out the codes relating to evaluation. |
❓ Questions
I start the command "dora run variant=myj" and got this
I don't have a NVIDIA GPU, so this is just a test
Error executing job with overrides: ['variant=myj']
All outputs here
C:\Users\Stillalive-myj\demucs-main\demucs\train.py:21: UserWarning: TorchAudio's global backend is now deprecated. Please enable distpatcher by setting
TORCHAUDIO_USE_BACKEND_DISPATCHER=1
, and specify backend when calling load/info/save function.import torchaudio
C:\Users\Stillalive-myj.conda\envs\demucs\lib\site-packages\hydra_internal\hydra.py:119: UserWarning: Future Hydra versions will no longer change working directory at job runtime by default.
See https://hydra.cc/docs/1.2/upgrades/1.1_to_1.2/changes_to_job_working_dir/ for more information.
ret = run_job(
[06-01 19:51:47][demucs.train][INFO] - For logs, checkpoints and samples check C:\Users\Stillalive-myj\demucs-main\outputs\xps\c1d4f44e
[06-01 19:51:47][dora.distrib][INFO] - world_size is 1, skipping init.
[06-01 19:51:48][demucs.train][INFO] - train/valid set size: 18368 14
[06-01 19:51:48][demucs.solver][INFO] - ----------------------------------------------------------------------
[06-01 19:51:48][demucs.solver][INFO] - Training...
C:\Users\Stillalive-myj\demucs-main\demucs\repitch.py:14: UserWarning: TorchAudio's global backend is now deprecated. Please enable distpatcher by setting
TORCHAUDIO_USE_BACKEND_DISPATCHER=1
, and specify backend when calling load/info/save function.import torchaudio as ta
C:\Users\Stillalive-myj\demucs-main\demucs\repitch.py:14: UserWarning: TorchAudio's global backend is now deprecated. Please enable distpatcher by setting
TORCHAUDIO_USE_BACKEND_DISPATCHER=1
, and specify backend when calling load/info/save function.import torchaudio as ta
C:\Users\Stillalive-myj\demucs-main\demucs\repitch.py:14: UserWarning: TorchAudio's global backend is now deprecated. Please enable distpatcher by setting
TORCHAUDIO_USE_BACKEND_DISPATCHER=1
, and specify backend when calling load/info/save function.import torchaudio as ta
C:\Users\Stillalive-myj\demucs-main\demucs\repitch.py:14: UserWarning: TorchAudio's global backend is now deprecated. Please enable distpatcher by setting
TORCHAUDIO_USE_BACKEND_DISPATCHER=1
, and specify backend when calling load/info/save function.import torchaudio as ta
C:\Users\Stillalive-myj\demucs-main\demucs\repitch.py:14: UserWarning: TorchAudio's global backend is now deprecated. Please enable distpatcher by setting
TORCHAUDIO_USE_BACKEND_DISPATCHER=1
, and specify backend when calling load/info/save function.import torchaudio as ta
C:\Users\Stillalive-myj\demucs-main\demucs\repitch.py:14: UserWarning: TorchAudio's global backend is now deprecated. Please enable distpatcher by setting
TORCHAUDIO_USE_BACKEND_DISPATCHER=1
, and specify backend when calling load/info/save function.import torchaudio as ta
C:\Users\Stillalive-myj\demucs-main\demucs\repitch.py:14: UserWarning: TorchAudio's global backend is now deprecated. Please enable distpatcher by setting
TORCHAUDIO_USE_BACKEND_DISPATCHER=1
, and specify backend when calling load/info/save function.import torchaudio as ta
C:\Users\Stillalive-myj\demucs-main\demucs\repitch.py:14: UserWarning: TorchAudio's global backend is now deprecated. Please enable distpatcher by setting
TORCHAUDIO_USE_BACKEND_DISPATCHER=1
, and specify backend when calling load/info/save function.import torchaudio as ta
C:\Users\Stillalive-myj\demucs-main\demucs\repitch.py:14: UserWarning: TorchAudio's global backend is now deprecated. Please enable distpatcher by setting
TORCHAUDIO_USE_BACKEND_DISPATCHER=1
, and specify backend when calling load/info/save function.import torchaudio as ta
C:\Users\Stillalive-myj\demucs-main\demucs\repitch.py:14: UserWarning: TorchAudio's global backend is now deprecated. Please enable distpatcher by setting
TORCHAUDIO_USE_BACKEND_DISPATCHER=1
, and specify backend when calling load/info/save function.import torchaudio as ta
Error executing job with overrides: ['variant=myj']
Traceback (most recent call last):
File "C:\Users\Stillalive-myj\demucs-main\demucs\train.py", line 244, in main
solver.train()
File "C:\Users\Stillalive-myj\demucs-main\demucs\solver.py", line 195, in train
metrics['train'] = self._run_one_epoch(epoch)
File "C:\Users\Stillalive-myj\demucs-main\demucs\solver.py", line 306, in _run_one_epoch
for idx, sources in enumerate(logprog):
File "C:\Users\Stillalive-myj.conda\envs\demucs\lib\site-packages\dora\log.py", line 70, in next
value = next(self._iterator)
File "C:\Users\Stillalive-myj.conda\envs\demucs\lib\site-packages\torch\utils\data\dataloader.py", line 630, in next
data = self._next_data()
File "C:\Users\Stillalive-myj.conda\envs\demucs\lib\site-packages\torch\utils\data\dataloader.py", line 1345, in _next_data
return self._process_data(data)
File "C:\Users\Stillalive-myj.conda\envs\demucs\lib\site-packages\torch\utils\data\dataloader.py", line 1371, in _process_data
data.reraise()
File "C:\Users\Stillalive-myj.conda\envs\demucs\lib\site-packages\torch_utils.py", line 694, in reraise
raise exception
soundfile.LibsndfileError:
Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.
The text was updated successfully, but these errors were encountered: