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
f104271004
commit
f2a27ff281
Binary file not shown.
Binary file not shown.
@ -8,7 +8,7 @@ for spk in tqdm(spk_list):
|
||||
spk_id = spk.split('/')[-1]
|
||||
feats = []
|
||||
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]
|
||||
@ -22,7 +22,7 @@ for spk in tqdm(spk_list):
|
||||
feats_all = np.concatenate([feats_all, feat])
|
||||
|
||||
feats_all = feats_all.transpose(1,0)
|
||||
|
||||
'''
|
||||
for i in tqdm(range(512), leave=False):
|
||||
mean = feats_all[i].mean()
|
||||
std = feats_all[i].std()
|
||||
@ -32,4 +32,3 @@ for spk in tqdm(spk_list):
|
||||
plt.hist(feats_all[i], bins=500)
|
||||
plt.savefig(f'./conv_feat/dim_{i}.pdf')
|
||||
plt.close()
|
||||
'''
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user