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 in shaped reward networks #544
Conversation
…ince it should never be called on top of another wrapper
Codecov Report
@@ Coverage Diff @@
## master #544 +/- ##
==========================================
+ Coverage 96.95% 96.96% +0.01%
==========================================
Files 84 84
Lines 7460 7486 +26
==========================================
+ Hits 7233 7259 +26
Misses 227 227
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
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.
I'd like to reduce code duplication but otherwise this looks fine. Please request re-review once addressed.
Co-authored-by: Adam Gleave <adam@gleave.me>
FWIW I'm kind of confused re: what about |
Since the forward wrapper inherits from The reason it looks so different is that: for the |
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.
LGTM.
Description
Addresses #543
Testing
ValueError
being raised when you try to shape a wrapped reward net.