icefall-asr-librispeech-zipformer-ctc / log /ctc_decoding /log-decode-2023-03-09-16-35-15
desh2608's picture
initial commit for zipformer_ctc
8fade2c
2023-03-09 16:35:15,181 INFO [decode.py:657] Decoding started
2023-03-09 16:35:15,181 INFO [decode.py:658] {'frame_shift_ms': 10.0, 'allowed_excess_duration_ratio': 0.1, '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': '3b81ac9686aee539d447bb2085b2cdfc131c7c91', 'k2-git-date': 'Thu Jan 26 20:40:25 2023', 'lhotse-version': '1.9.0.dev+git.97bf4b0.dirty', 'torch-version': '1.10.0+cu102', 'torch-cuda-available': True, 'torch-cuda-version': '10.2', 'python-version': '3.8', 'icefall-git-branch': 'surt', 'icefall-git-sha1': 'e9931b7-dirty', 'icefall-git-date': 'Fri Mar 3 16:27:17 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': 'r7n03', 'IP address': '10.1.7.3'}, 'beam_size': 10, 'reduction': 'sum', 'use_double_scores': True, 'search_beam': 20, 'output_beam': 8, 'min_active_states': 30, 'max_active_states': 10000, 'epoch': 30, 'iter': 0, 'avg': 9, 'use_averaged_model': True, 'method': 'ctc-decoding', 'num_paths': 100, 'nbest_scale': 0.5, 'exp_dir': PosixPath('zipformer_ctc_att/exp/v0'), 'lang_dir': PosixPath('data/lang_bpe_500_new'), 'num_decoder_layers': 6, 'lm_dir': PosixPath('data/lm'), 'rnn_lm_exp_dir': 'rnn_lm/exp', 'rnn_lm_epoch': 7, 'rnn_lm_avg': 2, 'rnn_lm_embedding_dim': 2048, 'rnn_lm_hidden_dim': 2048, 'rnn_lm_num_layers': 4, 'rnn_lm_tie_weights': False, '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', 'full_libri': True, 'manifest_dir': PosixPath('data/manifests'), 'max_duration': 200.0, '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'}
2023-03-09 16:35:15,311 INFO [lexicon.py:168] Loading pre-compiled data/lang_bpe_500_new/Linv.pt
2023-03-09 16:35:15,402 INFO [decode.py:669] device: cuda:0
2023-03-09 16:35:19,651 INFO [decode.py:757] About to create model
2023-03-09 16:35:20,131 INFO [zipformer.py:178] 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-03-09 16:35:20,189 INFO [decode.py:824] Calculating the averaged model over epoch range from 21 (excluded) to 30
2023-03-09 16:35:40,878 INFO [decode.py:840] Number of model parameters: 86083707
2023-03-09 16:35:40,879 INFO [asr_datamodule.py:468] About to get test-clean cuts
2023-03-09 16:35:41,777 INFO [asr_datamodule.py:482] About to get test-other cuts
2023-03-09 16:35:43,833 INFO [decode.py:595] batch 0/?, cuts processed until now is 14
2023-03-09 16:36:35,032 INFO [decode.py:595] batch 100/?, cuts processed until now is 2293
2023-03-09 16:36:41,874 INFO [decode.py:615] The transcripts are stored in zipformer_ctc_att/exp/v0/recogs-test-clean-ctc-decoding.txt
2023-03-09 16:36:41,975 INFO [utils.py:538] [test-clean-ctc-decoding] %WER 98.49% [51780 / 52576, 6107 ins, 4221 del, 41452 sub ]
2023-03-09 16:36:42,252 INFO [decode.py:627] Wrote detailed error stats to zipformer_ctc_att/exp/v0/errs-test-clean-ctc-decoding.txt
2023-03-09 16:36:42,253 INFO [decode.py:641]
For test-clean, WER of different settings are:
ctc-decoding 98.49 best for test-clean
2023-03-09 16:36:43,652 INFO [decode.py:595] batch 0/?, cuts processed until now is 17