We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
ToGymEnv.reset
Gym.Env.reset
The signature in both gym.Env.reset and gymnasium.Env.reset include two optional parameters: seed and options.
gym.Env.reset
gymnasium.Env.reset
seed
options
Instead ToGymEnv.reset does not accept any parameter.
For example, env.reset(seed=0) will fail with a procgen environment.
env.reset(seed=0)
import gym env = gym.make("procgen:procgen-coinrun-v0") env.reset(seed=0)
ToGymEnv.reset should respect the Gym.Env.reset signature, even if parameters are ignored.
The proposal is in #9
The text was updated successfully, but these errors were encountered:
workaround openai/gym3#8
4698066
04f9e1e
Successfully merging a pull request may close this issue.
- Issue
The signature in both
gym.Env.reset
andgymnasium.Env.reset
include two optional parameters:seed
andoptions
.Instead
ToGymEnv.reset
does not accept any parameter.For example,
env.reset(seed=0)
will fail with a procgen environment.- Reproduce
- Proposed fix
ToGymEnv.reset
should respect theGym.Env.reset
signature, even if parameters are ignored.The proposal is in #9
The text was updated successfully, but these errors were encountered: