Skip to content

Commit

Permalink
remove automatic inference of from_pixels
Browse files Browse the repository at this point in the history
  • Loading branch information
sriramsk1999 committed Apr 20, 2024
1 parent 3e79d78 commit 7d8c693
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions torchrl/envs/libs/robohive.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,10 +201,6 @@ def _build_env( # noqa: F811
**kwargs,
)
self.wrapper_frame_skip = 1
if env.visual_keys:
from_pixels = bool(len(env.visual_keys))
else:
from_pixels = False
except TypeError as err:
if "unexpected keyword argument 'frameskip" not in str(err):
raise err
Expand Down

0 comments on commit 7d8c693

Please sign in to comment.