-
Notifications
You must be signed in to change notification settings - Fork 1.2k
fix critical bugs in MAPolicy and docs update #207
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #207 +/- ##
==========================================
- Coverage 94.09% 93.60% -0.50%
==========================================
Files 40 40
Lines 2457 2454 -3
==========================================
- Hits 2312 2297 -15
- Misses 145 157 +12
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
save_rew, buffer.rew = buffer.rew, Batch() | ||
# Since we do not override buffer.__setattr__, here we use _meta to | ||
# change buffer.rew, otherwise buffer.rew = Batch() has no effect. | ||
save_rew, buffer._meta.rew = buffer.rew, Batch() |
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.
It would be nice to find a way to avoid such trick in future release because it is error prone.
- fix a bug in MAPolicy: `buffer.rew = Batch()` doesn't change `buffer.rew` (thanks mypy) - polish examples/box2d/bipedal_hardcore_sac.py - several docs update - format setup.py and bump version to 0.2.7
cherry-pick from #200
buffer.rew = Batch()
doesn't changebuffer.rew
(thanks mypy)