Closed Ca-ressemble-a-du-fake closed 1 year ago
Printing data
object in coqpit deserialize_immutable
method shows that datasets
is a list instead of a dict. Actually when watching carefully at the generated config.json it shows "datasets": [ [ {...}, {...} ] ]
instead of "datasets": [ {...}, {...} ]
. Manually removing the useless [] solves the problem.
When training VITS these useless [] do not appear. So they are only generated while training OverFlow. So the culprit should be the function that generates the json from the train_overflow.py recipe.
@shivammehta25 could you check this one?
Sure! You can assign it to me, I will take a look at it as soon as I can.
Hi! When training with a single dataset, I couldn't replicate the error. Could you please share the training script/recipe that you used for this? I feel there are extra brackets in the datasets
than what is supposed to be in the config.json
and the datasets
parameter is populated in the training recipe.
Hi ! I used the recipe provided in the repo.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You might also look our discussion channels.
Describe the bug
Hi,
I could train OverFlow model from scratch on my own dataset (22050 Hz samples). But when I try to check its output via
tts --text "Bonjour les amis" --model_path /home/caraduf/Models/Overflow/Test_Overflow_22kHz-January-20-2023_06+19PM-0000000/checkpoint_1500.pth --config_path /home/caraduf/Models/Overflow/Test_Overflow_22kHz-January-20-2023_06+19PM-0000000/config.json --vocoder_name vocoder_models/en/ljspeech/hifigan_v2 --out_path test_own_overflow.wav
I get aValueError
:I previously tested it with a checkpoint at 150k steps trained with 16kHz samples and had the same
ValueError
during inference.Here is the config.json :
If I try the default command
tts --text "Hello world!" --model_name tts_models/en/ljspeech/overflow --vocoder_name vocoder_models/en/ljspeech/hifigan_v2 --out_path output.wav
I get the wav output as expected.To Reproduce
Train OverFlow model with the provided recipe.
Wait for a checkpoint to be written.
Run an inference on that checkpoint with
tts --text "Bonjour les amis" --model_path /home/caraduf/Models/Overflow/Test_Overflow_22kHz-January-20-2023_06+19PM-0000000/checkpoint_1500.pth --config_path /home/caraduf/Models/Overflow/Test_Overflow_22kHz-January-20-2023_06+19PM-0000000/config.json --vocoder_name vocoder_models/en/ljspeech/hifigan_v2 --out_path test_own_overflow.wav
A
ValueError
appears and no wav is written to disk.Expected behavior
A wav file should be written to disk.
Logs
No response
Environment
Additional context
No response