Skip to content

[rllib] Eager execution for centralized critic example, fix simple optimizer for multiagent#5683

Merged
ericl merged 6 commits intoray-project:masterfrom
ericl:eager-cc
Sep 11, 2019
Merged

[rllib] Eager execution for centralized critic example, fix simple optimizer for multiagent#5683
ericl merged 6 commits intoray-project:masterfrom
ericl:eager-cc

Conversation

@ericl
Copy link
Copy Markdown
Contributor

@ericl ericl commented Sep 10, 2019

@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/16948/
Test FAILed.

@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/16963/
Test FAILed.

@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/16969/
Test PASSed.

@ericl ericl added the tests-ok The tagger certifies test failures are unrelated and assumes personal liability. label Sep 11, 2019
sample_batch,
other_agent_batches=None,
episode=None):
sample_batch["advantages"] = discount(sample_batch["rewards"], 0.99)
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.

this should try to fetch gamma from policy config instead 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.

Not for the example.

train_batch_size=1,
sgd_minibatch_size=0):
sgd_minibatch_size=0,
standardize_fields=[]):
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.

None

PolicyOptimizer.__init__(self, workers)

self.update_weights_timer = TimerStat()
self.standardize_fields = standardize_fields
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.

or []

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.

Changed to froenzeset

@ericl ericl merged commit bc6a95d into ray-project:master Sep 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tests-ok The tagger certifies test failures are unrelated and assumes personal liability.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants