LiangThree/Rm-LR

复现时运行结果loss没有下降,AUC始终为0.5

Closed this issue · 0 comments

您好,我在复现您的工作时,首先使用data里的data_reprocess.py和deal.py进行了数据处理,然后运行了train.py,但结果中loss没有下降,每个epoch的AUC始终为0.5,想请教一下我该如何处理这个问题,这是由于数据问题导致的吗?谢谢,期待您的回复。

这是对第一种修饰类型的运行结果
epoch: 1, loss: 0.72285
Train: 0.5002, time: 20.60
================ Valid Performance. Epoch[1] ================
[ACC, BACC, SE, SP, MCC, AUC]
0.5000, 0.5000, 0.0000, 1.0000, 0.0000, 0.5000

================ Test Performance. Epoch[1] ================
[ACC, BACC, SE, SP, AUC, PRE]
0.5000, 0.5000, 0.0000, 1.0000, 0.0000, 0.5000

testing...

epoch: 2, loss: 0.72238
Train: 0.5002, time: 19.48
================ Valid Performance. Epoch[2] ================
[ACC, BACC, SE, SP, MCC, AUC]
0.5000, 0.5000, 0.0000, 1.0000, 0.0000, 0.5000

testing...

epoch: 3, loss: 0.71617
Train: 0.4998, time: 18.96
================ Valid Performance. Epoch[3] ================
[ACC, BACC, SE, SP, MCC, AUC]
0.5000, 0.5000, 1.0000, 0.0000, 0.0000, 0.5000

testing...

epoch: 4, loss: 0.71853
Train: 0.4998, time: 18.76
================ Valid Performance. Epoch[4] ================
[ACC, BACC, SE, SP, MCC, AUC]
0.5000, 0.5000, 1.0000, 0.0000, 0.0000, 0.5000

testing...

epoch: 5, loss: 0.70838
Train: 0.4998, time: 19.42
================ Valid Performance. Epoch[5] ================
[ACC, BACC, SE, SP, MCC, AUC]
0.5000, 0.5000, 1.0000, 0.0000, 0.0000, 0.5000

testing...

epoch: 6, loss: 0.71502
Train: 0.4998, time: 18.77
================ Valid Performance. Epoch[6] ================
[ACC, BACC, SE, SP, MCC, AUC]
0.5000, 0.5000, 1.0000, 0.0000, 0.0000, 0.5000

testing...

epoch: 7, loss: 0.71444
Train: 0.5002, time: 19.97
================ Valid Performance. Epoch[7] ================
[ACC, BACC, SE, SP, MCC, AUC]
0.5000, 0.5000, 0.0000, 1.0000, 0.0000, 0.5000

testing...

epoch: 8, loss: 0.70786
Train: 0.4998, time: 17.55
================ Valid Performance. Epoch[8] ================
[ACC, BACC, SE, SP, MCC, AUC]
0.5000, 0.5000, 1.0000, 0.0000, 0.0000, 0.5000

testing...

epoch: 9, loss: 0.71220
Train: 0.4998, time: 17.75
================ Valid Performance. Epoch[9] ================
[ACC, BACC, SE, SP, MCC, AUC]
0.5000, 0.5000, 1.0000, 0.0000, 0.0000, 0.5000

testing...

epoch: 10, loss: 0.71233
Train: 0.4998, time: 17.58
================ Valid Performance. Epoch[10] ================
[ACC, BACC, SE, SP, MCC, AUC]
0.5000, 0.5000, 1.0000, 0.0000, 0.0000, 0.5000

testing...

epoch: 11, loss: 0.71361
Train: 0.5002, time: 17.68
================ Valid Performance. Epoch[11] ================
[ACC, BACC, SE, SP, MCC, AUC]
0.5000, 0.5000, 0.0000, 1.0000, 0.0000, 0.5000

testing...

epoch: 12, loss: 0.70782
Train: 0.5002, time: 17.72
================ Valid Performance. Epoch[12] ================
[ACC, BACC, SE, SP, MCC, AUC]
0.5000, 0.5000, 0.0000, 1.0000, 0.0000, 0.5000

testing...

epoch: 13, loss: 0.70717
Train: 0.5002, time: 17.88
================ Valid Performance. Epoch[13] ================
[ACC, BACC, SE, SP, MCC, AUC]
0.5000, 0.5000, 0.0000, 1.0000, 0.0000, 0.5000

testing...

epoch: 14, loss: 0.70757
Train: 0.4998, time: 17.62
================ Valid Performance. Epoch[14] ================
[ACC, BACC, SE, SP, MCC, AUC]
0.5000, 0.5000, 1.0000, 0.0000, 0.0000, 0.5000

testing...

epoch: 15, loss: 0.70732
Train: 0.5002, time: 17.86
================ Valid Performance. Epoch[15] ================
[ACC, BACC, SE, SP, MCC, AUC]
0.5000, 0.5000, 0.0000, 1.0000, 0.0000, 0.5000

testing...

