把库从github上拉下来。
这里把只要人声的命令写出来。本案例用cpu处理
python3 -m demucs -d cpu 源文件路径 --two-stems=vocals -o "/输出目录/"
安装
安装来源 https://github.com/facebookresearch/demucs
pip安装
python3 -m pip install -U demucs
常见报错
RuntimeError: Couldn't find appropriate backend to handle uri /xxxxxxx and format None.
提示缺少后端库输出文件,安装依赖库
pip3 install ffmpeg librosa torchaudio soundfile