Open mayfool opened 2 years ago
Thanks for implementing adaspeech, I'm confused why convert average mel to integer.
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
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)" ?
https://github.com/tuanh123789/AdaSpeech/blob/64f15c4b3fa4590267f12930d7aaf411a1b36d1e/preprocessor/preprocessor.py#L336