Error trying to inference:
(mdx-submit) C:\Users\lucas\Downloads\e2e_music_remastering_system>python inference.py --data_dir_test "C:\Users\lucas\Downloads\e2e_music_remastering_system\inference_samples\set_1"
C:\Users\lucas\anaconda3\envs\mdx-submit\lib\site-packages\torchaudio\extension\extension.py:13: UserWarning: torchaudio C++ extension is not available.
warnings.warn('torchaudio C++ extension is not available.')
C:\Users\lucas\Downloads\e2e_music_remastering_system\Self_Supervised_Music_Remastering_System\config.py:90: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
configs = yaml.load(f)
---reloaded checkpoint weights - Mastering Cloner---
---reloaded checkpoint weights - Music Effects Encoder---
C:\Users\lucas\anaconda3\envs\mdx-submit\lib\site-packages\torchaudio\extension\extension.py:13: UserWarning: torchaudio C++ extension is not available.
warnings.warn('torchaudio C++ extension is not available.')
C:\Users\lucas\anaconda3\envs\mdx-submit\lib\site-packages\torchaudio\extension\extension.py:13: UserWarning: torchaudio C++ extension is not available.
warnings.warn('torchaudio C++ extension is not available.')
C:\Users\lucas\anaconda3\envs\mdx-submit\lib\site-packages\torchaudio\extension\extension.py:13: UserWarning: torchaudio C++ extension is not available.
warnings.warn('torchaudio C++ extension is not available.')
C:\Users\lucas\anaconda3\envs\mdx-submit\lib\site-packages\torchaudio\extension\extension.py:13: UserWarning: torchaudio C++ extension is not available.
warnings.warn('torchaudio C++ extension is not available.')
Traceback (most recent call last):
File "inference.py", line 159, in <module>
inf.inference()
File "inference.py", line 77, in inference
for step, (whole_song_ori, whole_song_ref, song_name) in enumerate(self.data_loader):
File "C:\Users\lucas\anaconda3\envs\mdx-submit\lib\site-packages\torch\utils\data\dataloader.py", line 517, in __next__
data = self._next_data()
File "C:\Users\lucas\anaconda3\envs\mdx-submit\lib\site-packages\torch\utils\data\dataloader.py", line 1199, in _next_data
return self._process_data(data)
File "C:\Users\lucas\anaconda3\envs\mdx-submit\lib\site-packages\torch\utils\data\dataloader.py", line 1225, in _process_data
data.reraise()
File "C:\Users\lucas\anaconda3\envs\mdx-submit\lib\site-packages\torch\_utils.py", line 429, in reraise
raise self.exc_type(msg)
IndexError: Caught IndexError in DataLoader worker process 0.
Original Traceback (most recent call last):
File "C:\Users\lucas\anaconda3\envs\mdx-submit\lib\site-packages\torch\utils\data\_utils\worker.py", line 202, in _worker_loop
data = fetcher.fetch(index)
File "C:\Users\lucas\anaconda3\envs\mdx-submit\lib\site-packages\torch\utils\data\_utils\fetch.py", line 44, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
File "C:\Users\lucas\anaconda3\envs\mdx-submit\lib\site-packages\torch\utils\data\_utils\fetch.py", line 44, in <listcomp>
data = [self.dataset[idx] for idx in possibly_batched_index]
File "C:\Users\lucas\Downloads\e2e_music_remastering_system\Self_Supervised_Music_Remastering_System\data_loader\data_loader.py", line 248, in __getitem__
song_name = cur_aud_path_ori.split('/')[-2]
IndexError: list index out of range
(mdx-submit) C:\Users\lucas\Downloads\e2e_music_remastering_system>
- the input.wav and reference.wav file are already in the 'set_1' folder
Torch version: 1.8.1+cu111
GPU: RTX 2060 (6 GB)
What can it be?