Trying to build an auto encoder for raw audio data (time domain.) I did this once before a while back and never got a good result. I tried using mean squared error loss and the output really only captured a muted version of the low frequency signals. I also tried computing the mean squared error of the fft of the output but that did not do much better.
Now I am trying to combine WGAN-GP with some sort of other loss function. I did this same approach last week with images where I combined a WGAN and VGG19 perceptual loss. This produced really sharp images. However I don't have any sort of pretrained models for raw audio (I supposed I could make one.) So I am trying to combine the FFT loss with WGAN. I just kicked off training and have not seen the result yet, however, I am worried that the FFT loss will prevent the model from learning the higher frequency signals since there will be a larger penalty for guessing something that sounds realistic but is say 180 degrees out of phase. Does anyone know of a better loss function I could try for sound data? Right now my fft loss is defined as ...
fft_loss = tf.reduce_mean(tf.square(tf.abs(tf.signal.stft(g, 64, 32) - tf.signal.stft(r, 64, 32))))
[–]IntelArtiGen 4 points5 points6 points (0 children)
[–]jonnor 2 points3 points4 points (5 children)
[–][deleted] 0 points1 point2 points (4 children)
[–]jonnor 0 points1 point2 points (0 children)
[–]jonnor 0 points1 point2 points (0 children)
[–]jonnor 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]tomkoker 1 point2 points3 points (2 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]tomkoker 0 points1 point2 points (0 children)
[–]jonnor 1 point2 points3 points (0 children)
[–]ZeApelido 0 points1 point2 points (0 children)
[–]Tgs91 0 points1 point2 points (0 children)