Commit 922095c4 authored by Anthony Larcher's avatar Anthony Larcher
Browse files


parent 47c05e8f
......@@ -68,9 +68,6 @@ def bic_linear_segmentation(init_diar, cep, model_cfg):
output_diar = s4d.segmentation(cep, output_diar)
output_diar = s4d.bic_linear(cep, output_diar, model_cfg['first_seg']['thr_l'], sr=False)
print(f"Nombre de segments apres BIC LIN: {len(output_diar)}")
#final_diar = output_diar.copy_structure()
#for seg in output_diar:
# if seg.duration() > 3:
# final_diar.append_diar(seg)
......@@ -106,8 +103,6 @@ def init_clustering(init_diar, cep, model_cfg, vad_type="none"):
output_diar = s4d.viterbi.viterbi_decoding(cep, output_diar, model_cfg['first_seg']['thr_vit'])
print(f"Nombre de segments apres VITERBI: {len(output_diar)}")
return output_diar
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment