You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think here is a bug in audio/stft.py: 252 energy = np.sqrt(np.exp(mel) ** 2).sum(-1)
This code did nothing but just sum the abs of the np.exp(mel), while we expect it to calculate the sum before the sqrt.
The correct code should be energy = np.sqrt((np.exp(mel) ** 2).sum(-1))
The text was updated successfully, but these errors were encountered:
I think here is a bug in audio/stft.py: 252
energy = np.sqrt(np.exp(mel) ** 2).sum(-1)
This code did nothing but just sum the abs of the
np.exp(mel)
, while we expect it to calculate the sum before the sqrt.The correct code should be
energy = np.sqrt((np.exp(mel) ** 2).sum(-1))
The text was updated successfully, but these errors were encountered: