Skip to content

2467 Add support to save checkpoint with smaller metric#2487

Merged
Nic-Ma merged 8 commits intoProject-MONAI:devfrom
Nic-Ma:2467-enhance-score-func
Jul 1, 2021
Merged

2467 Add support to save checkpoint with smaller metric#2487
Nic-Ma merged 8 commits intoProject-MONAI:devfrom
Nic-Ma:2467-enhance-score-func

Conversation

@Nic-Ma
Copy link
Copy Markdown
Contributor

@Nic-Ma Nic-Ma commented Jun 30, 2021

Fixes #2467 .

Description

This PR added support to save checkpoint with smaller metric value, because some error-like metric is smaller is better.

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 -f -u --net --coverage.
  • Quick tests passed locally by running ./runtests.sh --quick --unittests.
  • In-line docstrings updated.
  • Documentation updated, tested make html command in the docs/ folder.

@Nic-Ma
Copy link
Copy Markdown
Contributor Author

Nic-Ma commented Jun 30, 2021

/black

@Nic-Ma
Copy link
Copy Markdown
Contributor Author

Nic-Ma commented Jun 30, 2021

integration test tests/test_integration_workflows.py passed locally.

Thanks.

@Nic-Ma Nic-Ma force-pushed the 2467-enhance-score-func branch from 9927431 to 13ea681 Compare June 30, 2021 23:32
@Nic-Ma
Copy link
Copy Markdown
Contributor Author

Nic-Ma commented Jun 30, 2021

/black

@Nic-Ma Nic-Ma enabled auto-merge (squash) June 30, 2021 23:34
@Nic-Ma Nic-Ma merged commit ae629dc into Project-MONAI:dev Jul 1, 2021
@Nic-Ma Nic-Ma deleted the 2467-enhance-score-func branch July 2, 2021 23:35
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.

Inflexible score function of CheckpointSaver

3 participants