How can I use inference.crop() with a list of segments for SpeechBrain/NeMo models? #1956
Unanswered
RakeshReddyKondeti
asked this question in
Q&A
Replies: 1 comment
-
|
Unfortunately, we are deprecating support for Speechbrain and NeMo models for this very reason: they are not pyannote-native models and cannot easily be used within this Inference class... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am using the following approach (from the official examples) to extract embeddings for specific segments using the SpeechBrain ECAPA model:
With
pyannotemodels, I can use theInferencewrapper to easily extract embeddings for segments, like this:However, the
Inferencewrapper expects a model that is a subclass ofpyannote.audio.core.model.Model, and does not work with SpeechBrain or NeMo models (like ECAPA or Titanet), which are wrapped byPretrainedSpeakerEmbedding.Question:
Is there a recommended way to pass a list of segments at once (like with inference.crop) and efficiently extract embeddings for all of them when using SpeechBrain or NeMo embedding models?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions