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

[Feature] Support wrapping IsaacLab environments with GymEnv #2380

Merged
merged 4 commits into from
Aug 9, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix kwarg passing
  • Loading branch information
yu-fz committed Aug 7, 2024
commit 1fb77e6ac9be0b2eac7b0ae0dafd16bab8d997da
1 change: 1 addition & 0 deletions torchrl/envs/libs/gym.py
Original file line number Diff line number Diff line change
Expand Up @@ -839,6 +839,7 @@ def _build_env(
env,
from_pixels: bool = False,
pixels_only: bool = False,
convert_actions_to_numpy: bool = True,
) -> "gym.core.Env": # noqa: F821
self.batch_size = self._get_batch_size(env)

Expand Down