Skip to content

feat: added tuple support#122

Closed
neuralsorcerer wants to merge 3 commits intofacebookresearch:mainfrom
neuralsorcerer:feat-tuple
Closed

feat: added tuple support#122
neuralsorcerer wants to merge 3 commits intofacebookresearch:mainfrom
neuralsorcerer:feat-tuple

Conversation

@neuralsorcerer
Copy link
Contributor

@neuralsorcerer neuralsorcerer commented Jul 26, 2025

Changes:

  • Added a helper _tuple_to_box_space in GymEnvironment to convert Gymnasium Tuple spaces into BoxSpace instances.
  • Updated reshape_to_1d_tensor so high‑dimensional tensors are flattened instead of raising errors.
  • Added tests to verify GymEnvironment correctly handles BoxSpace observations without issues.

Why?

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jul 26, 2025
@neuralsorcerer neuralsorcerer changed the title feat: added tuple support and corrected action processing in replay buffer feat: added tuple support Aug 2, 2025
@neuralsorcerer neuralsorcerer closed this by deleting the head repository Sep 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

NotImplementedError: The Gym space 'Tuple' is not yet supported in Pearl.

2 participants