How to save and load diarization results ? #1341
amitli1
started this conversation in
Development
Replies: 3 comments
-
this is how you write to rttm file with open('out_put.rttm','w') as f:
groundtruth.write_rttm(f) |
Beta Was this translation helpful? Give feedback.
0 replies
-
this will save simple_text = ''
for (start,end),index in groundtruth.itertracks():
simple_text += f"%s: [%.2fs -> %.2fs]\n" % (index,start, end) |
Beta Was this translation helpful? Give feedback.
0 replies
-
It looks like there's support to read and write .rttm or .lab files. Here's an example using .lab:
|
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
-
I want to save the
pyannote/speaker-diarization
results to file (text or pickle) and load it later (instead of rerunning the diarization pipeline).Is it possible ?
I want to save
diarization
I saw that I can save it as
rttm
file, but don't have the opportunity to load thisrttm
topyannote.core.annotation.Annotation
Beta Was this translation helpful? Give feedback.
All reactions