Skip to content
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

[bug-fix] Use correct memories for LSTM SAC #5228

Merged
merged 2 commits into from
Apr 8, 2021
Merged

Conversation

ervteng
Copy link
Contributor

@ervteng ervteng commented Apr 7, 2021

Proposed change(s)

Use the right memories for SAC. Now that we are padding in the right direction, LSTM is much more sensitive to getting the memories right. Since SAC needs both the memory and the next memory (for the target network), we have to evaluate the next memory to get it.

image

Before, from 4/6 CI run (pink) and after (grey)

Useful links (Github issues, JIRA tickets, ML-Agents forum threads etc.)

Types of change(s)

  • Bug fix
  • New feature
  • Code refactor
  • Breaking change
  • Documentation update
  • Other (please describe)

Checklist

  • Added tests that prove my fix is effective or that my feature works
  • Updated the changelog (if applicable)
  • Updated the documentation (if applicable)
  • Updated the migration guide (if applicable)

Other comments

@ervteng ervteng marked this pull request as ready for review April 8, 2021 14:03
@ervteng ervteng merged commit 7077302 into main Apr 8, 2021
@delete-merged-branch delete-merged-branch bot deleted the develop-fix-sac-lstm branch April 8, 2021 19:09
ervteng pushed a commit that referenced this pull request Apr 8, 2021
* Use correct memories for LSTM SAC

* Add some comments

(cherry picked from commit 7077302)
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants