Skip to content

Conversation

@Nic-Ma
Copy link
Contributor

@Nic-Ma Nic-Ma commented Dec 10, 2020

Fixes #1338 .

Description

This PR enhanced the CheckpointSaver handler to delete previous saved final checkpoint if we call engine.run() several times. For example, the validator may run several times during training and we can always save the final validation model.
This is a feature request from end user and internal team @sachi.

Status

Ready

Types of changes

  • Non-breaking change (fix or new feature that would not break existing functionality).
  • Breaking change (fix or new feature that would cause existing functionality to change).
  • New tests added to cover the changes.
  • Integration tests passed locally by running ./runtests.sh --codeformat --coverage.
  • Quick tests passed locally by running ./runtests.sh --quick.
  • In-line docstrings updated.
  • Documentation updated, tested make html command in the docs/ folder.

@Nic-Ma
Copy link
Contributor Author

Nic-Ma commented Dec 10, 2020

/black

@Nic-Ma
Copy link
Contributor Author

Nic-Ma commented Dec 10, 2020

/black

@Nic-Ma Nic-Ma merged commit a0d88e7 into Project-MONAI:master Dec 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CheckpointSaver: incorrect labelling of final model

2 participants