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

SB3 does not support gym.spaces.Discrete() 'start' #913

Closed
adiyaDalat opened this issue May 18, 2022 · 1 comment
Closed

SB3 does not support gym.spaces.Discrete() 'start' #913

adiyaDalat opened this issue May 18, 2022 · 1 comment
Labels
enhancement New feature or request more information needed Please fill the issue template completely openai gym related to OpenAI Gym interface

Comments

@adiyaDalat
Copy link

When I want to define an action space {-1,0,1} as below:
self.action_space = spaces.Discrete(3, start=-1)

Error reported. Seems that SB3 does not support the newest version of Gym.

Hope this can be supported in next version.

@adiyaDalat adiyaDalat added custom gym env Issue related to Custom Gym Env question Further information is requested labels May 18, 2022
@araffin araffin added more information needed Please fill the issue template completely enhancement New feature or request openai gym related to OpenAI Gym interface and removed question Further information is requested custom gym env Issue related to Custom Gym Env labels May 18, 2022
@araffin
Copy link
Member

araffin commented May 18, 2022

Hello,
please fill the request template completely.
An alternative exists which is using a wrapper.

I don't think we will support that feature as it requires quite some code changes for no apparent gain (and an alternative exists).
We need to update the env checker though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request more information needed Please fill the issue template completely openai gym related to OpenAI Gym interface
Projects
None yet
Development

No branches or pull requests

2 participants