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