This repository has been archived by the owner on Nov 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Extend estimator.evaluate() to support event handlers #16971
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
leezu
reviewed
Dec 5, 2019
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you. LGTM. Please add comments to the code for below two points to make the life of future code readers easier.
liuzh47
force-pushed
the
loggingeval
branch
2 times, most recently
from
December 9, 2019 03:38
dd8d725
to
ebd8c67
Compare
@leezu - do you also want this in 1.6? I'm cherry-picking the other stuff, might as well take this since it is merged. |
@ptrendx, yes, that would be great |
ptrendx
pushed a commit
to ptrendx/mxnet
that referenced
this pull request
Dec 11, 2019
* fix unittest failures for the new api interface * Add comments in the code for readability * Remove unused argument val_metrics * merge changes with the master branch * fix some regression errors * fix bugs introduced in the merging phase
ptrendx
added a commit
that referenced
this pull request
Dec 11, 2019
* Include eval_net the validation model in the gluon estimator api (#16957) * Include eval_net the validation model in the estimator api * fix small issue * Extend estimator.evaluate() to support event handlers (#16971) * fix unittest failures for the new api interface * Add comments in the code for readability * Remove unused argument val_metrics * merge changes with the master branch * fix some regression errors * fix bugs introduced in the merging phase * Add support of plug and play fit_batch and evaluate_batch (#16982) * Add support of plug and play fit_batch and evaluate_batch * Add check for the validity of the estimator model * Rename estimator model as batch processor * Remove unused import * Add documentation of the batch processor class * refine the documentation of the batch processor * Fix merge bugs * fix bugs introduced during merge * fix sanity check failures * fix CI bugs * Fix Gluon Estimator nightly test (#17042)
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Motivated by the issue #16959, we find that we could use existing
LoggingHandler
andMetricHandler
for validation purpose. We extendestimator.evaluate()
to support default and customized handlers. Our contributions can be summarized below:Fix #16959.