got soundfile.LibsndfileError: <unprintable LibsndfileError object> when start training
❓ 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.
Source: facebookresearch/demucs