mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-12-11 06:55:27 +00:00
from local
This commit is contained in:
parent
3839093e06
commit
8473f63c2f
Binary file not shown.
@ -10,6 +10,9 @@ for spk in tqdm(spk_list):
|
|||||||
feat_list = glob(f'{spk}/*.npy')
|
feat_list = glob(f'{spk}/*.npy')
|
||||||
static_file = open(f'{spk}/{spk_id}_statistic.txt', 'w')
|
static_file = open(f'{spk}/{spk_id}_statistic.txt', 'w')
|
||||||
|
|
||||||
|
if len(feat_list) > 100:
|
||||||
|
feat_list = feat_list[:100]
|
||||||
|
|
||||||
for feat in tqdm(feat_list, leave=False):
|
for feat in tqdm(feat_list, leave=False):
|
||||||
feat = np.load(feat)
|
feat = np.load(feat)
|
||||||
feats.append(feat)
|
feats.append(feat)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user