Closed CookiePPP closed 4 years ago
https://github.com/NVIDIA/mellotron/blob/master/model.py#L611
It takes text, style_input (mel or int), speaker_ids, f0s
I noticed, what should f0s be when I'm trying to generate new audio without a reference file?
You can simply pass in a vector of 0s for f0 if you want your model to predict it instead of specifying it. You'd probably have to play around with the shape of the vector but its size should be your batch size.
Alright, I'll give that a shot. Thanks
I'm trying to perform inference without a file for copying style from, just using this repo like a multi-speaker Tacotron2 without GSTs. What code do I need for that?
In Tacotron2 you only need the Text Input to use tacotron.inference but I'm not sure how to do inference here where I just input, Text, SpeakerID.
Your notebook has 2 examples of "tacotron.inference_noattention" and how to get the inputs for them, but no examples for just "tacotron.inference", and I'm having trouble telling from the source code.