diff --git a/egs/librispeech/ASR/.conv_feat_vis.py.swp b/egs/librispeech/ASR/.conv_feat_vis.py.swp index f4598ef38..460842996 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/.test.sh.swp b/egs/librispeech/ASR/.test.sh.swp index 300ef850a..715fecc7b 100644 Binary files a/egs/librispeech/ASR/.test.sh.swp and b/egs/librispeech/ASR/.test.sh.swp differ diff --git a/egs/librispeech/ASR/conv_feat_vis.py b/egs/librispeech/ASR/conv_feat_vis.py index 70c757a00..1d76b6a1f 100644 --- a/egs/librispeech/ASR/conv_feat_vis.py +++ b/egs/librispeech/ASR/conv_feat_vis.py @@ -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() - '''