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

How can i change the space in CarRacing-v0 from box to discrete? #36

Open
HoomanAlizadeh opened this issue Feb 14, 2022 · 0 comments
Open

Comments

@HoomanAlizadeh
Copy link

I wanna train my agent in CarRacing-v0 environment, but instead of box action/observation spaces I want to use discrete spaces so I can train it with DQN algorithm. there is a sayin in openai-gym that says: "Discreet control is reasonable in this environment as well, on/off discretisation is fine."
https://gym.openai.com/envs/CarRacing-v0/

but I don't know how to do it in code or in pragmatic way.

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

No branches or pull requests

1 participant