epoch: 16, loss: 0.70532
Train: 0.4998, time: 17.37
================ Valid Performance. Epoch[16] ================
[ACC, BACC, SE, SP, MCC, AUC]
0.5000, 0.5000, 1.0000, 0.0000, 0.0000, 0.5000

testing...

epoch: 17, loss: 0.70503
Train: 0.5002, time: 17.28
================ Valid Performance. Epoch[17] ================
[ACC, BACC, SE, SP, MCC, AUC]
0.5000, 0.5000, 0.0000, 1.0000, 0.0000, 0.5000

testing...

epoch: 18, loss: 0.70187
Train: 0.4998, time: 21.28
================ Valid Performance. Epoch[18] ================
[ACC, BACC, SE, SP, MCC, AUC]
0.5000, 0.5000, 1.0000, 0.0000, 0.0000, 0.5000

testing...

epoch: 19, loss: 0.70469
Train: 0.4998, time: 22.47
================ Valid Performance. Epoch[19] ================
[ACC, BACC, SE, SP, MCC, AUC]
0.5000, 0.5000, 1.0000, 0.0000, 0.0000, 0.5000

testing...

epoch: 20, loss: 0.70708
Train: 0.4998, time: 22.25
================ Valid Performance. Epoch[20] ================
[ACC, BACC, SE, SP, MCC, AUC]
0.5000, 0.5000, 1.0000, 0.0000, 0.0000, 0.5000

testing...

epoch: 21, loss: 0.70804
Train: 0.4998, time: 21.61
================ Valid Performance. Epoch[21] ================
[ACC, BACC, SE, SP, MCC, AUC]
0.5000, 0.5000, 1.0000, 0.0000, 0.0000, 0.5000

testing...

epoch: 22, loss: 0.71010
Train: 0.4998, time: 20.62
================ Valid Performance. Epoch[22] ================
[ACC, BACC, SE, SP, MCC, AUC]
0.5000, 0.5000, 1.0000, 0.0000, 0.0000, 0.5000

testing...

epoch: 23, loss: 0.70847
Train: 0.4998, time: 21.85
================ Valid Performance. Epoch[23] ================
[ACC, BACC, SE, SP, MCC, AUC]
0.5000, 0.5000, 1.0000, 0.0000, 0.0000, 0.5000

testing...

epoch: 24, loss: 0.70389
Train: 0.4998, time: 22.47
================ Valid Performance. Epoch[24] ================
[ACC, BACC, SE, SP, MCC, AUC]
0.5000, 0.5000, 1.0000, 0.0000, 0.0000, 0.5000

testing...

epoch: 25, loss: 0.70522
Train: 0.4998, time: 21.35
================ Valid Performance. Epoch[25] ================
[ACC, BACC, SE, SP, MCC, AUC]
0.5000, 0.5000, 1.0000, 0.0000, 0.0000, 0.5000

testing...

epoch: 26, loss: 0.70417
Train: 0.5002, time: 21.69
================ Valid Performance. Epoch[26] ================
[ACC, BACC, SE, SP, MCC, AUC]
0.5000, 0.5000, 0.0000, 1.0000, 0.0000, 0.5000

testing...

epoch: 27, loss: 0.69958
Train: 0.4998, time: 21.28
================ Valid Performance. Epoch[27] ================
[ACC, BACC, SE, SP, MCC, AUC]
0.5000, 0.5000, 1.0000, 0.0000, 0.0000, 0.5000

testing...

epoch: 28, loss: 0.70205
Train: 0.4998, time: 21.01
================ Valid Performance. Epoch[28] ================
[ACC, BACC, SE, SP, MCC, AUC]
0.5000, 0.5000, 1.0000, 0.0000, 0.0000, 0.5000

testing...

epoch: 29, loss: 0.70380
Train: 0.5002, time: 19.31
================ Valid Performance. Epoch[29] ================
[ACC, BACC, SE, SP, MCC, AUC]
0.5000, 0.5000, 0.0000, 1.0000, 0.0000, 0.5000

testing...

epoch: 30, loss: 0.70399
Train: 0.5002, time: 18.06
================ Valid Performance. Epoch[30] ================
[ACC, BACC, SE, SP, MCC, AUC]
0.5000, 0.5000, 0.0000, 1.0000, 0.0000, 0.5000

testing...

epoch: 31, loss: 0.70444
Train: 0.4998, time: 18.10
================ Valid Performance. Epoch[31] ================
[ACC, BACC, SE, SP, MCC, AUC]
0.5000, 0.5000, 1.0000, 0.0000, 0.0000, 0.5000

testing...

epoch: 32, loss: 0.70645
Train: 0.5002, time: 17.78
================ Valid Performance. Epoch[32] ================
[ACC, BACC, SE, SP, MCC, AUC]
0.5000, 0.5000, 0.0000, 1.0000, 0.0000, 0.5000

testing...

epoch: 33, loss: 0.70494
Train: 0.4998, time: 18.24
================ Valid Performance. Epoch[33] ================
[ACC, BACC, SE, SP, MCC, AUC]
0.5000, 0.5000, 1.0000, 0.0000, 0.0000, 0.5000

testing...

epoch: 34, loss: 0.70298
Train: 0.4998, time: 18.01
================ Valid Performance. Epoch[34] ================
[ACC, BACC, SE, SP, MCC, AUC]
0.5000, 0.5000, 1.0000, 0.0000, 0.0000, 0.5000

testing...

epoch: 35, loss: 0.70458
Train: 0.4998, time: 19.47
================ Valid Performance. Epoch[35] ================
[ACC, BACC, SE, SP, MCC, AUC]
0.5000, 0.5000, 1.0000, 0.0000, 0.0000, 0.5000

testing...

epoch: 36, loss: 0.70207
Train: 0.4998, time: 17.89
================ Valid Performance. Epoch[36] ================
[ACC, BACC, SE, SP, MCC, AUC]
0.5000, 0.5000, 1.0000, 0.0000, 0.0000, 0.5000

testing...

epoch: 37, loss: 0.70230
Train: 0.4998, time: 18.84
================ Valid Performance. Epoch[37] ================
[ACC, BACC, SE, SP, MCC, AUC]
0.5000, 0.5000, 1.0000, 0.0000, 0.0000, 0.5000

testing...

epoch: 38, loss: 0.70024
Train: 0.4998, time: 17.49
================ Valid Performance. Epoch[38] ================
[ACC, BACC, SE, SP, MCC, AUC]
0.5000, 0.5000, 1.0000, 0.0000, 0.0000, 0.5000

testing...

epoch: 39, loss: 0.69859
Train: 0.4998, time: 17.98
================ Valid Performance. Epoch[39] ================
[ACC, BACC, SE, SP, MCC, AUC]
0.5000, 0.5000, 1.0000, 0.0000, 0.0000, 0.5000

testing...

epoch: 40, loss: 0.70150
Train: 0.4998, time: 18.30
================ Valid Performance. Epoch[40] ================
[ACC, BACC, SE, SP, MCC, AUC]
0.5000, 0.5000, 1.0000, 0.0000, 0.0000, 0.5000

testing...

epoch: 41, loss: 0.70017
Train: 0.4998, time: 17.48
================ Valid Performance. Epoch[41] ================
[ACC, BACC, SE, SP, MCC, AUC]
0.5000, 0.5000, 1.0000, 0.0000, 0.0000, 0.5000

testing...

epoch: 42, loss: 0.69991
Train: 0.4998, time: 17.81
================ Valid Performance. Epoch[42] ================
[ACC, BACC, SE, SP, MCC, AUC]
0.5000, 0.5000, 1.0000, 0.0000, 0.0000, 0.5000

testing...

epoch: 43, loss: 0.69889
Train: 0.4998, time: 17.45
================ Valid Performance. Epoch[43] ================
[ACC, BACC, SE, SP, MCC, AUC]
0.5000, 0.5000, 1.0000, 0.0000, 0.0000, 0.5000

testing...

epoch: 44, loss: 0.70121
Train: 0.5002, time: 18.20
================ Valid Performance. Epoch[44] ================
[ACC, BACC, SE, SP, MCC, AUC]
0.5000, 0.5000, 0.0000, 1.0000, 0.0000, 0.5000

testing...

epoch: 45, loss: 0.69969
Train: 0.5002, time: 17.54
================ Valid Performance. Epoch[45] ================
[ACC, BACC, SE, SP, MCC, AUC]
0.5000, 0.5000, 0.0000, 1.0000, 0.0000, 0.5000

testing...

epoch: 46, loss: 0.70485
Train: 0.5002, time: 18.45
================ Valid Performance. Epoch[46] ================
[ACC, BACC, SE, SP, MCC, AUC]
0.5000, 0.5000, 0.0000, 1.0000, 0.0000, 0.5000

testing...

epoch: 47, loss: 0.70225
Train: 0.4998, time: 18.29
================ Valid Performance. Epoch[47] ================
[ACC, BACC, SE, SP, MCC, AUC]
0.5000, 0.5000, 1.0000, 0.0000, 0.0000, 0.5000

testing...

epoch: 48, loss: 0.70233
Train: 0.5002, time: 18.07
================ Valid Performance. Epoch[48] ================
[ACC, BACC, SE, SP, MCC, AUC]
0.5000, 0.5000, 0.0000, 1.0000, 0.0000, 0.5000

testing...

epoch: 49, loss: 0.69977
Train: 0.5002, time: 18.70
================ Valid Performance. Epoch[49] ================
[ACC, BACC, SE, SP, MCC, AUC]
0.5000, 0.5000, 0.0000, 1.0000, 0.0000, 0.5000

testing...

epoch: 50, loss: 0.69949
Train: 0.5002, time: 17.71
================ Valid Performance. Epoch[50] ================
[ACC, BACC, SE, SP, MCC, AUC]
0.5000, 0.5000, 0.0000, 1.0000, 0.0000, 0.5000