icefall-asr-librispeech-pruned-transducer-stateless5-2022-05-13 / decoding-results /fast_beam_search /log-decode-epoch-39-avg-7-beam-4-max-contexts-4-max-states-8-2022-05-13-09-10-19
csukuangfj's picture
Add fast beam search results.
963968d
raw
history blame
5.21 kB
2022-05-13 09:10:19,780 INFO [decode.py:479] Decoding started
2022-05-13 09:10:19,780 INFO [decode.py:485] Device: cuda:0
2022-05-13 09:10:19,783 INFO [decode.py:495] {'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, 'model_warm_step': 3000, 'env_info': {'k2-version': '1.15.1', 'k2-build-type': 'Release', 'k2-with-cuda': True, 'k2-git-sha1': 'f8d2dba06c000ffee36aab5b66f24e7c9809f116', 'k2-git-date': 'Thu Apr 21 12:20:34 2022', 'lhotse-version': '1.1.0.dev+missing.version.file', 'torch-version': '1.10.0+cu102', 'torch-cuda-available': True, 'torch-cuda-version': '10.2', 'python-version': '3.8', 'icefall-git-branch': 'deeper-conformer', 'icefall-git-sha1': '994b8a7-clean', 'icefall-git-date': 'Fri May 13 07:41:50 2022', 'icefall-path': '/ceph-fj/fangjun/open-source-2/icefall-deeper-conformer', 'k2-path': '/ceph-fj/fangjun/open-source-2/k2-multi-22/k2/python/k2/__init__.py', 'lhotse-path': '/ceph-fj/fangjun/open-source-2/lhotse-multi-3/lhotse/__init__.py', 'hostname': 'de-74279-k2-train-2-0307200233-b554c565c-lf9qd', 'IP address': '10.177.74.201'}, 'epoch': 39, 'iter': 0, 'avg': 7, 'exp_dir': PosixPath('pruned_transducer_stateless5/exp-L'), 'bpe_model': 'data/lang_bpe_500/bpe.model', 'decoding_method': 'fast_beam_search', 'beam_size': 4, 'beam': 4, 'max_contexts': 4, 'max_states': 8, 'context_size': 2, 'max_sym_per_frame': 1, 'num_encoder_layers': 18, 'dim_feedforward': 2048, 'nhead': 8, 'encoder_dim': 512, 'decoder_dim': 512, 'joiner_dim': 512, '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, 'return_cuts': True, 'num_workers': 2, 'enable_spec_aug': True, 'spec_aug_time_warp_factor': 80, 'enable_musan': True, 'res_dir': PosixPath('pruned_transducer_stateless5/exp-L/fast_beam_search'), 'suffix': 'epoch-39-avg-7-beam-4-max-contexts-4-max-states-8', 'blank_id': 0, 'unk_id': 2, 'vocab_size': 500}
2022-05-13 09:10:19,783 INFO [decode.py:497] About to create model
2022-05-13 09:10:20,384 INFO [decode.py:525] averaging ['pruned_transducer_stateless5/exp-L/epoch-33.pt', 'pruned_transducer_stateless5/exp-L/epoch-34.pt', 'pruned_transducer_stateless5/exp-L/epoch-35.pt', 'pruned_transducer_stateless5/exp-L/epoch-36.pt', 'pruned_transducer_stateless5/exp-L/epoch-37.pt', 'pruned_transducer_stateless5/exp-L/epoch-38.pt', 'pruned_transducer_stateless5/exp-L/epoch-39.pt']
2022-05-13 09:10:45,476 INFO [decode.py:539] Number of model parameters: 118129516
2022-05-13 09:10:45,476 INFO [asr_datamodule.py:422] About to get test-clean cuts
2022-05-13 09:10:45,589 INFO [asr_datamodule.py:427] About to get test-other cuts
2022-05-13 09:10:49,212 INFO [decode.py:393] batch 0/?, cuts processed until now is 123
2022-05-13 09:11:35,756 INFO [decode.py:393] batch 10/?, cuts processed until now is 945
2022-05-13 09:12:16,197 INFO [decode.py:393] batch 20/?, cuts processed until now is 1558
2022-05-13 09:12:50,523 INFO [decode.py:393] batch 30/?, cuts processed until now is 2383
2022-05-13 09:13:32,409 INFO [decode.py:410] The transcripts are stored in pruned_transducer_stateless5/exp-L/fast_beam_search/recogs-test-clean-beam_4_max_contexts_4_max_states_8-epoch-39-avg-7-beam-4-max-contexts-4-max-states-8.txt
2022-05-13 09:13:32,495 INFO [utils.py:405] [test-clean-beam_4_max_contexts_4_max_states_8] %WER 2.38% [1251 / 52576, 133 ins, 93 del, 1025 sub ]
2022-05-13 09:13:32,694 INFO [decode.py:423] Wrote detailed error stats to pruned_transducer_stateless5/exp-L/fast_beam_search/errs-test-clean-beam_4_max_contexts_4_max_states_8-epoch-39-avg-7-beam-4-max-contexts-4-max-states-8.txt
2022-05-13 09:13:32,695 INFO [decode.py:440]
For test-clean, WER of different settings are:
beam_4_max_contexts_4_max_states_8 2.38 best for test-clean
2022-05-13 09:13:35,207 INFO [decode.py:393] batch 0/?, cuts processed until now is 138
2022-05-13 09:14:00,087 INFO [decode.py:393] batch 10/?, cuts processed until now is 1070
2022-05-13 09:14:55,503 INFO [decode.py:393] batch 20/?, cuts processed until now is 1765
2022-05-13 09:15:23,954 INFO [decode.py:393] batch 30/?, cuts processed until now is 2653
2022-05-13 09:15:49,041 INFO [decode.py:410] The transcripts are stored in pruned_transducer_stateless5/exp-L/fast_beam_search/recogs-test-other-beam_4_max_contexts_4_max_states_8-epoch-39-avg-7-beam-4-max-contexts-4-max-states-8.txt
2022-05-13 09:15:49,129 INFO [utils.py:405] [test-other-beam_4_max_contexts_4_max_states_8] %WER 5.50% [2878 / 52343, 284 ins, 257 del, 2337 sub ]
2022-05-13 09:15:49,305 INFO [decode.py:423] Wrote detailed error stats to pruned_transducer_stateless5/exp-L/fast_beam_search/errs-test-other-beam_4_max_contexts_4_max_states_8-epoch-39-avg-7-beam-4-max-contexts-4-max-states-8.txt
2022-05-13 09:15:49,305 INFO [decode.py:440]
For test-other, WER of different settings are:
beam_4_max_contexts_4_max_states_8 5.5 best for test-other
2022-05-13 09:15:49,306 INFO [decode.py:567] Done!