change speechbrain.pretrained to speechbrain.inference.separation to avoid import error
#2
by
Aml-Hassan
- opened
when running the current code, we get the following error:
from speechbrain.pretrained import SepformerSeparation as separator
2 import torchaudio
4 model = separator.from_hparams(source="speechbrain/sepformer-wham16k-enhancement", savedir='pretrained_models/sepformer-wham16k-enhancement')
ModuleNotFoundError: No module named 'speechbrain.pretrained'
by referring to this issue, we can find that change speechbrain.pretrained to speechbrain.inference.separation solve that error
still getting symlink error