-
Notifications
You must be signed in to change notification settings - Fork 8.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improving repeatability of voice cloning #384
Comments
After reviewing code from @plummet555 , I realize that we should also set |
With the changes on the 384_repeatable_voice_cloning branch of my fork, I get fully repeatable voice cloning output using demo_toolbox.py . Tested on a computer without a GPU. Test case
You should find that the exported .wav files are identical for subsequent synthesize and vocode attempts within a session, and even across new toolbox sessions. Required changes
Other changesI reverted these changes and results are still repeatable on my platform. Listing here in case it helps troubleshooting in the future.
References(2) https://pytorch.org/docs/stable/notes/randomness.html |
Closing now that #432 is merged. |
How can I make the voice cloning results repeatable? For a given model with same input.wav + text to synthesize, is there a way to ensure that I get the same output every time?
I see this code in synthesizer/train.py:
I tried inserting this in demo_cli.py and still get different results each time. Even if the program is restarted in between cloning attempts.
The text was updated successfully, but these errors were encountered: