Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Return handler in helpers.#997

Merged
vfdev-5 merged 2 commits intopytorch:masterfrom
failable:feature/return-handlers
Apr 30, 2020
Merged

Return handler in helpers.#997
vfdev-5 merged 2 commits intopytorch:masterfrom
failable:feature/return-handlers

Conversation

@failable
Copy link
Contributor

Fixes #

Description:

This commit provides a way to access ModelCheckpoint built in save_best_model_by_val_score to get the best model. To keep consistency, EarlyStopping handler is also return in add_early_stopping_by_val_score.

Check list:

  • New tests are added (if a new feature is added)
  • New doc strings: description and/or example code are in RST format
  • Documentation is updated (if required)

Copy link
Collaborator

@vfdev-5 vfdev-5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks @Isolet !

@vfdev-5 vfdev-5 merged commit 0763638 into pytorch:master Apr 30, 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.

2 participants