Skip to content

[rllib] Rollout should preprocess observations; some cleanups - #3512

Merged
richardliaw merged 2 commits into
ray-project:masterfrom
ericl:rollout-fixes
Dec 12, 2018
Merged

richardliaw merged 2 commits into
ray-project:masterfrom
ericl:rollout-fixes

Conversation

@ericl

@ericl ericl commented Dec 11, 2018

Copy link
Copy Markdown
Contributor

@ericl
ericl force-pushed the rollout-fixes branch 2 times, most recently from 49e2939 to bf84e2b Compare December 11, 2018 03:26
@richardliaw

Copy link
Copy Markdown
Contributor

Can you add a test for this?

@AmplabJenkins

Copy link
Copy Markdown

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Ray-PRB/9944/
Test FAILed.

@ericl

ericl commented Dec 11, 2018

Copy link
Copy Markdown
Contributor Author

Test added

@AmplabJenkins

Copy link
Copy Markdown

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Ray-PRB/9971/
Test PASSed.

agent2.train()

# Test rollout works on restore
rollout(agent2, "nested", 100)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

wait this doesn't test that the preprocessing is handled correctly right?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

It crashes if it doesnt.

@ericl ericl added the tests ok label Dec 12, 2018
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.

3 participants