JSON RVC Inference
信息
JSON RVC Inference是带有JSON文件的RVC的高级版本,以选择所需的模型以下载和加载推理。 Google COLAB环境的最佳用例。
请支持原始RVC。没有它,这种推论将是不可能的。
特征
安装
-
安装Pytorch
- 仅CPU(任何操作系统)
pip install torch torchvision torchaudio
- NVIDIA(使用的CUDA)
# For Windows (Due to flashv2 not supported in windows, Issue: https://githu*b.*co*m/Dao-AILab/flash-attention/issues/345#issuecomment-1747473481) pip install torch==2.1.0 torchvision==0.16.0 torchaudio==2.1.0 --index-url https://download.*p*yt*orch.org/whl/cu121 # Other (Linux, etc) pip install torch torchvision torchaudio --index-url https://download.*p*yt*orch.org/whl/cu121
-
安装依赖项
pip install -r requirements.txt
-
安装FFMPEG
-
下载预制
# Hubert Model https://hug**gi*ngface.co/lj1995/VoiceConversionWebUI/blob/main/hubert_base.pt # Save it to /assets/hubert/hubert_base.pt # RVMPE (rmvpe pitch extraction, Optional) https://*hu*ggingfa*ce.co/lj1995/VoiceConversionWebUI/blob/main/rmvpe.pt # Save it to /assets/rvmpe/rmvpe.pt
运行webui
对于Windows:
Open run.bat
其他:
python infer.py
