Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Anthony Larcher
evALLIES
Commits
922095c4
Commit
922095c4
authored
Aug 30, 2021
by
Anthony Larcher
Browse files
debug
parent
47c05e8f
Changes
1
Hide whitespace changes
Inline
Side-by-side
lium_baseline/system.py
View file @
922095c4
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment