Bert-VITS2-demucs-funasr
安装在Ubuntu22.04
底模默认使用2.0.2-fix版本,有1.1.1版本存档
程序使用1.1.1版本(能用就不换成高版本了)
git下载
git lfs install
git clone https://www.modelscope.cn/buzhidaozhanghaoming/Bert-VITS2-demucs-funasr.git
安装软件
tar -xf Bert-VITS2.tar.xz
tar -xf logs.tar.xz
mv logs Bert-VITS2
pip install -r Bert-VITS2/requirements.txt
sudo apt install cmake -y
pip insteall pip -y
python3 -m pip install -U demucs #安装demucs #人声分离,最好不要使用
pip3 install -U funasr -i https://mirror.sjtu.edu.cn/pypi/web/simple #安装Funasr,识别文字
pip3 install -U modelscope -i https://mirror.sjtu.edu.cn/pypi/web/simple
git clone https://github.com/flutydeer/audio-slicer.git #安装音频切片机
sudo cp Bert-VITS2/slicer2_run.py audio-slicer #复制slicer2_run.py到audio-slicer
生成项目
cd Bert-VITS2
sh mkname.sh peng#生成项目文件夹
处理wav文件
复制原声wav文件到wavs/peng/
python3 ../audio-slicer/slicer2_run.py --out raw/peng/ wavs/peng/ #执行分割wav
python3 funasr_run.py raw/peng/ #生成lab文件
核对wav与lab文字是否正确
训练
python3 training.py peng
断点继续训练
python3 training_breakPointContinue.py
修改训练参数
vim configs/config.json
评论