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

[BugFix] Replaces the default gymnasium timelimit wrapper with a batched/torch version when gym.make is used #416

Merged
merged 5 commits into from
Jul 11, 2024

Conversation

StoneT2000
Copy link
Member

Bit of a hacky solution to replace an already used timelimit wrapper with a new one given how gymnasium works. But this now ensures the truncated return value is always a batched torch tensor.

@StoneT2000 StoneT2000 merged commit c1cb974 into main Jul 11, 2024
@StoneT2000 StoneT2000 deleted the fix-timelimits branch July 11, 2024 06:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant