[rllib] on_train_result results do not get logged#3865
Merged
Conversation
|
Test FAILed. |
Contributor
Author
|
jenkins retest this please |
|
Test PASSed. |
richardliaw
reviewed
Jan 29, 2019
richardliaw
left a comment
Contributor
There was a problem hiding this comment.
You also need to change L426 in Trial.py for when you're running with run_experiments right?
Contributor
Author
|
What do you mean? |
Contributor
|
The logging in Tune happens in Trial (on driver) even when distributed (and
remote workers have a NoopLogger), so do you need to make modifications
there?
Basically this codepath I dont think gets hit in Tune when using
run_experiments
…On Fri, Feb 1, 2019 at 3:31 PM Eric Liang ***@***.***> wrote:
What do you mean?
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#3865 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AEUc5aqrn87RzVa4FUS659kA4H_2-79cks5vJM5TgaJpZM4aT4no>
.
|
Contributor
Author
|
That should work fine then. The only issue is if the result is logged
*before* the callback gets called. If Tune is getting it over remote call,
it the callback must have fired already.
On Fri, Feb 1, 2019 at 3:51 PM Richard Liaw <notifications@github.com>
wrote:
… The logging in Tune happens in Trial (on driver) even when distributed (and
remote workers have a NoopLogger), so do you need to make modifications
there?
Basically this codepath I dont think gets hit in Tune when using
run_experiments
On Fri, Feb 1, 2019 at 3:31 PM Eric Liang ***@***.***>
wrote:
> What do you mean?
>
> —
> You are receiving this because you were assigned.
>
>
> Reply to this email directly, view it on GitHub
> <#3865 (comment)>,
or mute
> the thread
> <
https://github.com/notifications/unsubscribe-auth/AEUc5aqrn87RzVa4FUS659kA4H_2-79cks5vJM5TgaJpZM4aT4no
>
> .
>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#3865 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAA6SoOPQilc74JEPtAhQl8SiN5TOV5Fks5vJNMQgaJpZM4aT4no>
.
|
richardliaw
approved these changes
Feb 2, 2019
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What do these changes do?
Move the callback to before calling logger.on_result(). This requires a bit of a refactoring.
Related issue number
Closes #3854