divime description journal paper
source activate pyannote-lena
for j in yunres/.rttm ; do mv $j $j.unsorted ; done
for j in yunres/.rttm.unsorted ; do sorted=echo $j | sed "s/.unsorted//"
; sort -n -k4 $j > $sorted ; done
for j in gold/.rttm ; do mv $j $j.unsorted ; done
for j in gold/.rttm.unsorted ; do sorted=echo $j | sed "s/.unsorted//"
; sort -n -k4 $j > $sorted ; done
for j in yunnew/.rttm ; do mv $j $j.unsorted ; done
for j in yunnew/.rttm.unsorted ; do sorted=echo $j | sed "s/.unsorted//"
; sort -n -k4 $j > $sorted ; done
python labels_mapper.py -p yunres/ -m gold python labels_mapper.py -p yunnew/ -m gold python labels_mapper.py -p gold/ -m gold -o
python compute_metrics.py -ref gold/mapped/ -hyp yunnew/mapped/ -t diarization -m diaer coverage homogeneity completeness purity