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

Fix render_mode not working for many fancy envs #83

Merged
merged 8 commits into from
Nov 22, 2023

Conversation

D-o-d-o-x
Copy link
Collaborator

Addresses Issue #78.

The black_box_wrapper wrapper and many of the fancy envs did not yet follow the new gymnasium specs regarding setting the rendering_mode: Beginning with 0.25.0, the render mode has to be passed to gym.make(), not to env.render() (Gymnasium Docs).

Thanks to @maxmunzel for raising this issue.

Copy link
Contributor

@HongyiZhouCN HongyiZhouCN left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we remove the "mode" in render() function from all classic control reacher envs?

@HongyiZhouCN HongyiZhouCN merged commit 216a6f2 into master Nov 22, 2023
@HongyiZhouCN HongyiZhouCN deleted the 78_fix_render_mode branch November 22, 2023 10:41
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