File size: 5,548 Bytes
fbd1668
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
2022-05-14 13:51:47,785 INFO [decode_test.py:489] Decoding started
2022-05-14 13:51:47,785 INFO [decode_test.py:495] Device: cuda:0
2022-05-14 13:51:47,788 INFO [decode_test.py:505] {'best_train_loss': inf, 'best_valid_loss': inf, 'best_train_epoch': -1, 'best_valid_epoch': -1, 'batch_idx_train': 0, 'log_interval': 500, 'reset_interval': 2000, 'valid_interval': 20000, 'feature_dim': 80, 'subsampling_factor': 4, 'encoder_dim': 512, 'nhead': 8, 'dim_feedforward': 2048, 'num_encoder_layers': 12, 'decoder_dim': 512, 'joiner_dim': 512, 'model_warm_step': 20000, 'env_info': {'k2-version': '1.15.1', 'k2-build-type': 'Release', 'k2-with-cuda': True, 'k2-git-sha1': 'ecfe7bd6d9189964bf3ff043038918d889a43185', 'k2-git-date': 'Tue May 10 10:57:55 2022', 'lhotse-version': '1.2.0.dev+git.a3d7b8e.clean', 'torch-version': '1.10.0', 'torch-cuda-available': True, 'torch-cuda-version': '11.1', 'python-version': '3.7', 'icefall-git-branch': 'master', 'icefall-git-sha1': 'e30e042-dirty', 'icefall-git-date': 'Fri May 13 13:03:16 2022', 'icefall-path': '/userhome/user/guanbo/icefall_master', 'k2-path': '/opt/conda/lib/python3.7/site-packages/k2-1.15.1.dev20220514+cuda11.1.torch1.10.0-py3.7-linux-x86_64.egg/k2/__init__.py', 'lhotse-path': '/userhome/user/guanbo/lhotse/lhotse/__init__.py', 'hostname': 'd5e575e00d344011ec09cda0e7275cb175f4-chenx8564-0', 'IP address': '10.206.33.89'}, 'epoch': 29, 'iter': 3488000, 'avg': 20, 'exp_dir': PosixPath('pruned_transducer_stateless2/exp'), 'bpe_model': 'data/lang_bpe_500/bpe.model', 'decoding_method': 'greedy_search', 'beam_size': 4, 'beam': 4, 'max_contexts': 4, 'max_states': 8, 'context_size': 2, 'max_sym_per_frame': 1, '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': 4, 'enable_spec_aug': True, 'spec_aug_time_warp_factor': 80, 'enable_musan': True, 'subset': 'XL', 'small_dev': False, 'res_dir': PosixPath('pruned_transducer_stateless2/exp/greedy_search'), 'suffix': 'iter-3488000-avg-20-context-2-max-sym-per-frame-1', 'blank_id': 0, 'unk_id': 2, 'vocab_size': 500}
2022-05-14 13:51:47,788 INFO [decode_test.py:507] About to create model
2022-05-14 13:51:48,181 INFO [decode_test.py:524] averaging ['pruned_transducer_stateless2/exp/checkpoint-3488000.pt', 'pruned_transducer_stateless2/exp/checkpoint-3480000.pt', 'pruned_transducer_stateless2/exp/checkpoint-3472000.pt', 'pruned_transducer_stateless2/exp/checkpoint-3464000.pt', 'pruned_transducer_stateless2/exp/checkpoint-3456000.pt', 'pruned_transducer_stateless2/exp/checkpoint-3448000.pt', 'pruned_transducer_stateless2/exp/checkpoint-3440000.pt', 'pruned_transducer_stateless2/exp/checkpoint-3432000.pt', 'pruned_transducer_stateless2/exp/checkpoint-3424000.pt', 'pruned_transducer_stateless2/exp/checkpoint-3416000.pt', 'pruned_transducer_stateless2/exp/checkpoint-3408000.pt', 'pruned_transducer_stateless2/exp/checkpoint-3400000.pt', 'pruned_transducer_stateless2/exp/checkpoint-3392000.pt', 'pruned_transducer_stateless2/exp/checkpoint-3384000.pt', 'pruned_transducer_stateless2/exp/checkpoint-3376000.pt', 'pruned_transducer_stateless2/exp/checkpoint-3368000.pt', 'pruned_transducer_stateless2/exp/checkpoint-3360000.pt', 'pruned_transducer_stateless2/exp/checkpoint-3352000.pt', 'pruned_transducer_stateless2/exp/checkpoint-3344000.pt', 'pruned_transducer_stateless2/exp/checkpoint-3336000.pt']
2022-05-14 13:52:08,047 INFO [decode_test.py:549] Number of model parameters: 78648040
2022-05-14 13:52:08,047 INFO [asr_datamodule.py:415] About to get test cuts
2022-05-14 13:52:10,933 INFO [decode_test.py:401] batch 0/?, cuts processed until now is 118
2022-05-14 13:52:19,402 INFO [decode_test.py:401] batch 20/?, cuts processed until now is 1859
2022-05-14 13:52:27,787 INFO [decode_test.py:401] batch 40/?, cuts processed until now is 3579
2022-05-14 13:52:35,965 INFO [decode_test.py:401] batch 60/?, cuts processed until now is 5872
2022-05-14 13:52:43,812 INFO [decode_test.py:401] batch 80/?, cuts processed until now is 8436
2022-05-14 13:52:51,973 INFO [decode_test.py:401] batch 100/?, cuts processed until now is 10038
2022-05-14 13:53:00,210 INFO [decode_test.py:401] batch 120/?, cuts processed until now is 11949
2022-05-14 13:53:08,120 INFO [decode_test.py:401] batch 140/?, cuts processed until now is 14046
2022-05-14 13:53:15,960 INFO [decode_test.py:401] batch 160/?, cuts processed until now is 16010
2022-05-14 13:53:23,835 INFO [decode_test.py:401] batch 180/?, cuts processed until now is 17567
2022-05-14 13:53:31,603 INFO [decode_test.py:401] batch 200/?, cuts processed until now is 18926
2022-05-14 13:53:39,477 INFO [decode_test.py:401] batch 220/?, cuts processed until now is 19923
2022-05-14 13:53:40,572 INFO [decode_test.py:418] The transcripts are stored in pruned_transducer_stateless2/exp/greedy_search/recogs-test-greedy_search-iter-3488000-avg-20-context-2-max-sym-per-frame-1.txt
2022-05-14 13:53:40,991 INFO [utils.py:406] [test-greedy_search] %WER 10.73% [41944 / 390744, 6729 ins, 11351 del, 23864 sub ]
2022-05-14 13:53:41,972 INFO [decode_test.py:431] Wrote detailed error stats to pruned_transducer_stateless2/exp/greedy_search/errs-test-greedy_search-iter-3488000-avg-20-context-2-max-sym-per-frame-1.txt
2022-05-14 13:53:41,974 INFO [decode_test.py:452] 
For test, WER of different settings are:
greedy_search	10.73	best for test

2022-05-14 13:53:41,997 INFO [decode_test.py:577] Done!