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

Avoid unnecessary import (gin, gym) #1570

Open
wants to merge 2 commits into
base: pytorch
Choose a base branch
from

Conversation

emailweixu
Copy link
Contributor

They are not always available.

They are not always available
@@ -172,6 +171,12 @@ def create_environment(env_name='CartPole-v0',

"""

if env_name is None:
env_name = 'CartPole-v0'
Copy link
Contributor

@Haichao-Zhang Haichao-Zhang Dec 4, 2023

Choose a reason for hiding this comment

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

This seems to be the same as using CartPole-v0 as the default value for the argument env_name? Not sure if there is any particular reason for this change.

Haichao-Zhang
Haichao-Zhang previously approved these changes Dec 4, 2023
breakds
breakds previously approved these changes Dec 4, 2023
Haichao-Zhang
Haichao-Zhang previously approved these changes Dec 4, 2023
@emailweixu emailweixu dismissed stale reviews from Haichao-Zhang and breakds via 17bd976 December 11, 2023 22:53
@emailweixu emailweixu force-pushed the PR_do_not_import_gin_gym branch from c9f84bc to 17bd976 Compare December 11, 2023 22:53
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.

3 participants