ModuleNotFoundError: No module named 'speechbrain.pretrained'
#3
by
deedbob20
- opened
Hello, I am attempting to follow the tutorial, but I am unable to load the foreign_class function, as the speechbrain.pretrained module seems to no longer exist?
ModuleNotFoundError Traceback (most recent call last)
/var/folders/sl/ymrr09g50yv065qjdfh1d8h80000gn/T/ipykernel_26803/3930234929.py in
1 import torchaudio
----> 2 from speechbrain.pretrained.interfaces import foreign_class
ModuleNotFoundError: No module named 'speechbrain.pretrained'
Hii maybe try using older speechbrain==0.5.16 (https://github.com/speechbrain/speechbrain/issues/2472#issuecomment-2022418584)
It worked for me.
@deedbob20