File size: 5,452 Bytes
4505d14 |
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 |
2023-09-11 14:16:47,669 INFO [decode.py:670] Decoding started
2023-09-11 14:16:47,669 INFO [decode.py:676] Device: cuda:0
2023-09-11 14:16:47,671 INFO [decode.py:686] {'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.24.1', 'k2-build-type': 'Release', 'k2-with-cuda': True, 'k2-git-sha1': 'c51a0b9684442a88ee37f3ce0af686a04b66855b', 'k2-git-date': 'Mon May 1 21:38:03 2023', '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': 'new-zipformer-onnx-decode', 'icefall-git-sha1': 'a53d7102-clean', 'icefall-git-date': 'Fri Jun 30 11:38:26 2023', 'icefall-path': '/ceph-zw/workspace/zipformer/icefall_zipformer', 'k2-path': '/ceph-zw/workspace/k2/k2/k2/python/k2/__init__.py', 'lhotse-path': '/ceph-zw/workspace/share/lhotse/lhotse/__init__.py', 'hostname': 'de-74279-k2-train-7-1218101249-5d97868c7c-98fdf', 'IP address': '10.177.22.20'}, 'epoch': 50, 'iter': 0, 'avg': 23, 'use_averaged_model': True, 'exp_dir': PosixPath('zipformer/exp-small'), 'bpe_model': 'data/lang_bpe_500/bpe.model', 'lang_dir': PosixPath('data/lang_bpe_500'), 'decoding_method': 'modified_beam_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,2,2,2,2,2', 'downsampling_factor': '1,2,4,8,4,2', 'feedforward_dim': '512,768,768,768,768,768', 'num_heads': '4,4,4,8,4,4', 'encoder_dim': '192,256,256,256,256,256', 'query_head_dim': '32', 'value_head_dim': '12', 'pos_head_dim': '4', 'pos_dim': 48, 'encoder_unmasked_dim': '192,192,192,192,192,192', 'cnn_module_kernel': '31,31,15,15,15,31', 'decoder_dim': 512, 'joiner_dim': 512, 'causal': False, 'chunk_size': '16,32,64,-1', 'left_context_frames': '64,128,256,-1', 'use_transducer': True, 'use_ctc': False, 'full_libri': True, 'mini_libri': False, '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('zipformer/exp-small/modified_beam_search'), 'suffix': 'epoch-50-avg-23-modified_beam_search-beam-size-4-use-averaged-model', 'blank_id': 0, 'unk_id': 2, 'vocab_size': 500}
2023-09-11 14:16:47,672 INFO [decode.py:688] About to create model
2023-09-11 14:16:48,034 INFO [decode.py:755] Calculating the averaged model over epoch range from 27 (excluded) to 50
2023-09-11 14:16:55,204 INFO [decode.py:791] Number of model parameters: 23285615
2023-09-11 14:16:55,204 INFO [asr_datamodule.py:465] About to get test-clean cuts
2023-09-11 14:16:55,207 INFO [asr_datamodule.py:472] About to get test-other cuts
2023-09-11 14:17:00,230 INFO [decode.py:562] batch 0/?, cuts processed until now is 43
2023-09-11 14:18:22,246 INFO [decode.py:562] batch 20/?, cuts processed until now is 1430
2023-09-11 14:19:13,020 INFO [zipformer.py:1728] name=None, attn_weights_entropy = tensor([5.0861, 4.5347, 4.5748, 4.8806], device='cuda:0')
2023-09-11 14:19:29,593 INFO [decode.py:562] batch 40/?, cuts processed until now is 2574
2023-09-11 14:19:32,196 INFO [decode.py:580] The transcripts are stored in zipformer/exp-small/modified_beam_search/recogs-test-clean-beam_size_4-epoch-50-avg-23-modified_beam_search-beam-size-4-use-averaged-model.txt
2023-09-11 14:19:32,269 INFO [utils.py:562] [test-clean-beam_size_4] %WER 2.42% [1273 / 52576, 139 ins, 95 del, 1039 sub ]
2023-09-11 14:19:32,442 INFO [decode.py:593] Wrote detailed error stats to zipformer/exp-small/modified_beam_search/errs-test-clean-beam_size_4-epoch-50-avg-23-modified_beam_search-beam-size-4-use-averaged-model.txt
2023-09-11 14:19:32,443 INFO [decode.py:610]
For test-clean, WER of different settings are:
beam_size_4 2.42 best for test-clean
2023-09-11 14:19:37,300 INFO [decode.py:562] batch 0/?, cuts processed until now is 52
2023-09-11 14:20:56,041 INFO [decode.py:562] batch 20/?, cuts processed until now is 1646
2023-09-11 14:21:39,690 INFO [zipformer.py:1728] name=None, attn_weights_entropy = tensor([6.0102, 5.4262, 5.4479, 5.3197], device='cuda:0')
2023-09-11 14:22:01,544 INFO [decode.py:562] batch 40/?, cuts processed until now is 2870
2023-09-11 14:22:04,095 INFO [decode.py:580] The transcripts are stored in zipformer/exp-small/modified_beam_search/recogs-test-other-beam_size_4-epoch-50-avg-23-modified_beam_search-beam-size-4-use-averaged-model.txt
2023-09-11 14:22:04,168 INFO [utils.py:562] [test-other-beam_size_4] %WER 5.73% [3001 / 52343, 308 ins, 244 del, 2449 sub ]
2023-09-11 14:22:04,414 INFO [decode.py:593] Wrote detailed error stats to zipformer/exp-small/modified_beam_search/errs-test-other-beam_size_4-epoch-50-avg-23-modified_beam_search-beam-size-4-use-averaged-model.txt
2023-09-11 14:22:04,415 INFO [decode.py:610]
For test-other, WER of different settings are:
beam_size_4 5.73 best for test-other
2023-09-11 14:22:04,415 INFO [decode.py:822] Done!
|