This repository has been archived by the owner on Mar 21, 2024. It is now read-only.
What exactly is saved in '.../checkpoints/last.ckpt' when training is done for a segmentation task? #744
Labels
documentation
Improvements or additions to documentation
Is there an existing issue for this?
Issue summary
When my segmentation task training is done, I am left with a single file containing weights: "last.cpkt" after 120 epochs using the HeadAndNeckBase class.
I used the "Building Models" guide, which says that report.ipynb uses the model checkpoint that performed best on the validation set - but it doesn't clarify if the finally saved "last.cpkt" hold the weights of the last epoch, or of the best performing checkpoint in that training session.
What documentation should be provided?
Would appreciate if you can clarify exactly what is saved when segmentation model training is done, so there is no doubt if I am pointing to the correct file when testing an existing model using
python Inner/ML/runner.py --model=Prostate --no-train --local_weights_path=path_to_your_checkpoint
.Suggestion: Maybe change the name of the finally saved model to "best.cpkt" or "final.cpkt" to avoid confusion or document clearly in the section "Training a new model" if it is a requirement to the user to define what is finally saved and how it is named.
AB#6248
The text was updated successfully, but these errors were encountered: