Skip to content

Commit

Permalink
Update utils.py, nit
Browse files Browse the repository at this point in the history
  • Loading branch information
vikcost authored Nov 6, 2024
1 parent 206827b commit 9b5379e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wespeaker/utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def set_seed(seed=42):

def spk2id(utt_spk_list):
_, spk_list = zip(*utt_spk_list)
spk_list = sorted(list(set(spk_list))) # remove overlap and sort
spk_list = sorted(set(spk_list)) # remove overlap and sort

spk2id_dict = {}
for i, spk in enumerate(spk_list):
Expand Down

0 comments on commit 9b5379e

Please sign in to comment.