Open cibimo opened 2 weeks ago
我尝试把 model.py 里的
# Get a subgraph of the left and right hemispheres of the brain.
new_left_edges,new_left_edge_attr = subgraph(subset=leftBrain.type(torch.long),edge_index=edges,edge_attr=edge_attr)
new_right_dges,new_right_edge_attr = subgraph(subset=rightBrain.type(torch.long), edge_index=edges, edge_attr=edge_attr)
修改为了
# Get a subgraph of the left and right hemispheres of the brain.
new_left_edges,new_left_edge_attr = subgraph(subset=leftBrain.type(torch.long),edge_index=edges,edge_attr=edge_attr, num_nodes=111)
new_right_dges,new_right_edge_attr = subgraph(subset=rightBrain.type(torch.long), edge_index=edges, edge_attr=edge_attr, num_nodes=111)
后,能运行,得到的训练结果是
Epoch: 0, ce loss: 0.72961, ce loss_cla: 0.72961, train acc: 0.48335, test acc: 0.53846, test spe: 0.29412, test sen: 0.77358 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=19, tm_min=12, tm_sec=19, tm_wday=6, tm_yday=315, tm_isdst=0)
✔ Saved model to:./\inffus_fold0.pth
Epoch: 1, ce loss: 0.71517, ce loss_cla: 0.71517, train acc: 0.53491, test acc: 0.50962, test spe: 0.00000, test sen: 1.00000 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=19, tm_min=13, tm_sec=13, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 2, ce loss: 0.69966, ce loss_cla: 0.69966, train acc: 0.52095, test acc: 0.50962, test spe: 1.00000, test sen: 0.03774 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=19, tm_min=14, tm_sec=8, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 3, ce loss: 0.70456, ce loss_cla: 0.70456, train acc: 0.49409, test acc: 0.50000, test spe: 1.00000, test sen: 0.01887 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=19, tm_min=15, tm_sec=2, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 4, ce loss: 0.70448, ce loss_cla: 0.70448, train acc: 0.48657, test acc: 0.50962, test spe: 1.00000, test sen: 0.03774 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=19, tm_min=15, tm_sec=57, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 5, ce loss: 0.69778, ce loss_cla: 0.69778, train acc: 0.53706, test acc: 0.50962, test spe: 0.88235, test sen: 0.15094 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=19, tm_min=16, tm_sec=51, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 6, ce loss: 0.69767, ce loss_cla: 0.69767, train acc: 0.51665, test acc: 0.50962, test spe: 0.00000, test sen: 1.00000 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=19, tm_min=17, tm_sec=46, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 7, ce loss: 0.69323, ce loss_cla: 0.69323, train acc: 0.53383, test acc: 0.50962, test spe: 0.00000, test sen: 1.00000 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=19, tm_min=18, tm_sec=40, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 8, ce loss: 0.69240, ce loss_cla: 0.69240, train acc: 0.52095, test acc: 0.50962, test spe: 0.00000, test sen: 1.00000 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=19, tm_min=19, tm_sec=35, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 9, ce loss: 0.69369, ce loss_cla: 0.69369, train acc: 0.52095, test acc: 0.50000, test spe: 0.00000, test sen: 0.98113 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=19, tm_min=20, tm_sec=29, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 10, ce loss: 0.68903, ce loss_cla: 0.68903, train acc: 0.52954, test acc: 0.49038, test spe: 0.00000, test sen: 0.96226 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=19, tm_min=21, tm_sec=24, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 11, ce loss: 0.69224, ce loss_cla: 0.69224, train acc: 0.52524, test acc: 0.49038, test spe: 0.03922, test sen: 0.92453 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=19, tm_min=22, tm_sec=17, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 12, ce loss: 0.68972, ce loss_cla: 0.68972, train acc: 0.52417, test acc: 0.50000, test spe: 0.03922, test sen: 0.94340 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=19, tm_min=23, tm_sec=11, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 13, ce loss: 0.69338, ce loss_cla: 0.69338, train acc: 0.55317, test acc: 0.51923, test spe: 0.07843, test sen: 0.94340 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=19, tm_min=24, tm_sec=6, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 14, ce loss: 0.68661, ce loss_cla: 0.68661, train acc: 0.53276, test acc: 0.50962, test spe: 0.07843, test sen: 0.92453 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=19, tm_min=25, tm_sec=0, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 15, ce loss: 0.68805, ce loss_cla: 0.68805, train acc: 0.52954, test acc: 0.52885, test spe: 0.09804, test sen: 0.94340 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=19, tm_min=25, tm_sec=55, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 16, ce loss: 0.68700, ce loss_cla: 0.68700, train acc: 0.54135, test acc: 0.49038, test spe: 0.17647, test sen: 0.79245 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=19, tm_min=26, tm_sec=49, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 17, ce loss: 0.68580, ce loss_cla: 0.68580, train acc: 0.55747, test acc: 0.50962, test spe: 0.52941, test sen: 0.49057 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=19, tm_min=27, tm_sec=44, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 18, ce loss: 0.68841, ce loss_cla: 0.68841, train acc: 0.54887, test acc: 0.48077, test spe: 0.70588, test sen: 0.26415 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=19, tm_min=28, tm_sec=39, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 19, ce loss: 0.67969, ce loss_cla: 0.67969, train acc: 0.55747, test acc: 0.50000, test spe: 0.56863, test sen: 0.43396 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=19, tm_min=29, tm_sec=33, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 20, ce loss: 0.67706, ce loss_cla: 0.67706, train acc: 0.57465, test acc: 0.54808, test spe: 0.41176, test sen: 0.67925 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=19, tm_min=30, tm_sec=28, tm_wday=6, tm_yday=315, tm_isdst=0)
✔ Saved model to:./\inffus_fold0.pth
Epoch: 21, ce loss: 0.67664, ce loss_cla: 0.67664, train acc: 0.57143, test acc: 0.48077, test spe: 0.66667, test sen: 0.30189 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=19, tm_min=31, tm_sec=22, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 22, ce loss: 0.66776, ce loss_cla: 0.66776, train acc: 0.59936, test acc: 0.48077, test spe: 0.92157, test sen: 0.05660 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=19, tm_min=32, tm_sec=17, tm_wday=6, tm_yday=315, tm_isdst=0)
感觉没有学进去东西且很慢,使用nvidia-smi查看GPU信息 NVIDIA A10,63W / 150W,3257MiB / 23028MiB,13% 感觉有点怪
训练了一晚上,测试集acc达不到80%,很明显有问题
Epoch: 0, ce loss: 0.72961, ce loss_cla: 0.72961, train acc: 0.48335, test acc: 0.52885, test spe: 0.25490, test sen: 0.79245 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=22, tm_min=8, tm_sec=41, tm_wday=6, tm_yday=315, tm_isdst=0)
?? Saved model to:.//inffus_fold0.pth
Epoch: 1, ce loss: 0.71466, ce loss_cla: 0.71466, train acc: 0.53598, test acc: 0.50962, test spe: 0.00000, test sen: 1.00000 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=22, tm_min=9, tm_sec=37, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 2, ce loss: 0.69949, ce loss_cla: 0.69949, train acc: 0.52309, test acc: 0.50962, test spe: 1.00000, test sen: 0.03774 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=22, tm_min=10, tm_sec=34, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 3, ce loss: 0.70522, ce loss_cla: 0.70522, train acc: 0.49946, test acc: 0.50000, test spe: 1.00000, test sen: 0.01887 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=22, tm_min=11, tm_sec=31, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 4, ce loss: 0.70905, ce loss_cla: 0.70905, train acc: 0.48013, test acc: 0.49038, test spe: 0.94118, test sen: 0.05660 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=22, tm_min=12, tm_sec=28, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 5, ce loss: 0.69764, ce loss_cla: 0.69764, train acc: 0.53706, test acc: 0.46154, test spe: 0.68627, test sen: 0.24528 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=22, tm_min=13, tm_sec=25, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 6, ce loss: 0.69623, ce loss_cla: 0.69623, train acc: 0.52632, test acc: 0.50962, test spe: 0.00000, test sen: 1.00000 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=22, tm_min=14, tm_sec=22, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 7, ce loss: 0.69342, ce loss_cla: 0.69342, train acc: 0.53598, test acc: 0.50962, test spe: 0.00000, test sen: 1.00000 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=22, tm_min=15, tm_sec=19, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 8, ce loss: 0.69364, ce loss_cla: 0.69364, train acc: 0.53061, test acc: 0.50962, test spe: 0.00000, test sen: 1.00000 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=22, tm_min=16, tm_sec=16, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 9, ce loss: 0.69434, ce loss_cla: 0.69434, train acc: 0.52954, test acc: 0.47115, test spe: 0.01961, test sen: 0.90566 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=22, tm_min=17, tm_sec=13, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 10, ce loss: 0.68682, ce loss_cla: 0.68682, train acc: 0.54672, test acc: 0.47115, test spe: 0.68627, test sen: 0.26415 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=22, tm_min=18, tm_sec=10, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 11, ce loss: 0.68322, ce loss_cla: 0.68322, train acc: 0.55424, test acc: 0.50000, test spe: 0.82353, test sen: 0.18868 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=22, tm_min=19, tm_sec=7, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 12, ce loss: 0.69023, ce loss_cla: 0.69023, train acc: 0.52095, test acc: 0.50000, test spe: 0.82353, test sen: 0.18868 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=22, tm_min=20, tm_sec=4, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 13, ce loss: 0.68678, ce loss_cla: 0.68678, train acc: 0.55854, test acc: 0.50000, test spe: 0.84314, test sen: 0.16981 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=22, tm_min=21, tm_sec=2, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 14, ce loss: 0.68543, ce loss_cla: 0.68543, train acc: 0.56069, test acc: 0.50000, test spe: 0.84314, test sen: 0.16981 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=22, tm_min=22, tm_sec=0, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 15, ce loss: 0.68894, ce loss_cla: 0.68894, train acc: 0.54672, test acc: 0.49038, test spe: 0.84314, test sen: 0.15094 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=22, tm_min=22, tm_sec=57, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 16, ce loss: 0.68572, ce loss_cla: 0.68572, train acc: 0.53706, test acc: 0.48077, test spe: 0.84314, test sen: 0.13208 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=22, tm_min=23, tm_sec=54, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 17, ce loss: 0.68175, ce loss_cla: 0.68175, train acc: 0.56498, test acc: 0.47115, test spe: 0.82353, test sen: 0.13208 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=22, tm_min=24, tm_sec=50, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 18, ce loss: 0.69129, ce loss_cla: 0.69129, train acc: 0.54135, test acc: 0.46154, test spe: 0.80392, test sen: 0.13208 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=22, tm_min=25, tm_sec=47, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 19, ce loss: 0.69207, ce loss_cla: 0.69207, train acc: 0.52095, test acc: 0.50000, test spe: 0.76471, test sen: 0.24528 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=22, tm_min=26, tm_sec=44, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 20, ce loss: 0.68201, ce loss_cla: 0.68201, train acc: 0.54458, test acc: 0.50962, test spe: 0.76471, test sen: 0.26415 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=22, tm_min=27, tm_sec=41, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 21, ce loss: 0.67914, ce loss_cla: 0.67914, train acc: 0.56284, test acc: 0.54808, test spe: 0.74510, test sen: 0.35849 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=22, tm_min=28, tm_sec=38, tm_wday=6, tm_yday=315, tm_isdst=0)
?? Saved model to:.//inffus_fold0.pth
Epoch: 22, ce loss: 0.68263, ce loss_cla: 0.68263, train acc: 0.55532, test acc: 0.53846, test spe: 0.72549, test sen: 0.35849 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=22, tm_min=29, tm_sec=35, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 23, ce loss: 0.69172, ce loss_cla: 0.69172, train acc: 0.51880, test acc: 0.57692, test spe: 0.64706, test sen: 0.50943 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=22, tm_min=30, tm_sec=32, tm_wday=6, tm_yday=315, tm_isdst=0)
?? Saved model to:.//inffus_fold0.pth
Epoch: 24, ce loss: 0.68074, ce loss_cla: 0.68074, train acc: 0.54243, test acc: 0.56731, test spe: 0.52941, test sen: 0.60377 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=22, tm_min=31, tm_sec=29, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 25, ce loss: 0.67987, ce loss_cla: 0.67987, train acc: 0.55854, test acc: 0.53846, test spe: 0.50980, test sen: 0.56604 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=22, tm_min=32, tm_sec=25, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 26, ce loss: 0.68769, ce loss_cla: 0.68769, train acc: 0.53598, test acc: 0.52885, test spe: 0.43137, test sen: 0.62264 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=22, tm_min=33, tm_sec=22, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 27, ce loss: 0.68621, ce loss_cla: 0.68621, train acc: 0.55961, test acc: 0.53846, test spe: 0.54902, test sen: 0.52830 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=22, tm_min=34, tm_sec=20, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 28, ce loss: 0.68059, ce loss_cla: 0.68059, train acc: 0.55639, test acc: 0.51923, test spe: 0.49020, test sen: 0.54717 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=22, tm_min=35, tm_sec=17, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 29, ce loss: 0.68168, ce loss_cla: 0.68168, train acc: 0.55961, test acc: 0.46154, test spe: 0.29412, test sen: 0.62264 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=22, tm_min=36, tm_sec=14, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 30, ce loss: 0.68835, ce loss_cla: 0.68835, train acc: 0.54887, test acc: 0.48077, test spe: 0.37255, test sen: 0.58491 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=22, tm_min=37, tm_sec=11, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 31, ce loss: 0.69165, ce loss_cla: 0.69165, train acc: 0.53276, test acc: 0.50962, test spe: 0.49020, test sen: 0.52830 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=22, tm_min=38, tm_sec=8, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 32, ce loss: 0.68918, ce loss_cla: 0.68918, train acc: 0.54995, test acc: 0.51923, test spe: 0.49020, test sen: 0.54717 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=22, tm_min=39, tm_sec=5, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 33, ce loss: 0.67881, ce loss_cla: 0.67881, train acc: 0.55747, test acc: 0.55769, test spe: 0.50980, test sen: 0.60377 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=22, tm_min=40, tm_sec=3, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 34, ce loss: 0.69370, ce loss_cla: 0.69370, train acc: 0.52739, test acc: 0.53846, test spe: 0.62745, test sen: 0.45283 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=22, tm_min=41, tm_sec=1, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 35, ce loss: 0.70362, ce loss_cla: 0.70362, train acc: 0.53061, test acc: 0.52885, test spe: 0.66667, test sen: 0.39623 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=22, tm_min=41, tm_sec=58, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 36, ce loss: 0.69774, ce loss_cla: 0.69774, train acc: 0.51772, test acc: 0.50962, test spe: 0.66667, test sen: 0.35849 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=22, tm_min=42, tm_sec=55, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 37, ce loss: 0.69080, ce loss_cla: 0.69080, train acc: 0.55102, test acc: 0.51923, test spe: 0.70588, test sen: 0.33962 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=22, tm_min=43, tm_sec=52, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 38, ce loss: 0.69503, ce loss_cla: 0.69503, train acc: 0.52739, test acc: 0.51923, test spe: 0.82353, test sen: 0.22642 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=22, tm_min=44, tm_sec=48, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 39, ce loss: 0.68769, ce loss_cla: 0.68769, train acc: 0.54458, test acc: 0.45192, test spe: 0.74510, test sen: 0.16981 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=22, tm_min=45, tm_sec=45, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 40, ce loss: 0.68922, ce loss_cla: 0.68922, train acc: 0.53061, test acc: 0.50000, test spe: 0.76471, test sen: 0.24528 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=22, tm_min=46, tm_sec=42, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 41, ce loss: 0.69010, ce loss_cla: 0.69010, train acc: 0.54243, test acc: 0.51923, test spe: 0.64706, test sen: 0.39623 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=22, tm_min=47, tm_sec=39, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 42, ce loss: 0.69077, ce loss_cla: 0.69077, train acc: 0.53921, test acc: 0.53846, test spe: 0.50980, test sen: 0.56604 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=22, tm_min=48, tm_sec=36, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 43, ce loss: 0.68209, ce loss_cla: 0.68209, train acc: 0.54458, test acc: 0.55769, test spe: 0.43137, test sen: 0.67925 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=22, tm_min=49, tm_sec=33, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 44, ce loss: 0.68529, ce loss_cla: 0.68529, train acc: 0.53491, test acc: 0.58654, test spe: 0.31373, test sen: 0.84906 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=22, tm_min=50, tm_sec=30, tm_wday=6, tm_yday=315, tm_isdst=0)
?? Saved model to:.//inffus_fold0.pth
Epoch: 45, ce loss: 0.68553, ce loss_cla: 0.68553, train acc: 0.56069, test acc: 0.58654, test spe: 0.25490, test sen: 0.90566 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=22, tm_min=51, tm_sec=27, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 46, ce loss: 0.68504, ce loss_cla: 0.68504, train acc: 0.55424, test acc: 0.57692, test spe: 0.21569, test sen: 0.92453 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=22, tm_min=52, tm_sec=24, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 47, ce loss: 0.68302, ce loss_cla: 0.68302, train acc: 0.54887, test acc: 0.55769, test spe: 0.15686, test sen: 0.94340 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=22, tm_min=53, tm_sec=21, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 48, ce loss: 0.68562, ce loss_cla: 0.68562, train acc: 0.54995, test acc: 0.54808, test spe: 0.13725, test sen: 0.94340 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=22, tm_min=54, tm_sec=18, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 49, ce loss: 0.67814, ce loss_cla: 0.67814, train acc: 0.57143, test acc: 0.53846, test spe: 0.09804, test sen: 0.96226 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=22, tm_min=55, tm_sec=14, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 50, ce loss: 0.68138, ce loss_cla: 0.68138, train acc: 0.54243, test acc: 0.54808, test spe: 0.11765, test sen: 0.96226 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=22, tm_min=56, tm_sec=11, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 51, ce loss: 0.67821, ce loss_cla: 0.67821, train acc: 0.55639, test acc: 0.52885, test spe: 0.13725, test sen: 0.90566 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=22, tm_min=57, tm_sec=8, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 52, ce loss: 0.67660, ce loss_cla: 0.67660, train acc: 0.56391, test acc: 0.52885, test spe: 0.23529, test sen: 0.81132 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=22, tm_min=58, tm_sec=5, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 53, ce loss: 0.67209, ce loss_cla: 0.67209, train acc: 0.56928, test acc: 0.55769, test spe: 0.41176, test sen: 0.69811 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=22, tm_min=59, tm_sec=3, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 54, ce loss: 0.67488, ce loss_cla: 0.67488, train acc: 0.58432, test acc: 0.58654, test spe: 0.49020, test sen: 0.67925 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=23, tm_min=0, tm_sec=0, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 55, ce loss: 0.67813, ce loss_cla: 0.67813, train acc: 0.58002, test acc: 0.53846, test spe: 0.27451, test sen: 0.79245 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=23, tm_min=0, tm_sec=57, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 56, ce loss: 0.67847, ce loss_cla: 0.67847, train acc: 0.59076, test acc: 0.55769, test spe: 0.21569, test sen: 0.88679 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=23, tm_min=1, tm_sec=54, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 57, ce loss: 0.67155, ce loss_cla: 0.67155, train acc: 0.57895, test acc: 0.50962, test spe: 0.15686, test sen: 0.84906 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=23, tm_min=2, tm_sec=51, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 58, ce loss: 0.66937, ce loss_cla: 0.66937, train acc: 0.58969, test acc: 0.52885, test spe: 0.25490, test sen: 0.79245 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=23, tm_min=3, tm_sec=48, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 59, ce loss: 0.67529, ce loss_cla: 0.67529, train acc: 0.57250, test acc: 0.50962, test spe: 0.37255, test sen: 0.64151 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=23, tm_min=4, tm_sec=45, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 60, ce loss: 0.66395, ce loss_cla: 0.66395, train acc: 0.58969, test acc: 0.54808, test spe: 0.47059, test sen: 0.62264 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=23, tm_min=5, tm_sec=42, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 61, ce loss: 0.66094, ce loss_cla: 0.66094, train acc: 0.59184, test acc: 0.54808, test spe: 0.52941, test sen: 0.56604 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=23, tm_min=6, tm_sec=38, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 62, ce loss: 0.67000, ce loss_cla: 0.67000, train acc: 0.58324, test acc: 0.56731, test spe: 0.49020, test sen: 0.64151 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=23, tm_min=7, tm_sec=35, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 63, ce loss: 0.66368, ce loss_cla: 0.66368, train acc: 0.58110, test acc: 0.46154, test spe: 0.64706, test sen: 0.28302 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=23, tm_min=8, tm_sec=32, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 64, ce loss: 0.67466, ce loss_cla: 0.67466, train acc: 0.58539, test acc: 0.44231, test spe: 0.68627, test sen: 0.20755 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=23, tm_min=9, tm_sec=29, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 65, ce loss: 0.65776, ce loss_cla: 0.65776, train acc: 0.60902, test acc: 0.43269, test spe: 0.64706, test sen: 0.22642 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=23, tm_min=10, tm_sec=26, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 66, ce loss: 0.65800, ce loss_cla: 0.65800, train acc: 0.60258, test acc: 0.49038, test spe: 0.72549, test sen: 0.26415 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=23, tm_min=11, tm_sec=22, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 67, ce loss: 0.65739, ce loss_cla: 0.65739, train acc: 0.60473, test acc: 0.51923, test spe: 0.84314, test sen: 0.20755 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=23, tm_min=12, tm_sec=18, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 68, ce loss: 0.65655, ce loss_cla: 0.65655, train acc: 0.61224, test acc: 0.48077, test spe: 0.96078, test sen: 0.01887 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=23, tm_min=13, tm_sec=15, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 69, ce loss: 0.66055, ce loss_cla: 0.66055, train acc: 0.59291, test acc: 0.48077, test spe: 0.98039, test sen: 0.00000 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=23, tm_min=14, tm_sec=11, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 70, ce loss: 0.66429, ce loss_cla: 0.66429, train acc: 0.59828, test acc: 0.48077, test spe: 0.98039, test sen: 0.00000 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=23, tm_min=15, tm_sec=8, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 71, ce loss: 0.65995, ce loss_cla: 0.65995, train acc: 0.59828, test acc: 0.50000, test spe: 0.98039, test sen: 0.03774 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=23, tm_min=16, tm_sec=4, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 72, ce loss: 0.65954, ce loss_cla: 0.65954, train acc: 0.58217, test acc: 0.50000, test spe: 0.92157, test sen: 0.09434 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=23, tm_min=17, tm_sec=1, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 73, ce loss: 0.66096, ce loss_cla: 0.66096, train acc: 0.59076, test acc: 0.49038, test spe: 0.80392, test sen: 0.18868 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=23, tm_min=17, tm_sec=57, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 74, ce loss: 0.65834, ce loss_cla: 0.65834, train acc: 0.62191, test acc: 0.48077, test spe: 0.68627, test sen: 0.28302 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=23, tm_min=18, tm_sec=53, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 75, ce loss: 0.65120, ce loss_cla: 0.65120, train acc: 0.63265, test acc: 0.50000, test spe: 0.66667, test sen: 0.33962 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=23, tm_min=19, tm_sec=50, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 76, ce loss: 0.65659, ce loss_cla: 0.65659, train acc: 0.60687, test acc: 0.49038, test spe: 0.62745, test sen: 0.35849 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=23, tm_min=20, tm_sec=46, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 77, ce loss: 0.65175, ce loss_cla: 0.65175, train acc: 0.61869, test acc: 0.54808, test spe: 0.64706, test sen: 0.45283 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=23, tm_min=21, tm_sec=43, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 78, ce loss: 0.65239, ce loss_cla: 0.65239, train acc: 0.60043, test acc: 0.60577, test spe: 0.60784, test sen: 0.60377 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=23, tm_min=22, tm_sec=40, tm_wday=6, tm_yday=315, tm_isdst=0)
?? Saved model to:.//inffus_fold0.pth
Epoch: 79, ce loss: 0.64534, ce loss_cla: 0.64534, train acc: 0.62943, test acc: 0.60577, test spe: 0.58824, test sen: 0.62264 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=23, tm_min=23, tm_sec=36, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 80, ce loss: 0.63717, ce loss_cla: 0.63717, train acc: 0.63050, test acc: 0.56731, test spe: 0.50980, test sen: 0.62264 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=23, tm_min=24, tm_sec=33, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 81, ce loss: 0.64297, ce loss_cla: 0.64297, train acc: 0.61332, test acc: 0.57692, test spe: 0.54902, test sen: 0.60377 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=23, tm_min=25, tm_sec=30, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 82, ce loss: 0.63469, ce loss_cla: 0.63469, train acc: 0.62299, test acc: 0.62500, test spe: 0.50980, test sen: 0.73585 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=23, tm_min=26, tm_sec=26, tm_wday=6, tm_yday=315, tm_isdst=0)
?? Saved model to:.//inffus_fold0.pth
Epoch: 83, ce loss: 0.63563, ce loss_cla: 0.63563, train acc: 0.63050, test acc: 0.61538, test spe: 0.43137, test sen: 0.79245 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=23, tm_min=27, tm_sec=23, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 84, ce loss: 0.62653, ce loss_cla: 0.62653, train acc: 0.64876, test acc: 0.60577, test spe: 0.43137, test sen: 0.77358 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=23, tm_min=28, tm_sec=19, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 85, ce loss: 0.63316, ce loss_cla: 0.63316, train acc: 0.64876, test acc: 0.61538, test spe: 0.66667, test sen: 0.56604 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=23, tm_min=29, tm_sec=16, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 86, ce loss: 0.61545, ce loss_cla: 0.61545, train acc: 0.64984, test acc: 0.57692, test spe: 0.45098, test sen: 0.69811 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=23, tm_min=30, tm_sec=12, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 87, ce loss: 0.61904, ce loss_cla: 0.61904, train acc: 0.65091, test acc: 0.54808, test spe: 0.21569, test sen: 0.86792 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=23, tm_min=31, tm_sec=9, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 88, ce loss: 0.63085, ce loss_cla: 0.63085, train acc: 0.64339, test acc: 0.54808, test spe: 0.37255, test sen: 0.71698 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=23, tm_min=32, tm_sec=6, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 89, ce loss: 0.61006, ce loss_cla: 0.61006, train acc: 0.67025, test acc: 0.58654, test spe: 0.35294, test sen: 0.81132 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=23, tm_min=33, tm_sec=2, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 90, ce loss: 0.62133, ce loss_cla: 0.62133, train acc: 0.63802, test acc: 0.55769, test spe: 0.15686, test sen: 0.94340 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=23, tm_min=33, tm_sec=59, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 91, ce loss: 0.60133, ce loss_cla: 0.60133, train acc: 0.68314, test acc: 0.57692, test spe: 0.19608, test sen: 0.94340 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=23, tm_min=34, tm_sec=56, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 92, ce loss: 0.58817, ce loss_cla: 0.58817, train acc: 0.69388, test acc: 0.56731, test spe: 0.19608, test sen: 0.92453 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=23, tm_min=35, tm_sec=54, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 93, ce loss: 0.59670, ce loss_cla: 0.59670, train acc: 0.67669, test acc: 0.59615, test spe: 0.27451, test sen: 0.90566 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=23, tm_min=36, tm_sec=51, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 94, ce loss: 0.58632, ce loss_cla: 0.58632, train acc: 0.69066, test acc: 0.57692, test spe: 0.19608, test sen: 0.94340 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=23, tm_min=37, tm_sec=48, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 95, ce loss: 0.60235, ce loss_cla: 0.60235, train acc: 0.67777, test acc: 0.59615, test spe: 0.35294, test sen: 0.83019 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=23, tm_min=38, tm_sec=45, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 96, ce loss: 0.57594, ce loss_cla: 0.57594, train acc: 0.69388, test acc: 0.60577, test spe: 0.23529, test sen: 0.96226 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=23, tm_min=39, tm_sec=41, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 97, ce loss: 0.56644, ce loss_cla: 0.56644, train acc: 0.69710, test acc: 0.65385, test spe: 0.66667, test sen: 0.64151 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=23, tm_min=40, tm_sec=38, tm_wday=6, tm_yday=315, tm_isdst=0)
?? Saved model to:.//inffus_fold0.pth
Epoch: 98, ce loss: 0.58062, ce loss_cla: 0.58062, train acc: 0.70247, test acc: 0.62500, test spe: 0.31373, test sen: 0.92453 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=23, tm_min=41, tm_sec=35, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 99, ce loss: 0.57530, ce loss_cla: 0.57530, train acc: 0.69495, test acc: 0.59615, test spe: 0.33333, test sen: 0.84906 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=23, tm_min=42, tm_sec=31, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 100, ce loss: 0.55781, ce loss_cla: 0.55781, train acc: 0.72288, test acc: 0.66346, test spe: 0.74510, test sen: 0.58491 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=23, tm_min=43, tm_sec=28, tm_wday=6, tm_yday=315, tm_isdst=0)
?? Saved model to:.//inffus_fold0.pth
Epoch: 101, ce loss: 0.57387, ce loss_cla: 0.57387, train acc: 0.68851, test acc: 0.62500, test spe: 0.29412, test sen: 0.94340 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=23, tm_min=44, tm_sec=24, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 102, ce loss: 0.56721, ce loss_cla: 0.56721, train acc: 0.69817, test acc: 0.59615, test spe: 0.21569, test sen: 0.96226 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=23, tm_min=45, tm_sec=21, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 103, ce loss: 0.57968, ce loss_cla: 0.57968, train acc: 0.68528, test acc: 0.71154, test spe: 0.84314, test sen: 0.58491 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=23, tm_min=46, tm_sec=19, tm_wday=6, tm_yday=315, tm_isdst=0)
?? Saved model to:.//inffus_fold0.pth
Epoch: 104, ce loss: 0.56479, ce loss_cla: 0.56479, train acc: 0.70462, test acc: 0.67308, test spe: 0.70588, test sen: 0.64151 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=23, tm_min=47, tm_sec=16, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 105, ce loss: 0.55890, ce loss_cla: 0.55890, train acc: 0.72503, test acc: 0.65385, test spe: 0.37255, test sen: 0.92453 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=23, tm_min=48, tm_sec=12, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 106, ce loss: 0.55056, ce loss_cla: 0.55056, train acc: 0.71106, test acc: 0.65385, test spe: 0.33333, test sen: 0.96226 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=23, tm_min=49, tm_sec=9, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 107, ce loss: 0.56271, ce loss_cla: 0.56271, train acc: 0.70677, test acc: 0.63462, test spe: 0.49020, test sen: 0.77358 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=23, tm_min=50, tm_sec=6, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 108, ce loss: 0.53831, ce loss_cla: 0.53831, train acc: 0.72503, test acc: 0.63462, test spe: 0.62745, test sen: 0.64151 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=23, tm_min=51, tm_sec=4, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 109, ce loss: 0.54837, ce loss_cla: 0.54837, train acc: 0.71321, test acc: 0.66346, test spe: 0.72549, test sen: 0.60377 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=23, tm_min=52, tm_sec=0, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 110, ce loss: 0.53402, ce loss_cla: 0.53402, train acc: 0.72718, test acc: 0.64423, test spe: 0.58824, test sen: 0.69811 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=23, tm_min=52, tm_sec=57, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 111, ce loss: 0.52672, ce loss_cla: 0.52672, train acc: 0.73255, test acc: 0.63462, test spe: 0.72549, test sen: 0.54717 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=23, tm_min=53, tm_sec=54, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 112, ce loss: 0.52893, ce loss_cla: 0.52893, train acc: 0.72503, test acc: 0.61538, test spe: 0.70588, test sen: 0.52830 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=23, tm_min=54, tm_sec=52, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 113, ce loss: 0.53095, ce loss_cla: 0.53095, train acc: 0.72610, test acc: 0.64423, test spe: 0.68627, test sen: 0.60377 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=23, tm_min=55, tm_sec=49, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 114, ce loss: 0.52216, ce loss_cla: 0.52216, train acc: 0.75295, test acc: 0.68269, test spe: 0.64706, test sen: 0.71698 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=23, tm_min=56, tm_sec=46, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 115, ce loss: 0.51598, ce loss_cla: 0.51598, train acc: 0.73684, test acc: 0.65385, test spe: 0.76471, test sen: 0.54717 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=23, tm_min=57, tm_sec=43, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 116, ce loss: 0.50240, ce loss_cla: 0.50240, train acc: 0.75510, test acc: 0.69231, test spe: 0.56863, test sen: 0.81132 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=23, tm_min=58, tm_sec=40, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 117, ce loss: 0.49248, ce loss_cla: 0.49248, train acc: 0.75188, test acc: 0.70192, test spe: 0.54902, test sen: 0.84906 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=10, tm_hour=23, tm_min=59, tm_sec=37, tm_wday=6, tm_yday=315, tm_isdst=0)
Epoch: 118, ce loss: 0.49796, ce loss_cla: 0.49796, train acc: 0.74221, test acc: 0.67308, test spe: 0.68627, test sen: 0.66038 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=0, tm_min=0, tm_sec=34, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 119, ce loss: 0.51211, ce loss_cla: 0.51211, train acc: 0.74006, test acc: 0.64423, test spe: 0.58824, test sen: 0.69811 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=0, tm_min=1, tm_sec=31, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 120, ce loss: 0.49411, ce loss_cla: 0.49411, train acc: 0.75295, test acc: 0.65385, test spe: 0.35294, test sen: 0.94340 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=0, tm_min=2, tm_sec=28, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 121, ce loss: 0.52035, ce loss_cla: 0.52035, train acc: 0.73684, test acc: 0.60577, test spe: 0.68627, test sen: 0.52830 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=0, tm_min=3, tm_sec=25, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 122, ce loss: 0.49369, ce loss_cla: 0.49369, train acc: 0.76369, test acc: 0.55769, test spe: 0.78431, test sen: 0.33962 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=0, tm_min=4, tm_sec=23, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 123, ce loss: 0.50939, ce loss_cla: 0.50939, train acc: 0.74329, test acc: 0.65385, test spe: 0.64706, test sen: 0.66038 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=0, tm_min=5, tm_sec=21, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 124, ce loss: 0.47660, ce loss_cla: 0.47660, train acc: 0.76692, test acc: 0.62500, test spe: 0.37255, test sen: 0.86792 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=0, tm_min=6, tm_sec=18, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 125, ce loss: 0.51470, ce loss_cla: 0.51470, train acc: 0.74436, test acc: 0.61538, test spe: 0.74510, test sen: 0.49057 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=0, tm_min=7, tm_sec=15, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 126, ce loss: 0.47966, ce loss_cla: 0.47966, train acc: 0.75940, test acc: 0.54808, test spe: 0.78431, test sen: 0.32075 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=0, tm_min=8, tm_sec=11, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 127, ce loss: 0.50396, ce loss_cla: 0.50396, train acc: 0.73899, test acc: 0.63462, test spe: 0.74510, test sen: 0.52830 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=0, tm_min=9, tm_sec=8, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 128, ce loss: 0.46927, ce loss_cla: 0.46927, train acc: 0.77014, test acc: 0.59615, test spe: 0.45098, test sen: 0.73585 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=0, tm_min=10, tm_sec=5, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 129, ce loss: 0.48460, ce loss_cla: 0.48460, train acc: 0.77229, test acc: 0.57692, test spe: 0.43137, test sen: 0.71698 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=0, tm_min=11, tm_sec=2, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 130, ce loss: 0.48797, ce loss_cla: 0.48797, train acc: 0.76155, test acc: 0.62500, test spe: 0.76471, test sen: 0.49057 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=0, tm_min=11, tm_sec=59, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 131, ce loss: 0.45155, ce loss_cla: 0.45155, train acc: 0.77121, test acc: 0.53846, test spe: 0.92157, test sen: 0.16981 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=0, tm_min=12, tm_sec=56, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 132, ce loss: 0.46938, ce loss_cla: 0.46938, train acc: 0.77444, test acc: 0.57692, test spe: 0.84314, test sen: 0.32075 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=0, tm_min=13, tm_sec=52, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 133, ce loss: 0.47387, ce loss_cla: 0.47387, train acc: 0.77658, test acc: 0.58654, test spe: 0.66667, test sen: 0.50943 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=0, tm_min=14, tm_sec=49, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 134, ce loss: 0.47998, ce loss_cla: 0.47998, train acc: 0.75725, test acc: 0.55769, test spe: 0.62745, test sen: 0.49057 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=0, tm_min=15, tm_sec=46, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 135, ce loss: 0.49237, ce loss_cla: 0.49237, train acc: 0.75403, test acc: 0.53846, test spe: 0.56863, test sen: 0.50943 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=0, tm_min=16, tm_sec=43, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 136, ce loss: 0.51030, ce loss_cla: 0.51030, train acc: 0.74543, test acc: 0.58654, test spe: 0.72549, test sen: 0.45283 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=0, tm_min=17, tm_sec=40, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 137, ce loss: 0.53573, ce loss_cla: 0.53573, train acc: 0.71643, test acc: 0.56731, test spe: 0.72549, test sen: 0.41509 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=0, tm_min=18, tm_sec=37, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 138, ce loss: 0.52471, ce loss_cla: 0.52471, train acc: 0.73362, test acc: 0.56731, test spe: 0.84314, test sen: 0.30189 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=0, tm_min=19, tm_sec=34, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 139, ce loss: 0.54841, ce loss_cla: 0.54841, train acc: 0.72073, test acc: 0.54808, test spe: 0.88235, test sen: 0.22642 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=0, tm_min=20, tm_sec=31, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 140, ce loss: 0.56441, ce loss_cla: 0.56441, train acc: 0.69603, test acc: 0.54808, test spe: 0.74510, test sen: 0.35849 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=0, tm_min=21, tm_sec=28, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 141, ce loss: 0.54735, ce loss_cla: 0.54735, train acc: 0.72073, test acc: 0.56731, test spe: 0.74510, test sen: 0.39623 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=0, tm_min=22, tm_sec=25, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 142, ce loss: 0.54643, ce loss_cla: 0.54643, train acc: 0.74543, test acc: 0.57692, test spe: 0.80392, test sen: 0.35849 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=0, tm_min=23, tm_sec=22, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 143, ce loss: 0.54273, ce loss_cla: 0.54273, train acc: 0.72180, test acc: 0.58654, test spe: 0.78431, test sen: 0.39623 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=0, tm_min=24, tm_sec=21, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 144, ce loss: 0.54602, ce loss_cla: 0.54602, train acc: 0.71214, test acc: 0.61538, test spe: 0.78431, test sen: 0.45283 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=0, tm_min=25, tm_sec=20, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 145, ce loss: 0.54217, ce loss_cla: 0.54217, train acc: 0.72288, test acc: 0.58654, test spe: 0.72549, test sen: 0.45283 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=0, tm_min=26, tm_sec=19, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 146, ce loss: 0.52582, ce loss_cla: 0.52582, train acc: 0.72395, test acc: 0.61538, test spe: 0.72549, test sen: 0.50943 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=0, tm_min=27, tm_sec=17, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 147, ce loss: 0.51320, ce loss_cla: 0.51320, train acc: 0.73577, test acc: 0.60577, test spe: 0.64706, test sen: 0.56604 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=0, tm_min=28, tm_sec=15, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 148, ce loss: 0.50974, ce loss_cla: 0.50974, train acc: 0.73577, test acc: 0.65385, test spe: 0.60784, test sen: 0.69811 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=0, tm_min=29, tm_sec=12, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 149, ce loss: 0.50395, ce loss_cla: 0.50395, train acc: 0.75295, test acc: 0.66346, test spe: 0.58824, test sen: 0.73585 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=0, tm_min=30, tm_sec=11, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 150, ce loss: 0.50518, ce loss_cla: 0.50518, train acc: 0.74866, test acc: 0.64423, test spe: 0.56863, test sen: 0.71698 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=0, tm_min=31, tm_sec=11, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 151, ce loss: 0.49358, ce loss_cla: 0.49358, train acc: 0.75188, test acc: 0.66346, test spe: 0.58824, test sen: 0.73585 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=0, tm_min=32, tm_sec=9, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 152, ce loss: 0.48413, ce loss_cla: 0.48413, train acc: 0.75295, test acc: 0.64423, test spe: 0.54902, test sen: 0.73585 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=0, tm_min=33, tm_sec=6, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 153, ce loss: 0.47574, ce loss_cla: 0.47574, train acc: 0.77014, test acc: 0.64423, test spe: 0.54902, test sen: 0.73585 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=0, tm_min=34, tm_sec=4, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 154, ce loss: 0.49283, ce loss_cla: 0.49283, train acc: 0.76262, test acc: 0.66346, test spe: 0.50980, test sen: 0.81132 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=0, tm_min=35, tm_sec=1, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 155, ce loss: 0.49961, ce loss_cla: 0.49961, train acc: 0.74329, test acc: 0.70192, test spe: 0.60784, test sen: 0.79245 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=0, tm_min=36, tm_sec=0, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 156, ce loss: 0.49576, ce loss_cla: 0.49576, train acc: 0.75832, test acc: 0.62500, test spe: 0.76471, test sen: 0.49057 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=0, tm_min=37, tm_sec=0, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 157, ce loss: 0.54906, ce loss_cla: 0.54906, train acc: 0.73899, test acc: 0.57692, test spe: 0.88235, test sen: 0.28302 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=0, tm_min=38, tm_sec=1, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 158, ce loss: 0.53133, ce loss_cla: 0.53133, train acc: 0.74221, test acc: 0.52885, test spe: 0.94118, test sen: 0.13208 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=0, tm_min=39, tm_sec=1, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 159, ce loss: 0.55702, ce loss_cla: 0.55702, train acc: 0.71643, test acc: 0.68269, test spe: 0.64706, test sen: 0.71698 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=0, tm_min=40, tm_sec=0, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 160, ce loss: 0.53732, ce loss_cla: 0.53732, train acc: 0.73792, test acc: 0.62500, test spe: 0.43137, test sen: 0.81132 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=0, tm_min=40, tm_sec=58, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 161, ce loss: 0.56718, ce loss_cla: 0.56718, train acc: 0.71643, test acc: 0.62500, test spe: 0.39216, test sen: 0.84906 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=0, tm_min=41, tm_sec=56, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 162, ce loss: 0.52718, ce loss_cla: 0.52718, train acc: 0.73362, test acc: 0.65385, test spe: 0.66667, test sen: 0.64151 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=0, tm_min=42, tm_sec=54, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 163, ce loss: 0.53814, ce loss_cla: 0.53814, train acc: 0.71966, test acc: 0.62500, test spe: 0.49020, test sen: 0.75472 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=0, tm_min=43, tm_sec=52, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 164, ce loss: 0.56530, ce loss_cla: 0.56530, train acc: 0.69710, test acc: 0.59615, test spe: 0.31373, test sen: 0.86792 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=0, tm_min=44, tm_sec=49, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 165, ce loss: 0.54210, ce loss_cla: 0.54210, train acc: 0.71751, test acc: 0.59615, test spe: 0.31373, test sen: 0.86792 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=0, tm_min=45, tm_sec=46, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 166, ce loss: 0.53901, ce loss_cla: 0.53901, train acc: 0.72288, test acc: 0.62500, test spe: 0.31373, test sen: 0.92453 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=0, tm_min=46, tm_sec=43, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 167, ce loss: 0.54562, ce loss_cla: 0.54562, train acc: 0.73255, test acc: 0.61538, test spe: 0.72549, test sen: 0.50943 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=0, tm_min=47, tm_sec=41, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 168, ce loss: 0.53718, ce loss_cla: 0.53718, train acc: 0.71966, test acc: 0.58654, test spe: 0.86275, test sen: 0.32075 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=0, tm_min=48, tm_sec=39, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 169, ce loss: 0.55274, ce loss_cla: 0.55274, train acc: 0.71106, test acc: 0.58654, test spe: 0.62745, test sen: 0.54717 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=0, tm_min=49, tm_sec=36, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 170, ce loss: 0.53665, ce loss_cla: 0.53665, train acc: 0.71751, test acc: 0.63462, test spe: 0.43137, test sen: 0.83019 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=0, tm_min=50, tm_sec=34, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 171, ce loss: 0.52234, ce loss_cla: 0.52234, train acc: 0.74006, test acc: 0.63462, test spe: 0.39216, test sen: 0.86792 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=0, tm_min=51, tm_sec=31, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 172, ce loss: 0.53067, ce loss_cla: 0.53067, train acc: 0.74329, test acc: 0.64423, test spe: 0.43137, test sen: 0.84906 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=0, tm_min=52, tm_sec=29, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 173, ce loss: 0.53736, ce loss_cla: 0.53736, train acc: 0.72288, test acc: 0.64423, test spe: 0.49020, test sen: 0.79245 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=0, tm_min=53, tm_sec=27, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 174, ce loss: 0.52307, ce loss_cla: 0.52307, train acc: 0.73899, test acc: 0.62500, test spe: 0.54902, test sen: 0.69811 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=0, tm_min=54, tm_sec=23, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 175, ce loss: 0.51148, ce loss_cla: 0.51148, train acc: 0.74221, test acc: 0.64423, test spe: 0.58824, test sen: 0.69811 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=0, tm_min=55, tm_sec=20, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 176, ce loss: 0.50376, ce loss_cla: 0.50376, train acc: 0.75295, test acc: 0.66346, test spe: 0.58824, test sen: 0.73585 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=0, tm_min=56, tm_sec=17, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 177, ce loss: 0.51625, ce loss_cla: 0.51625, train acc: 0.73147, test acc: 0.62500, test spe: 0.50980, test sen: 0.73585 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=0, tm_min=57, tm_sec=14, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 178, ce loss: 0.50134, ce loss_cla: 0.50134, train acc: 0.73040, test acc: 0.62500, test spe: 0.52941, test sen: 0.71698 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=0, tm_min=58, tm_sec=11, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 179, ce loss: 0.49745, ce loss_cla: 0.49745, train acc: 0.75188, test acc: 0.62500, test spe: 0.50980, test sen: 0.73585 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=0, tm_min=59, tm_sec=9, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 180, ce loss: 0.48337, ce loss_cla: 0.48337, train acc: 0.75832, test acc: 0.61538, test spe: 0.47059, test sen: 0.75472 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=1, tm_min=0, tm_sec=6, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 181, ce loss: 0.50805, ce loss_cla: 0.50805, train acc: 0.74651, test acc: 0.63462, test spe: 0.49020, test sen: 0.77358 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=1, tm_min=1, tm_sec=3, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 182, ce loss: 0.47207, ce loss_cla: 0.47207, train acc: 0.75725, test acc: 0.63462, test spe: 0.56863, test sen: 0.69811 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=1, tm_min=2, tm_sec=0, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 183, ce loss: 0.47001, ce loss_cla: 0.47001, train acc: 0.76584, test acc: 0.58654, test spe: 0.60784, test sen: 0.56604 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=1, tm_min=2, tm_sec=57, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 184, ce loss: 0.48859, ce loss_cla: 0.48859, train acc: 0.76047, test acc: 0.59615, test spe: 0.62745, test sen: 0.56604 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=1, tm_min=3, tm_sec=53, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 185, ce loss: 0.47762, ce loss_cla: 0.47762, train acc: 0.76692, test acc: 0.63462, test spe: 0.60784, test sen: 0.66038 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=1, tm_min=4, tm_sec=50, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 186, ce loss: 0.46165, ce loss_cla: 0.46165, train acc: 0.77981, test acc: 0.65385, test spe: 0.54902, test sen: 0.75472 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=1, tm_min=5, tm_sec=47, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 187, ce loss: 0.48549, ce loss_cla: 0.48549, train acc: 0.74973, test acc: 0.64423, test spe: 0.49020, test sen: 0.79245 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=1, tm_min=6, tm_sec=45, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 188, ce loss: 0.47526, ce loss_cla: 0.47526, train acc: 0.76584, test acc: 0.62500, test spe: 0.49020, test sen: 0.75472 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=1, tm_min=7, tm_sec=44, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 189, ce loss: 0.46604, ce loss_cla: 0.46604, train acc: 0.77014, test acc: 0.62500, test spe: 0.50980, test sen: 0.73585 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=1, tm_min=8, tm_sec=42, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 190, ce loss: 0.44376, ce loss_cla: 0.44376, train acc: 0.79055, test acc: 0.63462, test spe: 0.52941, test sen: 0.73585 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=1, tm_min=9, tm_sec=40, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 191, ce loss: 0.45618, ce loss_cla: 0.45618, train acc: 0.77444, test acc: 0.66346, test spe: 0.60784, test sen: 0.71698 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=1, tm_min=10, tm_sec=38, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 192, ce loss: 0.45191, ce loss_cla: 0.45191, train acc: 0.78410, test acc: 0.65385, test spe: 0.54902, test sen: 0.75472 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=1, tm_min=11, tm_sec=37, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 193, ce loss: 0.44289, ce loss_cla: 0.44289, train acc: 0.77766, test acc: 0.66346, test spe: 0.58824, test sen: 0.73585 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=1, tm_min=12, tm_sec=35, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 194, ce loss: 0.44144, ce loss_cla: 0.44144, train acc: 0.77981, test acc: 0.68269, test spe: 0.52941, test sen: 0.83019 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=1, tm_min=13, tm_sec=32, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 195, ce loss: 0.43317, ce loss_cla: 0.43317, train acc: 0.78518, test acc: 0.67308, test spe: 0.47059, test sen: 0.86792 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=1, tm_min=14, tm_sec=30, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 196, ce loss: 0.43873, ce loss_cla: 0.43873, train acc: 0.79377, test acc: 0.66346, test spe: 0.58824, test sen: 0.73585 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=1, tm_min=15, tm_sec=26, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 197, ce loss: 0.43000, ce loss_cla: 0.43000, train acc: 0.79055, test acc: 0.68269, test spe: 0.64706, test sen: 0.71698 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=1, tm_min=16, tm_sec=22, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 198, ce loss: 0.44553, ce loss_cla: 0.44553, train acc: 0.77551, test acc: 0.68269, test spe: 0.58824, test sen: 0.77358 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=1, tm_min=17, tm_sec=18, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 199, ce loss: 0.43197, ce loss_cla: 0.43197, train acc: 0.78733, test acc: 0.69231, test spe: 0.47059, test sen: 0.90566 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=1, tm_min=18, tm_sec=14, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 200, ce loss: 0.43440, ce loss_cla: 0.43440, train acc: 0.79377, test acc: 0.63462, test spe: 0.43137, test sen: 0.83019 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=1, tm_min=19, tm_sec=9, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 201, ce loss: 0.40102, ce loss_cla: 0.40102, train acc: 0.80881, test acc: 0.67308, test spe: 0.58824, test sen: 0.75472 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=1, tm_min=20, tm_sec=5, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 202, ce loss: 0.43185, ce loss_cla: 0.43185, train acc: 0.79484, test acc: 0.62500, test spe: 0.50980, test sen: 0.73585 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=1, tm_min=21, tm_sec=1, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 203, ce loss: 0.42707, ce loss_cla: 0.42707, train acc: 0.79270, test acc: 0.65385, test spe: 0.54902, test sen: 0.75472 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=1, tm_min=21, tm_sec=56, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 204, ce loss: 0.40314, ce loss_cla: 0.40314, train acc: 0.82599, test acc: 0.68269, test spe: 0.50980, test sen: 0.84906 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=1, tm_min=22, tm_sec=51, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 205, ce loss: 0.41051, ce loss_cla: 0.41051, train acc: 0.80988, test acc: 0.67308, test spe: 0.43137, test sen: 0.90566 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=1, tm_min=23, tm_sec=47, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 206, ce loss: 0.39488, ce loss_cla: 0.39488, train acc: 0.80988, test acc: 0.69231, test spe: 0.47059, test sen: 0.90566 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=1, tm_min=24, tm_sec=43, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 207, ce loss: 0.38099, ce loss_cla: 0.38099, train acc: 0.82492, test acc: 0.67308, test spe: 0.47059, test sen: 0.86792 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=1, tm_min=25, tm_sec=38, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 208, ce loss: 0.41266, ce loss_cla: 0.41266, train acc: 0.79807, test acc: 0.68269, test spe: 0.47059, test sen: 0.88679 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=1, tm_min=26, tm_sec=33, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 209, ce loss: 0.39697, ce loss_cla: 0.39697, train acc: 0.81418, test acc: 0.69231, test spe: 0.47059, test sen: 0.90566 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=1, tm_min=27, tm_sec=28, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 210, ce loss: 0.41921, ce loss_cla: 0.41921, train acc: 0.80021, test acc: 0.68269, test spe: 0.45098, test sen: 0.90566 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=1, tm_min=28, tm_sec=24, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 211, ce loss: 0.39127, ce loss_cla: 0.39127, train acc: 0.80236, test acc: 0.65385, test spe: 0.41176, test sen: 0.88679 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=1, tm_min=29, tm_sec=19, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 212, ce loss: 0.38233, ce loss_cla: 0.38233, train acc: 0.83029, test acc: 0.67308, test spe: 0.47059, test sen: 0.86792 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=1, tm_min=30, tm_sec=14, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 213, ce loss: 0.39426, ce loss_cla: 0.39426, train acc: 0.81633, test acc: 0.66346, test spe: 0.60784, test sen: 0.71698 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=1, tm_min=31, tm_sec=9, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 214, ce loss: 0.38679, ce loss_cla: 0.38679, train acc: 0.81633, test acc: 0.66346, test spe: 0.60784, test sen: 0.71698 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=1, tm_min=32, tm_sec=5, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 215, ce loss: 0.41257, ce loss_cla: 0.41257, train acc: 0.80451, test acc: 0.63462, test spe: 0.35294, test sen: 0.90566 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=1, tm_min=33, tm_sec=0, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 216, ce loss: 0.38467, ce loss_cla: 0.38467, train acc: 0.82492, test acc: 0.63462, test spe: 0.29412, test sen: 0.96226 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=1, tm_min=33, tm_sec=55, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 217, ce loss: 0.39130, ce loss_cla: 0.39130, train acc: 0.81633, test acc: 0.63462, test spe: 0.50980, test sen: 0.75472 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=1, tm_min=34, tm_sec=50, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 218, ce loss: 0.36891, ce loss_cla: 0.36891, train acc: 0.81525, test acc: 0.65385, test spe: 0.60784, test sen: 0.69811 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=1, tm_min=35, tm_sec=45, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 219, ce loss: 0.37895, ce loss_cla: 0.37895, train acc: 0.83244, test acc: 0.66346, test spe: 0.56863, test sen: 0.75472 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=1, tm_min=36, tm_sec=40, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 220, ce loss: 0.37300, ce loss_cla: 0.37300, train acc: 0.83673, test acc: 0.66346, test spe: 0.50980, test sen: 0.81132 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=1, tm_min=37, tm_sec=35, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 221, ce loss: 0.37542, ce loss_cla: 0.37542, train acc: 0.83244, test acc: 0.64423, test spe: 0.62745, test sen: 0.66038 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=1, tm_min=38, tm_sec=30, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 222, ce loss: 0.35814, ce loss_cla: 0.35814, train acc: 0.84103, test acc: 0.62500, test spe: 0.68627, test sen: 0.56604 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=1, tm_min=39, tm_sec=26, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 223, ce loss: 0.37513, ce loss_cla: 0.37513, train acc: 0.80559, test acc: 0.65385, test spe: 0.60784, test sen: 0.69811 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=1, tm_min=40, tm_sec=21, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 224, ce loss: 0.35442, ce loss_cla: 0.35442, train acc: 0.82922, test acc: 0.63462, test spe: 0.43137, test sen: 0.83019 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=1, tm_min=41, tm_sec=16, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 225, ce loss: 0.37849, ce loss_cla: 0.37849, train acc: 0.83029, test acc: 0.66346, test spe: 0.58824, test sen: 0.73585 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=1, tm_min=42, tm_sec=12, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 226, ce loss: 0.36076, ce loss_cla: 0.36076, train acc: 0.83459, test acc: 0.67308, test spe: 0.66667, test sen: 0.67925 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=1, tm_min=43, tm_sec=7, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 227, ce loss: 0.35826, ce loss_cla: 0.35826, train acc: 0.83566, test acc: 0.71154, test spe: 0.64706, test sen: 0.77358 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=1, tm_min=44, tm_sec=2, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 228, ce loss: 0.34706, ce loss_cla: 0.34706, train acc: 0.83673, test acc: 0.66346, test spe: 0.45098, test sen: 0.86792 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=1, tm_min=44, tm_sec=58, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 229, ce loss: 0.36156, ce loss_cla: 0.36156, train acc: 0.82922, test acc: 0.63462, test spe: 0.37255, test sen: 0.88679 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=1, tm_min=45, tm_sec=53, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 230, ce loss: 0.35874, ce loss_cla: 0.35874, train acc: 0.84318, test acc: 0.65385, test spe: 0.45098, test sen: 0.84906 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=1, tm_min=46, tm_sec=48, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 231, ce loss: 0.36240, ce loss_cla: 0.36240, train acc: 0.83566, test acc: 0.65385, test spe: 0.52941, test sen: 0.77358 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=1, tm_min=47, tm_sec=43, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 232, ce loss: 0.35887, ce loss_cla: 0.35887, train acc: 0.82170, test acc: 0.65385, test spe: 0.52941, test sen: 0.77358 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=1, tm_min=48, tm_sec=38, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 233, ce loss: 0.34752, ce loss_cla: 0.34752, train acc: 0.85607, test acc: 0.63462, test spe: 0.47059, test sen: 0.79245 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=1, tm_min=49, tm_sec=34, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 234, ce loss: 0.34111, ce loss_cla: 0.34111, train acc: 0.84962, test acc: 0.65385, test spe: 0.50980, test sen: 0.79245 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=1, tm_min=50, tm_sec=29, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 235, ce loss: 0.32533, ce loss_cla: 0.32533, train acc: 0.85929, test acc: 0.65385, test spe: 0.50980, test sen: 0.79245 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=1, tm_min=51, tm_sec=24, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 236, ce loss: 0.31963, ce loss_cla: 0.31963, train acc: 0.84640, test acc: 0.66346, test spe: 0.52941, test sen: 0.79245 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=1, tm_min=52, tm_sec=19, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 237, ce loss: 0.34978, ce loss_cla: 0.34978, train acc: 0.83673, test acc: 0.64423, test spe: 0.52941, test sen: 0.75472 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=1, tm_min=53, tm_sec=14, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 238, ce loss: 0.32111, ce loss_cla: 0.32111, train acc: 0.86144, test acc: 0.67308, test spe: 0.60784, test sen: 0.73585 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=1, tm_min=54, tm_sec=9, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 239, ce loss: 0.33781, ce loss_cla: 0.33781, train acc: 0.83996, test acc: 0.65385, test spe: 0.50980, test sen: 0.79245 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=1, tm_min=55, tm_sec=5, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 240, ce loss: 0.31937, ce loss_cla: 0.31937, train acc: 0.85177, test acc: 0.63462, test spe: 0.47059, test sen: 0.79245 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=1, tm_min=56, tm_sec=0, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 241, ce loss: 0.34162, ce loss_cla: 0.34162, train acc: 0.85070, test acc: 0.64423, test spe: 0.54902, test sen: 0.73585 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=1, tm_min=56, tm_sec=55, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 242, ce loss: 0.33199, ce loss_cla: 0.33199, train acc: 0.85499, test acc: 0.62500, test spe: 0.45098, test sen: 0.79245 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=1, tm_min=57, tm_sec=50, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 243, ce loss: 0.32422, ce loss_cla: 0.32422, train acc: 0.85070, test acc: 0.61538, test spe: 0.31373, test sen: 0.90566 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=1, tm_min=58, tm_sec=46, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 244, ce loss: 0.31882, ce loss_cla: 0.31882, train acc: 0.85177, test acc: 0.61538, test spe: 0.29412, test sen: 0.92453 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=1, tm_min=59, tm_sec=41, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 245, ce loss: 0.31977, ce loss_cla: 0.31977, train acc: 0.86574, test acc: 0.63462, test spe: 0.41176, test sen: 0.84906 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=2, tm_min=0, tm_sec=36, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 246, ce loss: 0.30038, ce loss_cla: 0.30038, train acc: 0.86788, test acc: 0.66346, test spe: 0.56863, test sen: 0.75472 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=2, tm_min=1, tm_sec=32, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 247, ce loss: 0.30812, ce loss_cla: 0.30812, train acc: 0.85499, test acc: 0.66346, test spe: 0.52941, test sen: 0.79245 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=2, tm_min=2, tm_sec=27, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 248, ce loss: 0.29853, ce loss_cla: 0.29853, train acc: 0.87218, test acc: 0.64423, test spe: 0.39216, test sen: 0.88679 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=2, tm_min=3, tm_sec=22, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 249, ce loss: 0.30024, ce loss_cla: 0.30024, train acc: 0.87003, test acc: 0.51923, test spe: 0.96078, test sen: 0.09434 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=2, tm_min=4, tm_sec=17, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 250, ce loss: 0.38088, ce loss_cla: 0.38088, train acc: 0.82599, test acc: 0.50962, test spe: 0.96078, test sen: 0.07547 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=2, tm_min=5, tm_sec=12, tm_wday=0, tm_yday=316, tm_isdst=0)
......
Epoch: 900, ce loss: 0.53919, ce loss_cla: 0.53919, train acc: 0.71321, test acc: 0.54808, test spe: 0.47059, test sen: 0.62264 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=12, tm_min=4, tm_sec=3, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 901, ce loss: 0.53893, ce loss_cla: 0.53893, train acc: 0.70892, test acc: 0.57692, test spe: 0.49020, test sen: 0.66038 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=12, tm_min=4, tm_sec=58, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 902, ce loss: 0.54098, ce loss_cla: 0.54098, train acc: 0.70677, test acc: 0.54808, test spe: 0.56863, test sen: 0.52830 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=12, tm_min=5, tm_sec=54, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 903, ce loss: 0.52733, ce loss_cla: 0.52733, train acc: 0.72180, test acc: 0.56731, test spe: 0.68627, test sen: 0.45283 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=12, tm_min=6, tm_sec=49, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 904, ce loss: 0.54052, ce loss_cla: 0.54052, train acc: 0.71214, test acc: 0.57692, test spe: 0.76471, test sen: 0.39623 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=12, tm_min=7, tm_sec=44, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 905, ce loss: 0.52077, ce loss_cla: 0.52077, train acc: 0.73899, test acc: 0.57692, test spe: 0.82353, test sen: 0.33962 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=12, tm_min=8, tm_sec=40, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 906, ce loss: 0.51539, ce loss_cla: 0.51539, train acc: 0.73147, test acc: 0.55769, test spe: 0.86275, test sen: 0.26415 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=12, tm_min=9, tm_sec=35, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 907, ce loss: 0.52720, ce loss_cla: 0.52720, train acc: 0.73684, test acc: 0.58654, test spe: 0.82353, test sen: 0.35849 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=12, tm_min=10, tm_sec=30, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 908, ce loss: 0.50717, ce loss_cla: 0.50717, train acc: 0.74221, test acc: 0.58654, test spe: 0.80392, test sen: 0.37736 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=12, tm_min=11, tm_sec=25, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 909, ce loss: 0.50296, ce loss_cla: 0.50296, train acc: 0.73577, test acc: 0.56731, test spe: 0.80392, test sen: 0.33962 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=12, tm_min=12, tm_sec=20, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 910, ce loss: 0.50314, ce loss_cla: 0.50314, train acc: 0.74973, test acc: 0.55769, test spe: 0.78431, test sen: 0.33962 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=12, tm_min=13, tm_sec=15, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 911, ce loss: 0.51053, ce loss_cla: 0.51053, train acc: 0.74221, test acc: 0.55769, test spe: 0.78431, test sen: 0.33962 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=12, tm_min=14, tm_sec=10, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 912, ce loss: 0.48558, ce loss_cla: 0.48558, train acc: 0.75081, test acc: 0.55769, test spe: 0.76471, test sen: 0.35849 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=12, tm_min=15, tm_sec=6, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 913, ce loss: 0.48548, ce loss_cla: 0.48548, train acc: 0.77229, test acc: 0.55769, test spe: 0.76471, test sen: 0.35849 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=12, tm_min=16, tm_sec=1, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 914, ce loss: 0.47654, ce loss_cla: 0.47654, train acc: 0.76584, test acc: 0.58654, test spe: 0.72549, test sen: 0.45283 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=12, tm_min=16, tm_sec=56, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 915, ce loss: 0.47807, ce loss_cla: 0.47807, train acc: 0.75510, test acc: 0.60577, test spe: 0.50980, test sen: 0.69811 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=12, tm_min=17, tm_sec=51, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 916, ce loss: 0.47408, ce loss_cla: 0.47408, train acc: 0.76692, test acc: 0.59615, test spe: 0.33333, test sen: 0.84906 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=12, tm_min=18, tm_sec=46, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 917, ce loss: 0.45607, ce loss_cla: 0.45607, train acc: 0.76477, test acc: 0.55769, test spe: 0.27451, test sen: 0.83019 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=12, tm_min=19, tm_sec=42, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 918, ce loss: 0.46849, ce loss_cla: 0.46849, train acc: 0.75295, test acc: 0.58654, test spe: 0.37255, test sen: 0.79245 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=12, tm_min=20, tm_sec=37, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 919, ce loss: 0.45788, ce loss_cla: 0.45788, train acc: 0.76262, test acc: 0.60577, test spe: 0.50980, test sen: 0.69811 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=12, tm_min=21, tm_sec=33, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 920, ce loss: 0.45761, ce loss_cla: 0.45761, train acc: 0.77551, test acc: 0.61538, test spe: 0.58824, test sen: 0.64151 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=12, tm_min=22, tm_sec=28, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 921, ce loss: 0.44707, ce loss_cla: 0.44707, train acc: 0.79270, test acc: 0.60577, test spe: 0.64706, test sen: 0.56604 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=12, tm_min=23, tm_sec=23, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 922, ce loss: 0.45069, ce loss_cla: 0.45069, train acc: 0.78733, test acc: 0.59615, test spe: 0.66667, test sen: 0.52830 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=12, tm_min=24, tm_sec=18, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 923, ce loss: 0.44504, ce loss_cla: 0.44504, train acc: 0.78518, test acc: 0.59615, test spe: 0.66667, test sen: 0.52830 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=12, tm_min=25, tm_sec=13, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 924, ce loss: 0.44850, ce loss_cla: 0.44850, train acc: 0.77873, test acc: 0.58654, test spe: 0.58824, test sen: 0.58491 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=12, tm_min=26, tm_sec=8, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 925, ce loss: 0.44020, ce loss_cla: 0.44020, train acc: 0.77658, test acc: 0.58654, test spe: 0.60784, test sen: 0.56604 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=12, tm_min=27, tm_sec=4, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 926, ce loss: 0.43302, ce loss_cla: 0.43302, train acc: 0.78947, test acc: 0.59615, test spe: 0.70588, test sen: 0.49057 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=12, tm_min=27, tm_sec=59, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 927, ce loss: 0.41378, ce loss_cla: 0.41378, train acc: 0.81310, test acc: 0.58654, test spe: 0.76471, test sen: 0.41509 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=12, tm_min=28, tm_sec=55, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 928, ce loss: 0.42438, ce loss_cla: 0.42438, train acc: 0.80236, test acc: 0.61538, test spe: 0.64706, test sen: 0.58491 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=12, tm_min=29, tm_sec=50, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 929, ce loss: 0.40423, ce loss_cla: 0.40423, train acc: 0.80881, test acc: 0.62500, test spe: 0.49020, test sen: 0.75472 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=12, tm_min=30, tm_sec=45, tm_wday=0, tm_yday=316, tm_isdst=0)
Epoch: 930, ce loss: 0.40195, ce loss_cla: 0.40195, train acc: 0.80988, test acc: 0.62500, test spe: 0.49020, test sen: 0.75472 time.struct_time(tm_year=2024, tm_mon=11, tm_mday=11, tm_hour=12, tm_min=31, tm_sec=41, tm_wday=0, tm_yday=316, tm_isdst=0)
@cibimo 你的数据集是哪里来的呀铁子,我也想跑通这个项目
@cibimo 你的数据集是哪里来的呀铁子,我也想跑通这个项目
graph.py 里有注释
# Refer to the data download process: https://github.com/SamitHuang/EV_GCN and https://github.com/xxlya/BrainGNN_Pytorch.
ABIDE是https://github.com/xxlya/BrainGNN_Pytorch
附上一些配环境的代码(linux)
conda create -n FCHGNN python=3.8
pip install torch==1.7.0+cu110 --index-url https://download.pytorch.org/whl
pip install numpy==1.23.5
pip install torch-geometric==1.7.0
pip install torch-sparse==0.6.9 -f https://data.pyg.org/whl/torch-1.7.0+cu110.html
pip install torch-scatter==2.0.6 -f https://data.pyg.org/whl/torch-1.7.0+cu110.html
conda install cudatoolkit=11.0
pip install networkx==2.8.8
# RuntimeError: nvrtc: error: invalid value for --gpu-architecture (-arch) 后调整版本
conda install cudatoolkit=11.8
pip install torch==1.7.1+cu110 --index-url https://download.pytorch.org/whl
感谢讨论。第一个报错应该在subgraph.py文件中,大概率涉及包的版本问题。论文实验时使用的torch和pyg版本较旧。第二个训练问题,首先说明的FC-HGNN的时间复杂度较大,4090ti下十折交叉验证大概需要十几个小时。然后目前你的测试集acc达不到80%,我很难一下子看出哪里设置有问题。请对照论文中的描述检查一下超参、表型数据、模型中的pool和gcn层使用情况(可能是某个消融实验或者分析实验的设置),你也可尝试run一下MDD数据集看下结果。我会抽空去检查一下整理的代码是否有问题。但很抱歉,目前由于在工作,不能保证时效。
非常感谢您的回复
我是根据 https://github.com/xxlya/BrainGNN_Pytorch/blob/main/requirements.txt 安装的包版本,刚才试着调了调 torch-geometric 的版本,再降会发生其他错误,我个人认为代码如果跑通过应该不需要修改,所以我倾向于数据集输入错误
下面是我的数据下载步骤: 我使用 BrainGNN_Pytorch 项目中的 01-fetch_data.py 下载了 ABIDE 数据集的 pipeline: cpac,atlas: ho 的数据,然后直接复制了 BrainGNN_Pytorch-main\data\ABIDE_pcp\cpac\filt_noglobal 文件夹到 FC-HGNN_Pytorch-ABIDE\input\data,没有运行 02-process_data.py
其中修改了 01-fetch_data.py 的参数以及路径,还有preprocess_data.py内的路径
parser.add_argument('--pipeline', default='cpac', type=str,
help='Pipeline to preprocess ABIDE data. Available options are ccs, cpac, dparsf and niak.'
' default: cpac.')
parser.add_argument('--atlas', default='ho',
help='Brain parcellation atlas. Options: ho, cc200 and cc400, default: aal.')
@cibimo 哥们咋样,你这个实验复现得,成功得的话我还想请教一下你嘞
@cibimo 哥们咋样,你这个实验复现得,成功得的话我还想请教一下你嘞
感觉等作者看看吧,我没复现成功(可以讨论讨论
我是一名学生,想要复现文章的代码,我按照代码中的注释使用 BrainGNN_Pytorch 项目中的 01-fetch_data.py 下载了 ABIDE 数据集的 pipeline: cpac,atlas: ho 的数据,将下载的数据放在了 ./input/data/ 文件夹,我将 Phenotypic_V1_0b_preprocessed1.csv 中创建了 Group 列,等于 DX_GROUP 减1,另存为了 phenotypic_information.csv,文件结构如下:
之后修改了 opt.py 里的 default 值后运行了 main.py 但得到以下报错:
pip包版本列表:
希望能得到您的回复,万分感谢!