- Issue
The signature in both gym.Env.reset and gymnasium.Env.reset include two optional parameters: seed and options.
Instead ToGymEnv.reset does not accept any parameter.
For example, env.reset(seed=0) will fail with a procgen environment.
- Reproduce
import gym
env = gym.make("procgen:procgen-coinrun-v0")
env.reset(seed=0)
- Proposed fix
ToGymEnv.reset should respect the Gym.Env.reset signature, even if parameters are ignored.
The proposal is in #9
- Issue
The signature in both
gym.Env.resetandgymnasium.Env.resetinclude two optional parameters:seedandoptions.Instead
ToGymEnv.resetdoes not accept any parameter.For example,
env.reset(seed=0)will fail with a procgen environment.- Reproduce
- Proposed fix
ToGymEnv.resetshould respect theGym.Env.resetsignature, even if parameters are ignored.The proposal is in #9