Image for training a Piper TTS voice from a Hugging Face dataset.
1.9K
Image for training a Piper TTS voice from a Hugging Face dataset.
See inside the Dockerfile for all environmental variables
See the dataset format here.
TL;DR:
There is a metadata.csv at the root. It looks like this:
id | utterance
Where id.wav exists in the wav subfolder.
You will need a Hugging Face token and a Repo id. They use the environmental variables HF_TOKEN and HF_DATASET respectively
You will need to mount your dataset folder to /dataset within the container
By default, the base checkpoint is the high quality "lessac" voice. You can set the checkpoint with the CHECKPOINT variable
Use a file name from the checkpoint repo
For example: en/en_US/lessac/high/epoch=2218-step=838782.ckpt
If you want to use a predefined checkpoint, you'll need to mount it in /base_checkpoints and set the CHECKPOINT variable to the checkpoint's filename
For example: lessac.ckpt (assuming /base_checkpoints/lessac.ckpt is mounted)
The files end up in the /cache directory. You should mount it if you want to persist the files.
Tensorboard will be started and running on port 6006. You will need to forward it if you want to use the interface
Content type
Image
Digest
sha256:402de9eef…
Size
3.8 GB
Last updated
over 1 year ago
docker pull ifansnek/piper-train-docker