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/*')
|
||||
for spk in spk_list:
|
||||
spk_id = spk.split('/')[-1]
|
||||
feats = []
|
||||
feat_list = glob(f'{spk}/*.npy')
|
||||
|
||||
static_file = open(f'{spk}/{spk_id}_statistic.txt', 'w')
|
||||
for feat in feat_list:
|
||||
feat = np.load(feat)
|
||||
feats.append(feat)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user