JSON RVC Inference is the same advanced version of RVC with JSON file to select desired model to download and load on the inference. Best use case for google colab enviroment.
Please support the original RVC. This inference won't be possible to make without it.
- Support V1 & V2 Model ✅
- Model downloader using JSON file [Internet required for downloading voice model] ✅
- Youtube Audio Downloader ✅
- Voice Splitter [Internet required for downloading splitter model] ✅
- Microphone Support ✅
- TTS Support ✅
-
Install Pytorch
- CPU only (any OS)
pip install torch torchvision torchaudio
- Nvidia (CUDA used)
# For Windows (Due to flashv2 not supported in windows, Issue: https://github.com/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.pytorch.org/whl/cu121 # Other (Linux, etc) pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121
-
Install Dependencies
pip install -r requirements.txt
-
Install ffmpeg
-
Download Pre-model
# Hubert Model
https://huggingface.co/lj1995/VoiceConversionWebUI/blob/main/hubert_base.pt
# Save it to /assets/hubert/hubert_base.pt
# RVMPE (rmvpe pitch extraction, Optional)
https://huggingface.co/lj1995/VoiceConversionWebUI/blob/main/rmvpe.pt
# Save it to /assets/rvmpe/rmvpe.pt
For Windows:
Open run.bat
For Other:
python infer.py