Commit fe8e0dd1 authored by Anthony Larcher's avatar Anthony Larcher
Browse files

adapt to s4d

parent 72c906a8
......@@ -66,8 +66,8 @@ def bic_linear_segmentation(init_diar, cep, model_cfg):
if c.duration() > 50:
output_diar.append_diar(c)
output_diar = s4d.segmentation.segmentation(cep, output_diar)
output_diar = s4d.segmentation.bic_linear(cep, output_diar, model_cfg['first_seg']['thr_l'], sr=False)
output_diar = s4d.segmentation(cep, output_diar)
output_diar = s4d.bic_linear(cep, output_diar, model_cfg['first_seg']['thr_l'], sr=False)
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