from local

This commit is contained in:
dohe0342 2023-04-27 21:09:09 +09:00
parent 3839093e06
commit 8473f63c2f
2 changed files with 3 additions and 0 deletions

View File

@ -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)