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

add loggings

parent 61a72193
......@@ -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]]
##############
......
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