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
5324c9cfdf
commit
a42302c170
Binary file not shown.
@ -4,8 +4,11 @@ import matplotlib.pyplot as plt
|
|||||||
|
|
||||||
spk_list = glob('./conv_feat/*')
|
spk_list = glob('./conv_feat/*')
|
||||||
for spk in spk_list:
|
for spk in spk_list:
|
||||||
|
spk_id = spk.split('/')[-1]
|
||||||
feats = []
|
feats = []
|
||||||
feat_list = glob(f'{spk}/*.npy')
|
feat_list = glob(f'{spk}/*.npy')
|
||||||
|
|
||||||
|
static_file = open(f'{spk}/{spk_id}_statistic.txt', 'w')
|
||||||
for feat in feat_list:
|
for feat in feat_list:
|
||||||
feat = np.load(feat)
|
feat = np.load(feat)
|
||||||
feats.append(feat)
|
feats.append(feat)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user