Describe the bug
While testing recipes, _get_spec_norms threw an error. I remember since I ran the tests last time, some of it might have been fixed already in #1740 for LJSpeech but the issue might still be up for LibriTTS.
Expected behaviour
No error
To Reproduce
No response
Versions
No response
Relevant log output
File "speechbrain/recipes/LibriTTS/vocoder/hifigan/train.py", line 330, in audio_pipeline
mel = hparams["mel_spectogram"](audio=audio.squeeze(0))
...
File "torchaudio/transforms/_transforms.py", line 108, in forward
return F.spectrogram(
File "torchaudio/functional/functional.py", line 114, in spectrogram
frame_length_norm, window_norm = _get_spec_norms(normalized)
File "torchaudio/functional/functional.py", line 239, in _get_spec_norms
raise TypeError("Input type not supported")
TypeError: Input type not supported
Additional context
No response
Describe the bug
While testing recipes, _get_spec_norms threw an error. I remember since I ran the tests last time, some of it might have been fixed already in #1740 for LJSpeech but the issue might still be up for LibriTTS.
Expected behaviour
No error
To Reproduce
No response
Versions
No response
Relevant log output
Additional context
No response