diff --git a/egs/librispeech/ASR/.conv_feat_vis.py.swp b/egs/librispeech/ASR/.conv_feat_vis.py.swp index b12886590..a24e9ff16 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 54ece8675..319d7630e 100644 --- a/egs/librispeech/ASR/conv_feat_vis.py +++ b/egs/librispeech/ASR/conv_feat_vis.py @@ -10,6 +10,9 @@ for spk in tqdm(spk_list): feat_list = glob(f'{spk}/*.npy') static_file = open(f'{spk}/{spk_id}_statistic.txt', 'w') + if len(feat_list) > 100: + feat_list = feat_list[:100] + for feat in tqdm(feat_list, leave=False): feat = np.load(feat) feats.append(feat)