icefall-asr-librispeech-pruned-transducer-stateless7-streaming-2022-12-29 / decoding_results /greedy_search /log-decode-epoch-30-avg-9-streaming-chunk-size-64-context-2-max-sym-per-frame-1-use-averaged-model-2022-12-26-15-57-02
Zengwei's picture
upload files
89beb88
raw
history blame
6.26 kB
2022-12-26 15:57:02,067 INFO [decode.py:655] Decoding started
2022-12-26 15:57:02,067 INFO [decode.py:661] Device: cuda:0
2022-12-26 15:57:02,073 INFO [decode.py:671] {'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.2', 'k2-build-type': 'Release', 'k2-with-cuda': True, 'k2-git-sha1': 'efd83642a940dc7db08688cc0791985bed1fafcd', 'k2-git-date': 'Sun Nov 27 19:12:00 2022', 'lhotse-version': '1.12.0.dev+git.891bad1.clean', 'torch-version': '1.10.0+cu102', 'torch-cuda-available': True, 'torch-cuda-version': '10.2', 'python-version': '3.8', 'icefall-git-branch': 'streaming_zipformer', 'icefall-git-sha1': '3c5ed61-clean', 'icefall-git-date': 'Mon Dec 26 13:01:22 2022', 'icefall-path': '/star-zw/workspace/zipformer/icefall_streaming2', 'k2-path': '/star-zw/workspace/share/k2-last/k2/python/k2/__init__.py', 'lhotse-path': '/star-zw/env/k2_icefall/lib/python3.8/site-packages/lhotse-1.12.0.dev0+git.891bad1.clean-py3.8.egg/lhotse/__init__.py', 'hostname': 'de-74279-k2-train-2-1216192652-5bcf7587b4-n6q9m', 'IP address': '10.177.74.211'}, 'epoch': 30, 'iter': 0, 'avg': 9, 'use_averaged_model': True, 'exp_dir': PosixPath('pruned_transducer_stateless7_streaming/exp-full-dynamic-chunk'), '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': 8, 'max_states': 64, 'context_size': 2, 'max_sym_per_frame': 1, 'num_paths': 200, 'nbest_scale': 0.5, 'num_encoder_layers': '2,4,3,2,4', 'feedforward_dims': '1024,1024,2048,2048,1024', 'nhead': '8,8,8,8,8', 'encoder_dims': '384,384,384,384,384', 'attention_dims': '192,192,192,192,192', 'encoder_unmasked_dims': '256,256,256,256,256', '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': 64, 'full_libri': True, 'manifest_dir': PosixPath('data/fbank'), 'max_duration': 600, '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-full-dynamic-chunk/greedy_search'), 'suffix': 'epoch-30-avg-9-streaming-chunk-size-64-context-2-max-sym-per-frame-1-use-averaged-model', 'blank_id': 0, 'unk_id': 2, 'vocab_size': 500}
2022-12-26 15:57:02,074 INFO [decode.py:673] About to create model
2022-12-26 15:57:02,651 INFO [zipformer.py:378] 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.
2022-12-26 15:57:02,665 INFO [decode.py:744] Calculating the averaged model over epoch range from 21 (excluded) to 30
2022-12-26 15:57:14,195 INFO [decode.py:778] Number of model parameters: 70369391
2022-12-26 15:57:14,196 INFO [asr_datamodule.py:443] About to get test-clean cuts
2022-12-26 15:57:14,223 INFO [asr_datamodule.py:450] About to get test-other cuts
2022-12-26 15:57:16,121 INFO [decode.py:560] batch 0/?, cuts processed until now is 43
2022-12-26 15:57:39,882 INFO [zipformer.py:2453] attn_weights_entropy = tensor([1.9033, 1.6283, 1.7637, 2.1427, 1.9591, 3.5384, 1.7063, 1.7244],
device='cuda:0'), covar=tensor([0.0784, 0.1860, 0.0972, 0.0883, 0.1360, 0.0198, 0.1322, 0.1551],
device='cuda:0'), in_proj_covar=tensor([0.0071, 0.0081, 0.0070, 0.0073, 0.0089, 0.0074, 0.0083, 0.0076],
device='cuda:0'), out_proj_covar=tensor([0.0003, 0.0004, 0.0004, 0.0004, 0.0004, 0.0003, 0.0004, 0.0004],
device='cuda:0')
2022-12-26 15:57:50,436 INFO [decode.py:576] The transcripts are stored in pruned_transducer_stateless7_streaming/exp-full-dynamic-chunk/greedy_search/recogs-test-clean-greedy_search-epoch-30-avg-9-streaming-chunk-size-64-context-2-max-sym-per-frame-1-use-averaged-model.txt
2022-12-26 15:57:50,510 INFO [utils.py:536] [test-clean-greedy_search] %WER 2.97% [1563 / 52576, 182 ins, 118 del, 1263 sub ]
2022-12-26 15:57:50,688 INFO [decode.py:589] Wrote detailed error stats to pruned_transducer_stateless7_streaming/exp-full-dynamic-chunk/greedy_search/errs-test-clean-greedy_search-epoch-30-avg-9-streaming-chunk-size-64-context-2-max-sym-per-frame-1-use-averaged-model.txt
2022-12-26 15:57:50,692 INFO [decode.py:605]
For test-clean, WER of different settings are:
greedy_search 2.97 best for test-clean
2022-12-26 15:57:52,364 INFO [decode.py:560] batch 0/?, cuts processed until now is 52
2022-12-26 15:58:15,082 INFO [zipformer.py:2453] attn_weights_entropy = tensor([1.3437, 1.0758, 1.6689, 2.4451, 1.8342, 2.0346, 0.8291, 1.7668],
device='cuda:0'), covar=tensor([0.1387, 0.1287, 0.0960, 0.0457, 0.0726, 0.0757, 0.1515, 0.0821],
device='cuda:0'), in_proj_covar=tensor([0.0100, 0.0116, 0.0134, 0.0151, 0.0104, 0.0140, 0.0126, 0.0112],
device='cuda:0'), out_proj_covar=tensor([0.0003, 0.0003, 0.0004, 0.0004, 0.0003, 0.0004, 0.0003, 0.0003],
device='cuda:0')
2022-12-26 15:58:24,481 INFO [decode.py:576] The transcripts are stored in pruned_transducer_stateless7_streaming/exp-full-dynamic-chunk/greedy_search/recogs-test-other-greedy_search-epoch-30-avg-9-streaming-chunk-size-64-context-2-max-sym-per-frame-1-use-averaged-model.txt
2022-12-26 15:58:24,558 INFO [utils.py:536] [test-other-greedy_search] %WER 7.50% [3924 / 52343, 386 ins, 372 del, 3166 sub ]
2022-12-26 15:58:24,817 INFO [decode.py:589] Wrote detailed error stats to pruned_transducer_stateless7_streaming/exp-full-dynamic-chunk/greedy_search/errs-test-other-greedy_search-epoch-30-avg-9-streaming-chunk-size-64-context-2-max-sym-per-frame-1-use-averaged-model.txt
2022-12-26 15:58:24,820 INFO [decode.py:605]
For test-other, WER of different settings are:
greedy_search 7.5 best for test-other
2022-12-26 15:58:24,820 INFO [decode.py:809] Done!