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

Gymnasium migration #2

Merged
merged 12 commits into from
Apr 24, 2024
Merged

Gymnasium migration #2

merged 12 commits into from
Apr 24, 2024

Conversation

StephenOman
Copy link
Owner

Copy of facebookresearch#373

These are a bunch of (probably breaking) changes to align with the Gymnasium 0.29.1 API, following the ending of OpenAI Gym support.

This addresses the following issues:
facebookresearch#357
facebookresearch#327
facebookresearch#326

Supersedes facebookresearch#371

Tests are passing on Python 3.8 to Python 3.11 with the new API.

@StephenOman StephenOman merged commit 5f5561e into main Apr 24, 2024
@jbial
Copy link

jbial commented May 6, 2024

Stupid question but why is truncated always set to False in 4ded60c? Seems like we could set truncated on the basis of whether or not the agent exceeds the max_episode_steps

@StephenOman
Copy link
Owner Author

No such thing as a stupid question!

You are correct. The "truncated" implementation is incomplete and should indeed be based on exceeding the max steps. I'll fix it shortly.

Please be aware that future development of NLE is moving to https://github.com/heiner/nle.

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.

2 participants