From b19d1ad988110f5a0ad185217119262e51969f9d Mon Sep 17 00:00:00 2001 From: dohe0342 Date: Wed, 26 Apr 2023 14:42:56 +0900 Subject: [PATCH] from local --- egs/librispeech/ASR/.conv_feat_vis.py.swp | Bin 12288 -> 12288 bytes egs/librispeech/ASR/conv_feat_vis.py | 6 ++++++ 2 files changed, 6 insertions(+) diff --git a/egs/librispeech/ASR/.conv_feat_vis.py.swp b/egs/librispeech/ASR/.conv_feat_vis.py.swp index e6672bf055fbd504ea3d260f0c8a00358db896db..156805da74a4613e0b252ee3948371c18005a65c 100644 GIT binary patch delta 194 zcmZojXh;xCG6?hZRj|}EU;qLE1_st09x0X|Hj4e?XO!M7DDat|*OHfk;UEx$WThty zD)=iE@-Z-k0I@v~TLZBg5HkYtRiLV)VAY!y1?+fP)PZ2Ko?dw{kY-Q-f`X#Vyb_Jv y)Wkd;h2oMFO|T%4pBe4-Rv diff --git a/egs/librispeech/ASR/conv_feat_vis.py b/egs/librispeech/ASR/conv_feat_vis.py index e05dd9ac2..62d40b54e 100644 --- a/egs/librispeech/ASR/conv_feat_vis.py +++ b/egs/librispeech/ASR/conv_feat_vis.py @@ -15,7 +15,13 @@ for feat in feats: feats_all = feats_all.transpose(1,0) print(feats_all.shape) +for i in range(512): + mean = feats_all[i].mean() + std = feats_all[i].std() + print(mean, std) +''' for i in range(512): plt.hist(feats_all[i], bins=500) plt.savefig(f'./conv_feat/dim_{i}.pdf') plt.close() +'''