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

Fix bug where reward buffer always appended 0 #2273

Merged
merged 1 commit into from Jul 16, 2019

Conversation

ervteng
Copy link
Contributor

@ervteng ervteng commented Jul 16, 2019

Set reward to 0 after append, not before.

@ervteng ervteng requested a review from chriselion July 16, 2019 18:09
Copy link
Contributor

@chriselion chriselion left a comment

Choose a reason for hiding this comment

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

Looks good. Would be nice to have a test that would have caught this, but OK for now.

@ervteng ervteng merged commit a43361e into develop Jul 16, 2019
@ervteng ervteng deleted the develop-fix-reward-buffer branch July 16, 2019 18:16
mantasp added a commit that referenced this pull request Jul 22, 2019
* develop: (69 commits)
  Add different types of visual encoder (nature cnn/resnet)
  Make SubprocessEnvManager take asynchronous steps (#2265)
  update mypy version
  one more unused
  remove unused variables
  Fix respawn part of BananaLogic (#2277)
  fix whitespace and line breaks
  remove codacy (#2287)
  Ported documentation from other branch
  tennis reset parameter implementation ported over
  Fixed the default value to match the value in the docs
  two soccer reset parameter implementation ported over
  3D ball reset parameter implementation ported over
  3D ball reset parameter implementation ported over
  Relax the cloudpickle version restriction (#2279)
  Fix get_value_estimate and buffer append (#2276)
  fix lint checks
  Add Unity command line arguments
  Swap 0 set and reward buffer append (#2273)
  GAIL and Pretraining (#2118)
  ...
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 18, 2021
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.

None yet

2 participants