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

still getting symlink error

same

Ready to merge
This branch is ready to get merged automatically.
Your need to confirm your account before you can post a new comment.

Sign up or log in to comment