-
Notifications
You must be signed in to change notification settings - Fork 6.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[rllib] Add multi-agent examples for hand-coded policy, centralized VF #4554
Conversation
Test PASSed. |
Test PASSed. |
Test FAILed. |
Test FAILed. |
continue | ||
info_out[pid], _ = ( | ||
self.policy_map[pid].learn_on_batch(batch)) | ||
builder = None |
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.
Otherwise it will crash if you are using TF but have a non-TF policy graph mixed.
Test PASSed. |
Test FAILed. |
Test PASSed. |
Test FAILed. |
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.
consider adding examples to multi node tests
Test FAILed. |
Test FAILed. |
Test PASSed. |
Test FAILed. |
Test PASSed. |
Test FAILed. |
Test PASSed. |
Test FAILed. |
Lint unrelated. |
Also, fix some bugs in mixing TF and non-TF policy graphs, and remove the deprecated compute_apply.
Linter
scripts/format.sh
to lint the changes in this PR.