MeloTTS icon indicating copy to clipboard operation
MeloTTS copied to clipboard

Feature: Create a simple fine-tuning script

Open s-tweed opened this issue 1 year ago • 3 comments

Is there a possibility of creating a simple to use (and modify) fine-tuning script? I have been trying to get the train.py script to work for quite a while on Windows and am having considerably difficulty, I think mostly because my environment is very different to yours (for example I am not distributing my training across multiple machines so gloo, torchrun, etc are not needed). I'm trying to fine-tine the model on a custom dataset so that I can change the voice to a specific male. A simplified script would be very helpful and appreciated!

Thanks, Spencer

s-tweed avatar Jun 04 '24 05:06 s-tweed

Hello @s-tweed i have made a command for you:

python -m torch.distributed.run --nproc_per_node=1 --master_port=10902 --master_addr=localhost train.py --c config.json --model Model-1

Solunexus avatar Jun 12 '24 17:06 Solunexus

Should work fine i Tested it On windows/linux(docker).

Solunexus avatar Jun 12 '24 17:06 Solunexus

@Solunexus can you please tell bit more, like where to run this, what is data format required etc etc. it would be great help. I am trying to add a voice in english. i have 1 hour of clean english data. Thanks

rushichavda avatar May 24 '25 18:05 rushichavda