File size: 5,638 Bytes
1d8c5af
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
2023-04-04 09:35:47,107 INFO [decode.py:649] Decoding started
2023-04-04 09:35:47,108 INFO [decode.py:655] Device: cuda:0
2023-04-04 09:35:47,110 INFO [decode.py:665] {'best_train_loss': inf, 'best_valid_loss': inf, 'best_train_epoch': -1, 'best_valid_epoch': -1, 'batch_idx_train': 0, 'log_interval': 50, 'reset_interval': 200, 'valid_interval': 3000, 'feature_dim': 80, 'subsampling_factor': 4, 'warm_step': 2000, 'env_info': {'k2-version': '1.23.3', 'k2-build-type': 'Debug', 'k2-with-cuda': True, 'k2-git-sha1': '1c9950559223ec24d187f56bc424c3b43904bed3', 'k2-git-date': 'Thu Jan 26 22:00:26 2023', 'lhotse-version': '1.13.0.dev+git.ca98c73.dirty', 'torch-version': '2.0.0+cu117', 'torch-cuda-available': True, 'torch-cuda-version': '11.7', 'python-version': '3.8', 'icefall-git-branch': 'surt', 'icefall-git-sha1': '51e6a8a-dirty', 'icefall-git-date': 'Fri Mar 17 11:23:13 2023', 'icefall-path': '/exp/draj/mini_scale_2022/icefall', 'k2-path': '/exp/draj/mini_scale_2022/k2/k2/python/k2/__init__.py', 'lhotse-path': '/exp/draj/mini_scale_2022/lhotse/lhotse/__init__.py', 'hostname': 'r7n04', 'IP address': '10.1.7.4'}, 'epoch': 30, 'iter': 0, 'avg': 9, 'use_averaged_model': True, 'exp_dir': PosixPath('pruned_transducer_stateless7_streaming/exp/v2'), 'bpe_model': 'data/lang_bpe_500/bpe.model', 'lang_dir': PosixPath('data/lang_bpe_500'), 'decoding_method': 'greedy_search', 'beam_size': 4, 'beam': 20.0, 'ngram_lm_scale': 0.01, 'max_contexts': 4, 'max_states': 8, 'context_size': 2, 'max_sym_per_frame': 1, 'num_paths': 200, 'nbest_scale': 0.5, 'num_encoder_layers': '2,2,2,2,2', 'feedforward_dims': '768,768,768,768,768', 'nhead': '8,8,8,8,8', 'encoder_dims': '256,256,256,256,256', 'attention_dims': '192,192,192,192,192', 'encoder_unmasked_dims': '192,192,192,192,192', 'zipformer_downsampling_factors': '1,2,4,8,2', 'cnn_module_kernels': '31,31,31,31,31', 'decoder_dim': 512, 'joiner_dim': 512, 'short_chunk_size': 50, 'num_left_chunks': 4, 'decode_chunk_len': 32, 'full_libri': True, 'manifest_dir': PosixPath('data/manifests'), 'max_duration': 500, 'bucketing_sampler': True, 'num_buckets': 30, 'concatenate_cuts': False, 'duration_factor': 1.0, 'gap': 1.0, 'on_the_fly_feats': False, 'shuffle': True, 'drop_last': True, 'return_cuts': True, 'num_workers': 2, 'enable_spec_aug': True, 'spec_aug_time_warp_factor': 80, 'enable_musan': True, 'input_strategy': 'PrecomputedFeatures', 'res_dir': PosixPath('pruned_transducer_stateless7_streaming/exp/v2/greedy_search'), 'suffix': 'epoch-30-avg-9-streaming-chunk-size-32-context-2-max-sym-per-frame-1-use-averaged-model', 'blank_id': 0, 'unk_id': 2, 'vocab_size': 500}
2023-04-04 09:35:47,110 INFO [decode.py:667] About to create model
2023-04-04 09:35:47,453 INFO [zipformer.py:405] At encoder stack 4, which has downsampling_factor=2, we will combine the outputs of layers 1 and 3, with downsampling_factors=2 and 8.
2023-04-04 09:35:47,461 INFO [decode.py:738] Calculating the averaged model over epoch range from 21 (excluded) to 30
2023-04-04 09:35:49,999 INFO [decode.py:772] Number of model parameters: 20697573
2023-04-04 09:35:49,999 INFO [asr_datamodule.py:454] About to get test-clean cuts
2023-04-04 09:35:50,001 INFO [asr_datamodule.py:461] About to get test-other cuts
2023-04-04 09:35:53,538 INFO [decode.py:560] batch 0/?, cuts processed until now is 36
2023-04-04 09:36:38,926 INFO [decode.py:560] batch 50/?, cuts processed until now is 2609
2023-04-04 09:36:40,063 INFO [decode.py:574] The transcripts are stored in pruned_transducer_stateless7_streaming/exp/v2/greedy_search/recogs-test-clean-epoch-30-avg-9-streaming-chunk-size-32-context-2-max-sym-per-frame-1-use-averaged-model.txt
2023-04-04 09:36:40,141 INFO [utils.py:560] [test-clean-greedy_search] %WER 3.58% [1881 / 52576, 211 ins, 163 del, 1507 sub ]
2023-04-04 09:36:40,301 INFO [decode.py:585] Wrote detailed error stats to pruned_transducer_stateless7_streaming/exp/v2/greedy_search/errs-test-clean-epoch-30-avg-9-streaming-chunk-size-32-context-2-max-sym-per-frame-1-use-averaged-model.txt
2023-04-04 09:36:40,302 INFO [decode.py:599] 
For test-clean, WER of different settings are:
greedy_search	3.58	best for test-clean

2023-04-04 09:36:41,891 INFO [decode.py:560] batch 0/?, cuts processed until now is 43
2023-04-04 09:36:45,297 INFO [zipformer.py:2441] attn_weights_entropy = tensor([3.1587, 1.3790, 1.6006, 1.5477, 2.7838, 1.2051, 2.2557, 3.1271],
       device='cuda:0'), covar=tensor([0.0570, 0.2876, 0.2844, 0.1718, 0.0661, 0.2407, 0.1209, 0.0258],
       device='cuda:0'), in_proj_covar=tensor([0.0415, 0.0371, 0.0391, 0.0347, 0.0375, 0.0351, 0.0386, 0.0408],
       device='cuda:0'), out_proj_covar=tensor([0.0003, 0.0003, 0.0003, 0.0003, 0.0003, 0.0003, 0.0003, 0.0003],
       device='cuda:0')
2023-04-04 09:37:23,322 INFO [decode.py:560] batch 50/?, cuts processed until now is 2939
2023-04-04 09:37:23,429 INFO [decode.py:574] The transcripts are stored in pruned_transducer_stateless7_streaming/exp/v2/greedy_search/recogs-test-other-epoch-30-avg-9-streaming-chunk-size-32-context-2-max-sym-per-frame-1-use-averaged-model.txt
2023-04-04 09:37:23,509 INFO [utils.py:560] [test-other-greedy_search] %WER 9.29% [4862 / 52343, 500 ins, 491 del, 3871 sub ]
2023-04-04 09:37:23,678 INFO [decode.py:585] Wrote detailed error stats to pruned_transducer_stateless7_streaming/exp/v2/greedy_search/errs-test-other-epoch-30-avg-9-streaming-chunk-size-32-context-2-max-sym-per-frame-1-use-averaged-model.txt
2023-04-04 09:37:23,679 INFO [decode.py:599] 
For test-other, WER of different settings are:
greedy_search	9.29	best for test-other

2023-04-04 09:37:23,679 INFO [decode.py:803] Done!