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

[Bug]: LJSpeech & LibriTTS - audio_pipeline error #1788

Closed
anautsch opened this issue Jan 4, 2023 · 1 comment
Closed

[Bug]: LJSpeech & LibriTTS - audio_pipeline error #1788

anautsch opened this issue Jan 4, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@anautsch
Copy link
Collaborator

anautsch commented Jan 4, 2023

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

@anautsch anautsch added the bug Something isn't working label Jan 4, 2023
@Adel-Moumen
Copy link
Collaborator

Hello @BenoitWang,

Could you please take a look? Many thanks :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants