#================================================== #speech config: {'sample_rate': 16000, 'frame_ms': 25, 'stride_ms': 10, 'num_feature_bins': 80, 'feature_type': 'log_mel_spectrogram', 'preemphasis': 0.97, 'normalize_signal': True, 'normalize_feature': True, 'normalize_per_feature': False} #-------------------------------------------------- #model config: {'name': 'cnn', 'd_model': 64, 'filters': [32, 64, 64], 'kernel_size': [[11, 5], [11, 5], [11, 5]], 'rnn_cell': 256} #-------------------------------------------------- #dataset config: {'vocabulary': 'vocab/lr_vocab.txt', 'data_path': '/home/sd8/LR', 'corpus_name': 'dat', 'file_nums': 1, 'max_audio_length': 1200, 'max_label_length': 150, 'shuffle_size': 1200, 'subword': True, 'train': 'train', 'dev': 'dev', 'test': 'test'} #-------------------------------------------------- #optimizer config: {'init_steps': 0, 'warmup_steps': 10000, 'max_lr': 0.0001, 'beta1': 0.9, 'beta2': 0.999, 'epsilon': 1e-09, 'sil_weight': 1, 'sil_id': 2} #-------------------------------------------------- #running config: {'language': 'lr', 'data_type': 'dat', 'prefetch': False, 'is_topk': False, 'is_load': False, 'load_weights': './saved_weights/lr/20230224-014403/last/model', 'num_epochs': 74, 'batch_size': 128, 'train_steps': 500, 'dev_steps': 20, 'test_steps': 20} #================================================== Epoch 1, Loss: 1.1964, Val Loss: 1.1025, Val Acc: 20.1746, test ACC: 19.6226,F1: 17.0643, precision: 19.6166, recall: 18.8917, Time Cost: 742.44 sec Epoch 2, Loss: 0.9989, Val Loss: 0.9903, Val Acc: 34.0629, test ACC: 34.4901,F1: 30.4229, precision: 32.3241, recall: 33.1532, Time Cost: 513.03 sec Epoch 3, Loss: 0.8605, Val Loss: 0.8505, Val Acc: 48.5355, test ACC: 48.4989,F1: 47.3861, precision: 48.9355, recall: 47.8559, Time Cost: 550.27 sec Epoch 4, Loss: 0.7219, Val Loss: 0.7266, Val Acc: 58.1470, test ACC: 58.5914,F1: 57.8712, precision: 59.9620, recall: 58.4529, Time Cost: 443.13 sec Epoch 5, Loss: 0.6041, Val Loss: 0.6013, Val Acc: 66.1822, test ACC: 66.2002,F1: 66.3384, precision: 68.1863, recall: 66.2213, Time Cost: 424.94 sec Epoch 6, Loss: 0.5170, Val Loss: 0.5104, Val Acc: 72.7505, test ACC: 73.4848,F1: 74.3748, precision: 74.9350, recall: 74.1830, Time Cost: 575.24 sec Epoch 7, Loss: 0.4493, Val Loss: 0.4584, Val Acc: 75.3464, test ACC: 75.5423,F1: 76.1084, precision: 77.0135, recall: 76.0451, Time Cost: 395.68 sec Epoch 8, Loss: 0.3993, Val Loss: 0.4429, Val Acc: 77.8143, test ACC: 78.7171,F1: 77.1797, precision: 78.7350, recall: 77.1018, Time Cost: 441.48 sec Epoch 9, Loss: 0.3668, Val Loss: 0.3900, Val Acc: 80.3911, test ACC: 79.3455,F1: 78.9645, precision: 79.8959, recall: 78.7104, Time Cost: 456.12 sec Epoch 10, Loss: 0.3401, Val Loss: 0.3631, Val Acc: 81.4169, test ACC: 80.3368,F1: 79.9329, precision: 81.2507, recall: 79.7967, Time Cost: 523.02 sec Epoch 11, Loss: 0.3103, Val Loss: 0.3347, Val Acc: 82.6929, test ACC: 82.1053,F1: 82.3098, precision: 83.0949, recall: 82.1113, Time Cost: 491.08 sec Epoch 12, Loss: 0.2920, Val Loss: 0.3271, Val Acc: 83.8484, test ACC: 83.8316,F1: 83.9432, precision: 84.8773, recall: 83.7680, Time Cost: 516.39 sec Epoch 13, Loss: 0.2820, Val Loss: 0.3272, Val Acc: 83.6959, test ACC: 83.3830,F1: 82.7012, precision: 83.6453, recall: 82.5189, Time Cost: 461.16 sec Epoch 14, Loss: 0.2560, Val Loss: 0.3096, Val Acc: 84.9382, test ACC: 85.1758,F1: 84.9331, precision: 86.3445, recall: 84.2957, Time Cost: 465.52 sec Epoch 15, Loss: 0.2500, Val Loss: 0.2747, Val Acc: 85.4505, test ACC: 85.6536,F1: 85.7133, precision: 86.0730, recall: 85.6494, Time Cost: 547.48 sec Epoch 16, Loss: 0.2413, Val Loss: 0.2772, Val Acc: 85.8415, test ACC: 86.8852,F1: 86.5840, precision: 87.1292, recall: 86.3487, Time Cost: 492.80 sec Epoch 17, Loss: 0.2245, Val Loss: 0.2673, Val Acc: 86.5235, test ACC: 87.3461,F1: 86.9829, precision: 87.5127, recall: 86.9403, Time Cost: 382.04 sec Epoch 18, Loss: 0.2171, Val Loss: 0.2794, Val Acc: 85.4133, test ACC: 86.2258,F1: 86.2470, precision: 87.0874, recall: 86.1227, Time Cost: 493.12 sec Epoch 19, Loss: 0.2116, Val Loss: 0.2718, Val Acc: 85.8465, test ACC: 86.1590,F1: 86.0567, precision: 86.9974, recall: 85.7982, Time Cost: 535.78 sec Epoch 20, Loss: 0.2013, Val Loss: 0.2603, Val Acc: 87.1863, test ACC: 87.2358,F1: 86.2691, precision: 87.2151, recall: 86.1246, Time Cost: 383.02 sec Epoch 21, Loss: 0.1907, Val Loss: 0.2451, Val Acc: 87.9160, test ACC: 88.9966,F1: 89.2321, precision: 89.6816, recall: 89.1211, Time Cost: 427.33 sec Epoch 22, Loss: 0.1914, Val Loss: 0.2339, Val Acc: 87.5850, test ACC: 88.4354,F1: 88.6461, precision: 89.0606, recall: 88.6583, Time Cost: 535.38 sec Epoch 23, Loss: 0.1865, Val Loss: 0.2271, Val Acc: 88.3332, test ACC: 88.0068,F1: 88.0857, precision: 88.4349, recall: 87.9872, Time Cost: 465.15 sec Epoch 24, Loss: 0.1728, Val Loss: 0.2207, Val Acc: 88.7965, test ACC: 88.0862,F1: 87.9049, precision: 88.2392, recall: 87.9315, Time Cost: 509.41 sec Epoch 25, Loss: 0.1706, Val Loss: 0.2076, Val Acc: 88.8100, test ACC: 88.7612,F1: 88.9919, precision: 89.1748, recall: 88.9267, Time Cost: 420.82 sec Epoch 26, Loss: 0.1701, Val Loss: 0.2334, Val Acc: 88.4488, test ACC: 88.4730,F1: 88.1744, precision: 88.8321, recall: 88.1449, Time Cost: 527.25 sec Epoch 27, Loss: 0.1588, Val Loss: 0.2191, Val Acc: 89.3699, test ACC: 90.6356,F1: 89.8800, precision: 90.1564, recall: 89.8278, Time Cost: 452.22 sec Epoch 28, Loss: 0.1552, Val Loss: 0.2150, Val Acc: 88.9513, test ACC: 89.1709,F1: 89.1570, precision: 89.8262, recall: 88.9140, Time Cost: 481.20 sec Epoch 29, Loss: 0.1556, Val Loss: 0.2045, Val Acc: 89.7231, test ACC: 89.4336,F1: 89.3049, precision: 89.6765, recall: 89.2712, Time Cost: 430.12 sec Epoch 30, Loss: 0.1485, Val Loss: 0.2111, Val Acc: 89.5516, test ACC: 89.5137,F1: 89.4368, precision: 90.0113, recall: 89.1927, Time Cost: 491.76 sec Epoch 31, Loss: 0.1431, Val Loss: 0.1935, Val Acc: 89.8831, test ACC: 90.6316,F1: 90.8270, precision: 90.9275, recall: 90.8687, Time Cost: 446.82 sec Epoch 32, Loss: 0.1437, Val Loss: 0.1902, Val Acc: 90.2553, test ACC: 90.0632,F1: 90.0381, precision: 90.2211, recall: 90.0220, Time Cost: 520.20 sec Epoch 33, Loss: 0.1396, Val Loss: 0.1937, Val Acc: 90.1603, test ACC: 90.3294,F1: 90.2620, precision: 90.5948, recall: 90.2715, Time Cost: 449.01 sec Epoch 34, Loss: 0.1313, Val Loss: 0.1935, Val Acc: 90.5739, test ACC: 89.7631,F1: 89.8981, precision: 89.9748, recall: 89.9775, Time Cost: 500.75 sec Epoch 35, Loss: 0.1303, Val Loss: 0.2060, Val Acc: 89.5641, test ACC: 90.9437,F1: 90.8929, precision: 91.3793, recall: 90.7057, Time Cost: 474.06 sec Epoch 36, Loss: 0.1308, Val Loss: 0.1917, Val Acc: 90.3746, test ACC: 91.1576,F1: 91.1782, precision: 91.2726, recall: 91.2604, Time Cost: 519.34 sec Epoch 37, Loss: 0.1174, Val Loss: 0.1976, Val Acc: 90.1535, test ACC: 91.0555,F1: 91.1731, precision: 91.2798, recall: 91.1623, Time Cost: 389.71 sec Epoch 38, Loss: 0.1231, Val Loss: 0.1803, Val Acc: 91.0478, test ACC: 91.3007,F1: 90.8912, precision: 91.3401, recall: 90.7372, Time Cost: 491.57 sec Epoch 39, Loss: 0.1250, Val Loss: 0.2062, Val Acc: 89.9214, test ACC: 90.4098,F1: 90.4066, precision: 90.7735, recall: 90.2821, Time Cost: 544.38 sec Epoch 40, Loss: 0.1168, Val Loss: 0.1865, Val Acc: 90.2714, test ACC: 90.5245,F1: 90.7305, precision: 90.9950, recall: 90.6582, Time Cost: 442.02 sec Epoch 41, Loss: 0.1137, Val Loss: 0.2049, Val Acc: 90.3759, test ACC: 89.9832,F1: 89.9445, precision: 90.2015, recall: 89.8634, Time Cost: 429.96 sec Epoch 42, Loss: 0.1152, Val Loss: 0.1844, Val Acc: 91.2408, test ACC: 90.9323,F1: 91.2483, precision: 91.3638, recall: 91.2125, Time Cost: 565.08 sec Epoch 43, Loss: 0.1101, Val Loss: 0.1909, Val Acc: 90.5336, test ACC: 90.5932,F1: 90.8232, precision: 91.0741, recall: 90.7284, Time Cost: 517.72 sec Epoch 44, Loss: 0.1042, Val Loss: 0.1859, Val Acc: 90.9052, test ACC: 91.1017,F1: 91.3841, precision: 91.5371, recall: 91.3134, Time Cost: 422.06 sec Epoch 45, Loss: 0.1085, Val Loss: 0.1937, Val Acc: 90.6516, test ACC: 90.3308,F1: 90.5164, precision: 90.7978, recall: 90.4487, Time Cost: 455.24 sec Epoch 46, Loss: 0.1068, Val Loss: 0.1910, Val Acc: 91.1118, test ACC: 91.3706,F1: 91.4510, precision: 91.7654, recall: 91.3349, Time Cost: 517.03 sec Epoch 47, Loss: 0.0964, Val Loss: 0.1979, Val Acc: 90.1796, test ACC: 90.9168,F1: 91.0356, precision: 91.0567, recall: 91.2590, Time Cost: 452.93 sec Epoch 48, Loss: 0.0997, Val Loss: 0.1881, Val Acc: 91.2090, test ACC: 90.9860,F1: 91.0058, precision: 91.3237, recall: 90.8560, Time Cost: 542.84 sec Epoch 49, Loss: 0.1015, Val Loss: 0.1945, Val Acc: 90.1085, test ACC: 90.1011,F1: 90.5091, precision: 90.9412, recall: 90.3770, Time Cost: 444.95 sec Epoch 50, Loss: 0.0941, Val Loss: 0.1907, Val Acc: 91.0745, test ACC: 90.1911,F1: 90.2535, precision: 90.4389, recall: 90.2055, Time Cost: 468.23 sec Epoch 51, Loss: 0.0943, Val Loss: 0.1899, Val Acc: 91.3571, test ACC: 92.1743,F1: 92.0138, precision: 92.3809, recall: 91.8325, Time Cost: 505.03 sec Epoch 52, Loss: 0.0947, Val Loss: 0.1820, Val Acc: 91.1246, test ACC: 91.8228,F1: 91.8076, precision: 91.9290, recall: 91.8110, Time Cost: 541.49 sec Epoch 53, Loss: 0.0895, Val Loss: 0.1942, Val Acc: 90.9516, test ACC: 90.5187,F1: 90.7779, precision: 90.9995, recall: 90.6859, Time Cost: 406.90 sec Epoch 54, Loss: 0.0883, Val Loss: 0.2065, Val Acc: 90.6020, test ACC: 90.3321,F1: 90.0583, precision: 90.7688, recall: 89.8069, Time Cost: 549.20 sec Epoch 55, Loss: 0.0896, Val Loss: 0.1854, Val Acc: 91.3973, test ACC: 91.6279,F1: 91.4762, precision: 91.7776, recall: 91.3243, Time Cost: 512.04 sec Epoch 56, Loss: 0.0860, Val Loss: 0.1807, Val Acc: 91.9468, test ACC: 90.9628,F1: 90.7150, precision: 90.8854, recall: 90.7589, Time Cost: 503.35 sec Epoch 57, Loss: 0.0828, Val Loss: 0.1906, Val Acc: 91.4799, test ACC: 90.6967,F1: 90.7625, precision: 90.9766, recall: 90.6499, Time Cost: 415.34 sec Epoch 58, Loss: 0.0864, Val Loss: 0.1915, Val Acc: 91.6365, test ACC: 91.9205,F1: 92.0147, precision: 92.1056, recall: 92.0210, Time Cost: 485.82 sec Epoch 59, Loss: 0.0846, Val Loss: 0.1936, Val Acc: 91.3007, test ACC: 91.7439,F1: 91.8836, precision: 92.1231, recall: 91.7980, Time Cost: 490.53 sec Epoch 60, Loss: 0.0783, Val Loss: 0.1954, Val Acc: 91.0302, test ACC: 90.7895,F1: 90.9716, precision: 91.0445, recall: 91.0082, Time Cost: 444.83 sec Epoch 61, Loss: 0.0803, Val Loss: 0.1894, Val Acc: 91.8582, test ACC: 91.8634,F1: 91.3647, precision: 91.6531, recall: 91.2874, Time Cost: 413.21 sec Epoch 62, Loss: 0.0814, Val Loss: 0.1837, Val Acc: 91.2988, test ACC: 91.6702,F1: 91.7170, precision: 91.9963, recall: 91.6103, Time Cost: 549.73 sec Epoch 63, Loss: 0.0774, Val Loss: 0.1794, Val Acc: 91.8122, test ACC: 91.5678,F1: 91.4914, precision: 91.8519, recall: 91.3341, Time Cost: 402.85 sec Epoch 64, Loss: 0.0769, Val Loss: 0.1882, Val Acc: 91.4313, test ACC: 91.8359,F1: 91.7004, precision: 92.2047, recall: 91.4647, Time Cost: 452.81 sec Epoch 65, Loss: 0.0755, Val Loss: 0.1982, Val Acc: 91.5209, test ACC: 91.1102,F1: 91.4236, precision: 91.6693, recall: 91.3601, Time Cost: 458.48 sec Epoch 66, Loss: 0.0732, Val Loss: 0.1886, Val Acc: 91.8705, test ACC: 92.3207,F1: 92.1537, precision: 92.4807, recall: 91.9730, Time Cost: 512.85 sec Epoch 67, Loss: 0.0740, Val Loss: 0.1788, Val Acc: 91.8882, test ACC: 91.9341,F1: 91.9093, precision: 91.9204, recall: 92.0305, Time Cost: 541.46 sec Epoch 68, Loss: 0.0720, Val Loss: 0.2022, Val Acc: 91.3382, test ACC: 92.3142,F1: 92.2486, precision: 92.4405, recall: 92.1866, Time Cost: 521.56 sec Epoch 69, Loss: 0.0703, Val Loss: 0.1988, Val Acc: 91.6729, test ACC: 91.9730,F1: 91.7507, precision: 92.0831, recall: 91.6066, Time Cost: 368.23 sec Epoch 70, Loss: 0.0693, Val Loss: 0.1939, Val Acc: 91.4535, test ACC: 91.7303,F1: 91.8236, precision: 92.2080, recall: 91.6857, Time Cost: 493.77 sec Epoch 71, Loss: 0.0682, Val Loss: 0.2016, Val Acc: 91.5478, test ACC: 92.1277,F1: 92.1329, precision: 92.3022, recall: 92.0450, Time Cost: 482.52 sec Epoch 72, Loss: 0.0721, Val Loss: 0.1939, Val Acc: 91.6923, test ACC: 92.0051,F1: 91.6349, precision: 91.9974, recall: 91.4525, Time Cost: 554.51 sec Epoch 73, Loss: 0.0646, Val Loss: 0.1873, Val Acc: 91.8726, test ACC: 92.8419,F1: 92.8244, precision: 92.9726, recall: 92.7946, Time Cost: 361.00 sec Epoch 74, Loss: 0.0673, Val Loss: 0.1970, Val Acc: 91.4216, test ACC: 92.7848,F1: 92.9723, precision: 93.1212, recall: 92.8914, Time Cost: 561.71 sec