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

Question about the scale of gaussian noise in the mel spectrogram #3

Open
SeongYeonPark opened this issue Nov 11, 2022 · 3 comments
Open

Comments

@SeongYeonPark
Copy link

In the proposed SR-augmentation,
when the mel is squeezed, you pad it with the highest frequency bin value and add Gaussian noise.

Can you share the scale of the added gaussian noise?

(I guess it can differ depending on how you preprocess the audio to get the mel.
I am currently using the 'mel_spectrogram_torch' function of https://github.com/jaywalnut310/vits/blob/2e561ba58618d021b5b8323d3765880f7e0ecfdb/mel_processing.py

If you used a different code for mel processing, it would be great to know.)

@SeongYeonPark
Copy link
Author

Also, could you tell me if you had issues with Nan losses (when applying the SR augmentation)?

@OlaWod
Copy link
Owner

OlaWod commented Nov 11, 2022

The scale of the added gaussian noise is 0.1.
We use the same mel processing.
We did not encounter Nan losses. The SR augmentation is conducted offline, i.e., we synthesize multiple augmented waveforms , extract their WavLM features, store them on disk, and load them as input to the model.

@splinter21
Copy link

When there is a hole in the high frequency spectrum, I have experienced nan loss.

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

3 participants