-
Notifications
You must be signed in to change notification settings - Fork 28
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
why convert average mel to integer #2
Comments
Thanks for implementing adaspeech, I'm confused why convert average mel to integer. |
because the mel spectrogram frame is a matrix, if you want to slice it you have to convert float to int :D |
I don't mean this.I mean why use "//" op here,this op converts average mel to integer.Maybe should use "mel[:, int(start):int(end)], axis=1)/np.array(end - start)" ? |
AdaSpeech/preprocessor/preprocessor.py
Line 336 in 64f15c4
The text was updated successfully, but these errors were encountered: