把庫從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