使用python/demucs庫分離人聲,達到消除噪聲的效果

字號+ 編輯: 国内TP粉 修訂: 种花家 來源: facebookresearch 2024-06-04 我要說兩句(0)

就是介紹介紹demucs命令行怎麽用

把库从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


閲完此文,您的感想如何?
  • 有用

    1

  • 沒用

    0

  • 開心

    0

  • 憤怒

    0

  • 可憐

    0

1.如文章侵犯了您的版權,請發郵件通知本站,該文章將在24小時内刪除;
2.本站標注原創的文章,轉發時煩請注明來源;
3.交流群: 2702237 13835667

相關課文
  • 通過i參數使用國内鏡像給pip安裝提速

  • Conda刪除不用的虛擬環境

  • flask框架知識點總結

  • linux - centos 7.x安裝python3.10教程

我要說說
網上賓友點評