File size: 5,304 Bytes
f1f4b57 |
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-05-12 19:56:52,790 INFO [decode.py:678] Decoding started
2023-05-12 19:56:52,790 INFO [decode.py:684] Device: cuda:0
2023-05-12 19:56:52,793 INFO [decode.py:694] {'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.4', 'k2-build-type': 'Release', 'k2-with-cuda': True, 'k2-git-sha1': '7efe024b23078ffa0bcb5598afff14f356edae7c', 'k2-git-date': 'Mon Jan 30 20:22:57 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': 'zipformer2_from_dan', 'icefall-git-sha1': 'ec211286-clean', 'icefall-git-date': 'Fri May 12 18:45:00 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-1-1220091118-57c4d55446-mlpzc', 'IP address': '10.177.22.19'}, 'epoch': 40, 'iter': 0, 'avg': 13, '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', '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-40-avg-13-modified_beam_search-beam-size-4-use-averaged-model', 'blank_id': 0, 'unk_id': 2, 'vocab_size': 500}
2023-05-12 19:56:52,793 INFO [decode.py:696] About to create model
2023-05-12 19:56:53,115 INFO [decode.py:763] Calculating the averaged model over epoch range from 27 (excluded) to 40
2023-05-12 19:56:58,901 INFO [decode.py:799] Number of model parameters: 23285615
2023-05-12 19:56:58,901 INFO [asr_datamodule.py:465] About to get test-clean cuts
2023-05-12 19:56:58,903 INFO [asr_datamodule.py:472] About to get test-other cuts
2023-05-12 19:57:03,238 INFO [decode.py:570] batch 0/?, cuts processed until now is 43
2023-05-12 19:58:13,188 INFO [decode.py:570] batch 20/?, cuts processed until now is 1430
2023-05-12 19:58:20,620 INFO [zipformer.py:1655] name=None, attn_weights_entropy = tensor([3.7557, 3.9278, 3.8564, 4.6704, 3.6542, 4.2698, 4.6970, 4.2007],
device='cuda:0')
2023-05-12 19:59:24,812 INFO [decode.py:570] batch 40/?, cuts processed until now is 2574
2023-05-12 19:59:27,560 INFO [decode.py:588] The transcripts are stored in zipformer/exp-small/modified_beam_search/recogs-test-clean-beam_size_4-epoch-40-avg-13-modified_beam_search-beam-size-4-use-averaged-model.txt
2023-05-12 19:59:27,643 INFO [utils.py:558] [test-clean-beam_size_4] %WER 2.46% [1293 / 52576, 143 ins, 103 del, 1047 sub ]
2023-05-12 19:59:27,825 INFO [decode.py:601] Wrote detailed error stats to zipformer/exp-small/modified_beam_search/errs-test-clean-beam_size_4-epoch-40-avg-13-modified_beam_search-beam-size-4-use-averaged-model.txt
2023-05-12 19:59:27,825 INFO [decode.py:618]
For test-clean, WER of different settings are:
beam_size_4 2.46 best for test-clean
2023-05-12 19:59:32,962 INFO [decode.py:570] batch 0/?, cuts processed until now is 52
2023-05-12 20:00:47,927 INFO [decode.py:570] batch 20/?, cuts processed until now is 1646
2023-05-12 20:01:43,007 INFO [decode.py:570] batch 40/?, cuts processed until now is 2870
2023-05-12 20:01:45,297 INFO [decode.py:588] The transcripts are stored in zipformer/exp-small/modified_beam_search/recogs-test-other-beam_size_4-epoch-40-avg-13-modified_beam_search-beam-size-4-use-averaged-model.txt
2023-05-12 20:01:45,382 INFO [utils.py:558] [test-other-beam_size_4] %WER 5.83% [3049 / 52343, 318 ins, 242 del, 2489 sub ]
2023-05-12 20:01:45,564 INFO [decode.py:601] Wrote detailed error stats to zipformer/exp-small/modified_beam_search/errs-test-other-beam_size_4-epoch-40-avg-13-modified_beam_search-beam-size-4-use-averaged-model.txt
2023-05-12 20:01:45,565 INFO [decode.py:618]
For test-other, WER of different settings are:
beam_size_4 5.83 best for test-other
2023-05-12 20:01:45,565 INFO [decode.py:830] Done!
|