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

[Question] Wrappers for Atari games #364

Closed
TheGravityZero opened this issue Mar 7, 2023 · 1 comment
Closed

[Question] Wrappers for Atari games #364

TheGravityZero opened this issue Mar 7, 2023 · 1 comment
Labels
question Further information is requested

Comments

@TheGravityZero
Copy link

TheGravityZero commented Mar 7, 2023

Question

Where can I get these wrappers that are compatible with gymnasium?

from stable_baselines3.common.atari_wrappers import (
    ClipRewardEnv,
    EpisodicLifeEnv,
    FireResetEnv,
    MaxAndSkipEnv,
    NoopResetEnv,
)

If you use them from sb3, then there is a problem:

obs, reward, done,  info = self.env.step(action)
ValueError: too many values to unpack (expected 4)
@TheGravityZero TheGravityZero added the question Further information is requested label Mar 7, 2023
@pseudo-rnd-thoughts
Copy link
Member

Sb3 main doesn't support gym / gymnasium v0.26 but is in the process of adding it
DLR-RM/stable-baselines3#780

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants