Code Monkey home page Code Monkey logo

vits-fast-fine-tuning's Introduction

中文文档请点击这里

VITS Fast Fine-tuning

This repo will guide you to add your own character voices, or even your own voice, into existing VITS TTS model to make it able to do the following tasks in less than 1 hour:

  1. Many-to-many voice conversion between any characters you added & preset characters in the model.
  2. English, Japanese & Chinese Text-to-Speech synthesis with the characters you added & preset characters

Welcome to play around with the base models!
Chinese & English & Japanese:Hugging Face Spaces Author: Me

Chinese & Japanese:Hugging Face Spaces Author: SayaSS

Currently Supported Tasks:

  • Clone character voice from 10+ short audios
  • Clone character voice from long audio(s) >= 3 minutes (one audio should contain single speaker only)
  • Clone character voice from videos(s) >= 3 minutes (one video should contain single speaker only)
  • Clone character voice from BILIBILI video links (one video should contain single speaker only)

Currently Supported Characters for TTS & VC:

  • Any character you wish as long as you have their voices! (Note that voice conversion can only be conducted between any two speakers in the model)

Fine-tuning

It's recommended to perform fine-tuning on Google Colab because the original VITS has some dependencies that are difficult to configure.

How long does it take?

  1. Install dependencies (3 min)
  2. Choose pretrained model to start. The detailed differences between them are described in Colab Notebook
  3. Upload the voice samples of the characters you wish to add,see DATA.MD for detailed uploading options.
  4. Start fine-tuning. Time taken varies from 20 minutes ~ 2 hours, depending on the number of voices you uploaded.

Inference or Usage (Currently support Windows only)

  1. Remember to download your fine-tuned model!
  2. Download the latest release
  3. Put your model & config file into the folder inference, which are named G_latest.pth and finetune_speaker.json, respectively.
  4. The file structure should be as follows:
inference
├───inference.exe
├───...
├───finetune_speaker.json
└───G_latest.pth
  1. run inference.exe, the browser should pop up automatically.

Use in MoeGoe

  1. Prepare downloaded model & config file, which are named G_latest.pth and moegoe_config.json, respectively.
  2. Follow MoeGoe page instructions to install, configure path, and use.

vits-fast-fine-tuning's People

Contributors

bushytoaster88 avatar eve2ptp avatar evilmass avatar justinjohn0306 avatar lrioxh avatar plachtaa avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.