Skip to content

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

@HoomanAlizadeh

Description

@HoomanAlizadeh

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions