Open Lightning980729 opened 4 years ago
Sorry for the delay, These days i am busy the a project, i still don't have the time to check the code, But i think that it might be the problem with the data, you can try training with only HGG data. Besides, the loss fluctuates is normal, because that loss is the loss of a single patch, not the whole volume.
Sorry for the delay, These days i am busy the a project, i still don't have the time to check the code, But i think that it might be the problem with the data, you can try training with only HGG data. Besides, the loss fluctuates is normal, because that loss is the loss of a single patch, not the whole volume.
Thanks for the reply. These day I try your advise to train with only HGG data. The result truely improved from the last one. Average dice increased by 10 points. But I cannot reappear your best result and there is still a big gap. After tranning 20000 epochs , the train.log file as follow
[WT, TC, ET]: average dice: [0.592, 0.323, 0.082] mean average dice : 0.3323333333333333 average sensitivity: [0.969, 0.973, 0.085] mean average sensitivity : 0.6756666666666667
[WT, TC, ET]: average dice: [0.422, 0.365, 0.17] mean average dice : 0.319 average sensitivity: [0.982, 0.965, 0.247] mean average sensitivity : 0.7313333333333333
[WT, TC, ET]: average dice: [0.692, 0.433, 0.242] mean average dice : 0.45566666666666666 average sensitivity: [0.969, 0.969, 0.246] mean average sensitivity : 0.7280000000000001
[WT, TC, ET]: average dice: [0.45, 0.344, 0.014] mean average dice : 0.26933333333333337 average sensitivity: [0.991, 0.979, 0.022] mean average sensitivity : 0.664
[WT, TC, ET]: average dice: [0.682, 0.407, 0.341] mean average dice : 0.4766666666666666 average sensitivity: [0.979, 0.984, 0.413] mean average sensitivity : 0.7919999999999999
[WT, TC, ET]: average dice: [0.598, 0.389, 0.283] mean average dice : 0.42333333333333334 average sensitivity: [0.983, 0.984, 0.322] mean average sensitivity : 0.763
[WT, TC, ET]: average dice: [0.679, 0.438, 0.252] mean average dice : 0.4563333333333333 average sensitivity: [0.983, 0.977, 0.254] mean average sensitivity : 0.738
[WT, TC, ET]: average dice: [0.678, 0.439, 0.262] mean average dice : 0.45966666666666667 average sensitivity: [0.985, 0.982, 0.274] mean average sensitivity : 0.747
[WT, TC, ET]: average dice: [0.691, 0.52, 0.097] mean average dice : 0.43599999999999994 average sensitivity: [0.98, 0.978, 0.066] mean average sensitivity : 0.6746666666666666
[WT, TC, ET]: average dice: [0.634, 0.314, 0.349] mean average dice : 0.4323333333333333 average sensitivity: [0.993, 0.998, 0.47] mean average sensitivity : 0.8203333333333335
[WT, TC, ET]: average dice: [0.675, 0.473, 0.034] mean average dice : 0.3940000000000001 average sensitivity: [0.987, 0.991, 0.022] mean average sensitivity : 0.6666666666666666
[WT, TC, ET]: average dice: [0.673, 0.499, 0.39] mean average dice : 0.5206666666666667 average sensitivity: [0.974, 0.98, 0.406] mean average sensitivity : 0.7866666666666666
[WT, TC, ET]: average dice: [0.678, 0.423, 0.261] mean average dice : 0.454 average sensitivity: [0.988, 0.994, 0.307] mean average sensitivity : 0.763
[WT, TC, ET]: average dice: [0.769, 0.513, 0.349] mean average dice : 0.5436666666666666 average sensitivity: [0.983, 0.992, 0.346] mean average sensitivity : 0.7736666666666667
[WT, TC, ET]: average dice: [0.717, 0.501, 0.336] mean average dice : 0.518 average sensitivity: [0.989, 0.99, 0.314] mean average sensitivity : 0.7643333333333334
[WT, TC, ET]: average dice: [0.787, 0.546, 0.446] mean average dice : 0.5930000000000001 average sensitivity: [0.982, 0.99, 0.41] mean average sensitivity : 0.794
[WT, TC, ET]: average dice: [0.671, 0.572, 0.389] mean average dice : 0.5439999999999999 average sensitivity: [0.982, 0.978, 0.364] mean average sensitivity : 0.7746666666666666
[WT, TC, ET]: average dice: [0.745, 0.573, 0.276] mean average dice : 0.5313333333333333 average sensitivity: [0.982, 0.986, 0.223] mean average sensitivity : 0.7303333333333333
[WT, TC, ET]: average dice: [0.783, 0.598, 0.336] mean average dice : 0.5723333333333334 average sensitivity: [0.983, 0.989, 0.277] mean average sensitivity : 0.7496666666666667
[WT, TC, ET]: average dice: [0.76, 0.642, 0.379] mean average dice : 0.5936666666666667 average sensitivity: [0.985, 0.98, 0.33] mean average sensitivity : 0.765
As you can see, the best result is [WT, TC, ET]: average dice: [0.787, 0.546, 0.446] Do you think it might be the problem with the parameters that you set on the "parameters.ini" ? Because of the limited computing resources, I didn't do more experiments.
@Lightning980729 Hello,train all data with 20000 epochs, how many times do you use? I train all data with 20000 epochs with learn rate 0.0001, patch size is 64, it caused more than 30 hours totally.
@Lightning980729 Hello,train all data with 20000 epochs, how many times do you use? I train all data with 20000 epochs with learn rate 0.0001, patch size is 64, it caused more than 30 hours totally.
It takes almost 5 days using one 1080ti, because I didn't split validation and i set the testing data the same as training data. Testing takes a lot time.
@Lightning980729 Hello,train all data with 20000 epochs, how many times do you use? I train all data with 20000 epochs with learn rate 0.0001, patch size is 64, it caused more than 30 hours totally.
It takes almost 5 days using one 1080ti, because I didn't split validation and i set the testing data the same as training data. Testing takes a lot time.
Reasonable time consumption. I split training dataset to 90% for train, 10% for test, and train 20000 epochs, patch size 96, on one 1080ti, the time is almost 48 hours.
Hello! All I changed is the "parameters.ini" , including phase \ traindata dir \ testdata dir . The traindata dir is just the unzip file of " MICCAI_BraTS_2019_Data_Training " Because I don't get the validation labels so i changed the testdatadir exacltly same as traindatadir.
The "parameters.ini" as follow
Then I just train the model , Run main.py in the command line . After tranning 9000 epochs , the matrice of dice is low(specially for ET, about 0.1) . the train.log file as follow
the test.log file as follow
Besides, when i am traning, the loss fluctuates. Do you konw the reason ? I would be appreciated if you could reply. Thanks a lot. Best wishes!