Cannot import FastSpeech2 #1866
Replies: 3 comments 2 replies
-
Hello, Could you please share the link of "This snippet is from Speechbrain example code" please ? |
Beta Was this translation helpful? Give feedback.
-
Hi @St33lMouse @Adel-Moumen , Sorry for this inconvenience, our fastspeech2 is not yet merged and not ready to use. We'll only need to do some final reviews, I think we can release it very soon. We'll leave a message here when it's ready. However, you can find an interface in #1572. |
Beta Was this translation helpful? Give feedback.
-
Hi @St33lMouse , FastSpeech2 has just been merged, it should now work fine with the interface https://huggingface.co/speechbrain/tts-fastspeech2-ljspeech |
Beta Was this translation helpful? Give feedback.
-
import torchaudio
from speechbrain.pretrained import FastSpeech2
from speechbrain.pretrained import HIFIGAN
This snippet is from Speechbrain example code. Line 3 is OK, but line 2 gets this error:
ImportError: cannot import name 'fastspeech2' from 'speechbrain.pretrained'
Any idea why?
Beta Was this translation helpful? Give feedback.
All reactions