Project-MONAI / tutorials

MONAI Tutorials
https://monai.io/started.html
Apache License 2.0
1.77k stars 668 forks source link

Why does UNETR choose the last validation's accuracy as final validation accuracy in the trainning? #658

Closed AustinYuAo closed 2 years ago

AustinYuAo commented 2 years ago

HI, When I was trying to train the UNETR, I found that the last validation's result was always selected as final validation accuracy, But I am confused why not to take the average? 156907848-94dfb3f6-370f-448a-a24a-d1b30391ccb3

Nic-Ma commented 2 years ago

Hi @ahatamiz ,

Could you please help take a look at this question?

Thanks in advance.

ahatamiz commented 2 years ago

Hi @aubest

The final validation is simply just the accuracy of last epoch, but we keep track of best validation accuracy and final validation accuracy by saving their corresponding checkpoints. Taking the average is also possible, but may not be very useful for saving a particular checkpoint.