Spaces:
Runtime error
Runtime error
start preprocess | |
['infer/modules/train/preprocess.py', '/content/dataset', '40000', '2', './logs/MJV2', 'False', '3.0'] | |
/content/dataset/.ipynb_checkpoints->Traceback (most recent call last): | |
File "/content/drive/MyDrive/project-main/infer/lib/audio.py", line 43, in load_audio | |
with open(file, "rb") as f: | |
IsADirectoryError: [Errno 21] Is a directory: '/content/dataset/.ipynb_checkpoints' | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/content/drive/MyDrive/project-main/infer/modules/train/preprocess.py", line 87, in pipeline | |
audio = load_audio(path, self.sr) | |
File "/content/drive/MyDrive/project-main/infer/lib/audio.py", line 55, in load_audio | |
raise RuntimeError(f"Failed to load audio: {e}") | |
RuntimeError: Failed to load audio: [Errno 21] Is a directory: '/content/dataset/.ipynb_checkpoints' | |
/content/dataset/MJV2.zip->Traceback (most recent call last): | |
File "/content/drive/MyDrive/project-main/infer/lib/audio.py", line 45, in load_audio | |
audio2(f, out, "f32le", sr) | |
File "/content/drive/MyDrive/project-main/infer/lib/audio.py", line 24, in audio2 | |
inp = av.open(i, 'rb') | |
File "av/container/core.pyx", line 401, in av.container.core.open | |
File "av/container/core.pyx", line 272, in av.container.core.Container.__cinit__ | |
File "av/container/core.pyx", line 292, in av.container.core.Container.err_check | |
File "av/error.pyx", line 336, in av.error.err_check | |
av.error.InvalidDataError: [Errno 1094995529] Invalid data found when processing input: '/content/dataset/MJV2.zip' | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/content/drive/MyDrive/project-main/infer/modules/train/preprocess.py", line 87, in pipeline | |
audio = load_audio(path, self.sr) | |
File "/content/drive/MyDrive/project-main/infer/lib/audio.py", line 55, in load_audio | |
raise RuntimeError(f"Failed to load audio: {e}") | |
RuntimeError: Failed to load audio: [Errno 1094995529] Invalid data found when processing input: '/content/dataset/MJV2.zip' | |
/content/dataset/MJV2 (1).zip->Traceback (most recent call last): | |
File "/content/drive/MyDrive/project-main/infer/lib/audio.py", line 45, in load_audio | |
audio2(f, out, "f32le", sr) | |
File "/content/drive/MyDrive/project-main/infer/lib/audio.py", line 24, in audio2 | |
inp = av.open(i, 'rb') | |
File "av/container/core.pyx", line 401, in av.container.core.open | |
File "av/container/core.pyx", line 272, in av.container.core.Container.__cinit__ | |
File "av/container/core.pyx", line 292, in av.container.core.Container.err_check | |
File "av/error.pyx", line 336, in av.error.err_check | |
av.error.InvalidDataError: [Errno 1094995529] Invalid data found when processing input: '/content/dataset/MJV2 (1).zip' | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/content/drive/MyDrive/project-main/infer/modules/train/preprocess.py", line 87, in pipeline | |
audio = load_audio(path, self.sr) | |
File "/content/drive/MyDrive/project-main/infer/lib/audio.py", line 55, in load_audio | |
raise RuntimeError(f"Failed to load audio: {e}") | |
RuntimeError: Failed to load audio: [Errno 1094995529] Invalid data found when processing input: '/content/dataset/MJV2 (1).zip' | |
end preprocess | |