Skip to content
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

difference between use_sdp=True and use_sdp=False #502

Open
bzp83 opened this issue May 16, 2024 · 2 comments
Open

difference between use_sdp=True and use_sdp=False #502

bzp83 opened this issue May 16, 2024 · 2 comments

Comments

@bzp83
Copy link

bzp83 commented May 16, 2024

I trained a model twice from scratch with the same dataset and same everything, except that one used use_sdp=True and the other use_sdp=False.

I can't see any difference, except the training with use_sdp=False is faster and the exported onnx is slightly smaller. I couldn't notice any difference in inference....

So what's the benefit of using sdp?

@synesthesiam
Copy link
Contributor

From what I understand of VITS (the model architecture Piper uses), SDP predicts the duration of phonemes with a probability distribution (SDP = stochastic duration predictor).

I'd guess this means it will do better for intonation? So maybe mostly for audiobooks?

@bzp83
Copy link
Author

bzp83 commented May 17, 2024

got it! yes.. maybe it would work better for audiobooks...

btw, I set sdp to false by manually updating the source code, is there a way to pass this param as command line? would passing --use_sdp=False do the same?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants