-
Notifications
You must be signed in to change notification settings - Fork 418
[Feature] FrameSkipTransform #749
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 @@
## main #749 +/- ##
===========================================
+ Coverage 76.01% 88.80% +12.79%
===========================================
Files 123 123
Lines 20904 20886 -18
===========================================
+ Hits 15890 18548 +2658
+ Misses 5014 2338 -2676
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
# Conflicts: # torchrl/envs/libs/dm_control.py
Description
Introduces the FrameSkipTransform
Refactors the transformed environment
parentby adding a caching mechanism.Tests that the cache is emptied whenever the transform list is changed.
cc @albertbou92 any other idea of changes in the transformed env that might break the caching of the parent (have a look at the test).
Maybe we'd like to allow
which I think now would break
EDIT
I now made this possible