File size: 5,088 Bytes
0a56a4a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
2022-05-13 09:30:57,234 INFO [decode.py:531] Decoding started
2022-05-13 09:30:57,234 INFO [decode.py:537] Device: cuda:0
2022-05-13 09:30:57,237 INFO [decode.py:547] {'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, 'encoder_dim': 512, 'nhead': 8, 'dim_feedforward': 2048, 'num_encoder_layers': 12, 'decoder_dim': 512, 'joiner_dim': 512, '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': 'modified-conformer-with-multi-datasets', 'icefall-git-sha1': '00fd664-dirty', 'icefall-git-date': 'Fri Apr 29 15:28:42 2022', 'icefall-path': '/ceph-fj/fangjun/open-source-2/icefall-multi-4', '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': 28, 'iter': 1224000, 'avg': 14, 'exp_dir': PosixPath('pruned_transducer_stateless3/exp-0.9'), 'bpe_model': 'data/lang_bpe_500/bpe.model', 'decoding_method': 'greedy_search', 'beam_size': 4, 'beam': 4.0, 'max_contexts': 32, 'max_states': 8, 'context_size': 2, 'max_sym_per_frame': 1, 'num_paths': 100, 'nbest_scale': 0.5, 'max_duration': 600, 'bucketing_sampler': True, 'num_buckets': 30, 'shuffle': True, 'return_cuts': True, 'num_workers': 2, 'on_the_fly_num_workers': 0, 'enable_spec_aug': True, 'spec_aug_time_warp_factor': 80, 'enable_musan': True, 'manifest_dir': PosixPath('data/fbank'), 'on_the_fly_feats': False, 'res_dir': PosixPath('pruned_transducer_stateless3/exp-0.9/greedy_search'), 'suffix': 'iter-1224000-avg-14-context-2-max-sym-per-frame-1', 'blank_id': 0, 'unk_id': 2, 'vocab_size': 500}
2022-05-13 09:30:57,237 INFO [decode.py:549] About to create model
2022-05-13 09:30:57,725 INFO [decode.py:566] averaging ['pruned_transducer_stateless3/exp-0.9/checkpoint-1224000.pt', 'pruned_transducer_stateless3/exp-0.9/checkpoint-1216000.pt', 'pruned_transducer_stateless3/exp-0.9/checkpoint-1208000.pt', 'pruned_transducer_stateless3/exp-0.9/checkpoint-1200000.pt', 'pruned_transducer_stateless3/exp-0.9/checkpoint-1192000.pt', 'pruned_transducer_stateless3/exp-0.9/checkpoint-1184000.pt', 'pruned_transducer_stateless3/exp-0.9/checkpoint-1176000.pt', 'pruned_transducer_stateless3/exp-0.9/checkpoint-1168000.pt', 'pruned_transducer_stateless3/exp-0.9/checkpoint-1160000.pt', 'pruned_transducer_stateless3/exp-0.9/checkpoint-1152000.pt', 'pruned_transducer_stateless3/exp-0.9/checkpoint-1144000.pt', 'pruned_transducer_stateless3/exp-0.9/checkpoint-1136000.pt', 'pruned_transducer_stateless3/exp-0.9/checkpoint-1128000.pt', 'pruned_transducer_stateless3/exp-0.9/checkpoint-1120000.pt']
2022-05-13 09:31:34,244 INFO [decode.py:595] Number of model parameters: 80199888
2022-05-13 09:31:34,245 INFO [librispeech.py:58] About to get test-clean cuts from data/fbank/cuts_test-clean.json.gz
2022-05-13 09:31:34,385 INFO [librispeech.py:63] About to get test-other cuts from data/fbank/cuts_test-other.json.gz
2022-05-13 09:31:36,351 INFO [decode.py:438] batch 0/?, cuts processed until now is 123
2022-05-13 09:32:07,927 INFO [decode.py:455] The transcripts are stored in pruned_transducer_stateless3/exp-0.9/greedy_search/recogs-test-clean-greedy_search-iter-1224000-avg-14-context-2-max-sym-per-frame-1.txt
2022-05-13 09:32:08,021 INFO [utils.py:405] [test-clean-greedy_search] %WER 2.03% [1069 / 52576, 108 ins, 91 del, 870 sub ]
2022-05-13 09:32:08,353 INFO [decode.py:468] Wrote detailed error stats to pruned_transducer_stateless3/exp-0.9/greedy_search/errs-test-clean-greedy_search-iter-1224000-avg-14-context-2-max-sym-per-frame-1.txt
2022-05-13 09:32:08,354 INFO [decode.py:485] 
For test-clean, WER of different settings are:
greedy_search	2.03	best for test-clean

2022-05-13 09:32:09,808 INFO [decode.py:438] batch 0/?, cuts processed until now is 138
2022-05-13 09:32:39,850 INFO [decode.py:455] The transcripts are stored in pruned_transducer_stateless3/exp-0.9/greedy_search/recogs-test-other-greedy_search-iter-1224000-avg-14-context-2-max-sym-per-frame-1.txt
2022-05-13 09:32:39,924 INFO [utils.py:405] [test-other-greedy_search] %WER 4.70% [2461 / 52343, 227 ins, 234 del, 2000 sub ]
2022-05-13 09:32:40,108 INFO [decode.py:468] Wrote detailed error stats to pruned_transducer_stateless3/exp-0.9/greedy_search/errs-test-other-greedy_search-iter-1224000-avg-14-context-2-max-sym-per-frame-1.txt
2022-05-13 09:32:40,109 INFO [decode.py:485] 
For test-other, WER of different settings are:
greedy_search	4.7	best for test-other

2022-05-13 09:32:40,109 INFO [decode.py:624] Done!