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
aa835e1e
Commit
aa835e1e
authored
May 26, 2021
by
Anthony Larcher
Browse files
add loggings
parent
61a72193
Changes
1
Hide whitespace changes
Inline
Side-by-side
lium_baseline/cross_show.py
View file @
aa835e1e
...
...
@@ -270,7 +270,7 @@ def allies_cross_show_clustering(show,
for
idx
,
current_spk
in
enumerate
(
current_vec_per_speaker
.
modelset
):
if
unique_past_speakers_scores
[:,
idx
].
max
()
>
th_x
and
unique_past_speakers_scores
[,
:].
argmax
()[
0
]
==
idx
:
if
unique_past_speakers_scores
[:,
idx
].
max
()
>
th_x
and
unique_past_speakers_scores
[
unique_past_speakers_scores
[:,
idx
].
argmax
()[
0
]
,
:].
argmax
()[
0
]
==
idx
:
# if the current speaker is the closest of its own closest archived speaker: match!
clustering_dict
[
current_spk
]
=
spk_ids
[
unique_past_speakers_scores
[:,
idx
].
argmax
()[
0
]]
##############
...
...
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