speechbrain/speechbrain

No module named 'speechbrain.inference'

chrisspen opened this issue · 2 comments

Describe the bug

I'm attempting to run the trivial Python example at https://huggingface.co/speechbrain/asr-wav2vec2-commonvoice-14-en

I've created my Python virtual environment and install dependencies as described with:

pip install speechbrain transformers

However, attempting the initial import of:

from speechbrain.inference.ASR import EncoderASR

throws the exception:

ModuleNotFoundError: No module named 'speechbrain.inference'

Do you know why this module is missing and where I might find it?

Expected behaviour

No import error.

To Reproduce

No response

Environment Details

No response

Relevant Log Output

No response

Additional Context

No response

Thank you for the clarification. Following those steps allowed me to access the model.