From 9b5379e94c78a4ba050ba865a4f71db1954ba574 Mon Sep 17 00:00:00 2001 From: vikcost <152401927+vikcost@users.noreply.github.com> Date: Wed, 6 Nov 2024 15:08:07 -0800 Subject: [PATCH] Update utils.py, nit --- wespeaker/utils/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wespeaker/utils/utils.py b/wespeaker/utils/utils.py index 44564da..23bb3d0 100644 --- a/wespeaker/utils/utils.py +++ b/wespeaker/utils/utils.py @@ -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):