So, I am working with audio,first I convert those audios to melspectrograms using librosa.
The ouput using librosa is --> shape=(n_mels, t). I gues t is the time
Then the batch looks like:
[batch, channel=1, n_mel=128, t=variable].
That’s why its confusing for me. I configured the input of GRU for 128 inputs, number of features because alll audios are time variant…Not sure if my implementation is correct…
I added a layer normalization layer before GRU to have the data normalized and to improve network’s performance. Do you think it’s good idea? I have been thinking about it and not sure if it’s better to put the layer normalization before or after GRU.
Thanks so much