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
2eec51eaa5
commit
149de1c41a
Binary file not shown.
15
egs/librispeech/ASR/conv_feat_vis.py
Normal file
15
egs/librispeech/ASR/conv_feat_vis.py
Normal file
@ -0,0 +1,15 @@
|
||||
from glob import glob
|
||||
import numpy as np
|
||||
import matplotlib.pyplot as plt
|
||||
|
||||
feats = []
|
||||
feat_list = glob('./conv_feat/*')
|
||||
for feat in feat_list:
|
||||
feat = np.load(feat)
|
||||
feats.append(feat)
|
||||
|
||||
feats_all = feats[0]
|
||||
for feat in feats:
|
||||
feats_all = np.concatenate([feats_all, feat])
|
||||
|
||||
print(feats_all.shape)
|
||||
Loading…
x
Reference in New Issue
Block a user