Audio-to-Audio
audio
speech
voice-conversion

一键部署脚本,win自己安装wsl

#5
by bonegu - opened

#!/bin/bash

更新包列表

sudo apt-get update

安装git-lfs

sudo apt-get install -y git-lfs
git lfs install

克隆源码

git clone https://hf-mirror.com/fierce-cats/beatrice-trainer
cd beatrice-trainer

安装Poetry

curl -sSL https://install.python-poetry.org | python3 -
export PATH="$HOME/.local/bin:$PATH"

添加PyPI镜像源

poetry source add --priority=default mirrors https://pypi.tuna.tsinghua.edu.cn/simple/

安装环境

poetry install
poetry shell

安装附加的Python包

pip3 install -e .
pip install soundfile
pip install torchaudio --upgrade

安装系统依赖

sudo apt-get install -y libsndfile1

运行beatrice_trainer

python3 beatrice_trainer -d train -o out

Sign up or log in to comment