Instructions to use medkit/simsamu-diarization with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- pyannote.audio
How to use medkit/simsamu-diarization with pyannote.audio:
from pyannote.audio import Model, Inference model = Model.from_pretrained("medkit/simsamu-diarization") inference = Inference(model) # inference on the whole file inference("file.wav") # inference on an excerpt from pyannote.core import Segment excerpt = Segment(start=2.0, end=5.0) inference.crop("file.wav", excerpt) - Notebooks
- Google Colab
- Kaggle
ImportError: There is no such class as speechbrain.lobes.models.huggingface_wav2vec.HuggingFaceWav2Vec2
#1
by ArsonBahman - opened
Hello ,
I have been trying to run the exemple of code that's provided.
However I get the following message.
"ImportError: There is no such class as speechbrain.lobes.models.huggingface_wav2vec.HuggingFaceWav2Vec2"
Sounds like HuggingFaceWav2Vec2 has been removed from speechbrain.
Would you know how to use an alternative class or fix it ?
Thank you !