diff --git a/egs/librispeech/ASR/.conv_feat_vis.py.swp b/egs/librispeech/ASR/.conv_feat_vis.py.swp index bcc903d37..a40e4d2cf 100644 Binary files a/egs/librispeech/ASR/.conv_feat_vis.py.swp and b/egs/librispeech/ASR/.conv_feat_vis.py.swp differ diff --git a/egs/librispeech/ASR/conv_feat_vis.py b/egs/librispeech/ASR/conv_feat_vis.py index efe5a9d87..7bf54188c 100644 --- a/egs/librispeech/ASR/conv_feat_vis.py +++ b/egs/librispeech/ASR/conv_feat_vis.py @@ -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)