docker run --rm -i \
--name=demucs \
-v /Users/loretoparisi/Documents/Projects/AI/docker-facebook-demucs-main/input:/data/input \
-v /Users/loretoparisi/Documents/Projects/AI/docker-facebook-demucs-main/output:/data/output \
-v /Users/loretoparisi/Documents/Projects/AI/docker-facebook-demucs-main/models:/data/models \
facebook/demucs:latest \
"python3 -m demucs.separate --dl -n demucs -d cpu --out /data/output --models /data/models \
/data/input/"
Traceback (most recent call last):
File "/opt/conda/envs/demucs/lib/python3.9/runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/opt/conda/envs/demucs/lib/python3.9/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/lib/demucs/demucs/separate.py", line 13, in <module>
import torchaudio as ta
File "/opt/conda/envs/demucs/lib/python3.9/site-packages/torchaudio/__init__.py", line 15, in <module>
from torchaudio.backend import (
File "/opt/conda/envs/demucs/lib/python3.9/site-packages/torchaudio/backend/__init__.py", line 2, in <module>
from . import utils
File "/opt/conda/envs/demucs/lib/python3.9/site-packages/torchaudio/backend/utils.py", line 7, in <module>
from . import (
File "/opt/conda/envs/demucs/lib/python3.9/site-packages/torchaudio/backend/soundfile_backend.py", line 15, in <module>
import soundfile
File "/opt/conda/envs/demucs/lib/python3.9/site-packages/soundfile.py", line 142, in <module>
raise OSError('sndfile library not found')
OSError: sndfile library not found
make: *** [run] Error 1
ip-192-168-178-30:docker-facebook-demucs-main loretoparisi$ tree -L 3
.
โโโ Dockerfile
โโโ LICENSE
โโโ Makefile
โโโ README.md
โโโ input
โโโ models
โโโ output