From f2a27ff2819462bedfb859e8d36f2e7330e90994 Mon Sep 17 00:00:00 2001 From: dohe0342 Date: Fri, 28 Apr 2023 01:11:47 +0900 Subject: [PATCH] from local --- egs/librispeech/ASR/.conv_feat_vis.py.swp | Bin 12288 -> 12288 bytes egs/librispeech/ASR/.test.sh.swp | Bin 12288 -> 12288 bytes egs/librispeech/ASR/conv_feat_vis.py | 5 ++--- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/egs/librispeech/ASR/.conv_feat_vis.py.swp b/egs/librispeech/ASR/.conv_feat_vis.py.swp index f4598ef38b723c7a4634b1727530fe5bb03a686c..460842996a991bb52f18dd6311798e4032d43bfe 100644 GIT binary patch delta 174 zcmZojXh_%~Ai$`!Sy13JKkqVb1_m!41_lNJ1_q_cf(rU+r}!8cP6F{7AnpL-b|8)f zVjCb<1Y!jsW(VTCybKJ>fp{4Z*8*`V5PJf#8W6Jr@eQD<7l3#>5cdIb91w$Saspy2 kp3RIblesw*KtNqxeY2;I2_rjz=q$f&&eyq+N=0QLzS%K!iX delta 155 zcmZojXh_%~Ai$`+Sy13JKkp)L1_m!41_lNJ1_tHHf(rU+r}-EdP66>+AnpX>4j_&K zVp||q0%AoV<^bY*ybKI0fOt6&*8y=Y5C;OW9uV^a@dKc#H-LCQ5KjZ*G$0NFVvud# aJewI=mT+%&(lKV-T%#MrxcR)EAtL}T>>CRJ diff --git a/egs/librispeech/ASR/.test.sh.swp b/egs/librispeech/ASR/.test.sh.swp index 300ef850a158140bda68664aeb840f470d31bc8f..715fecc7bdff6530a3aad2972c60539f2b81232d 100644 GIT binary patch delta 31 lcmZojXh;xCG6?hZRj|}EU;qLE28LTxyi(MKH;TQ|2LOTA2vPt5 delta 31 lcmZojXh;xCG6?hZRj|}EU;qLE28N?kyiy(rZ4`T@4*-Q#2=xE} 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() - '''