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

Invalid CarRacingGymEnv-v0 #57

Open
zhenyuanzhu opened this issue Nov 15, 2020 · 1 comment
Open

Invalid CarRacingGymEnv-v0 #57

zhenyuanzhu opened this issue Nov 15, 2020 · 1 comment

Comments

@zhenyuanzhu
Copy link

zhenyuanzhu commented Nov 15, 2020

Thanks for the excellent toolbox!

I'm trying to run the environment CarRacingGymEnv-v0:

python -m rl_baselines.train --algo sac --no-vis --num-cpu 4 --num-timesteps 10000 --env CarRacingGymEnv-v0

I get an error:

train.py: error: argument --env: invalid choice: 'CarRacingGymEnv-v0' (choose from 'KukaButtonGymEnv-v0', 'MobileRobotGymEnv-v0', 'MobileRobotLineTargetGymEnv-v0', 'MobileRobot1DGymEnv-v0', 'KukaRandButtonGymEnv-v0', 'OmnirobotEnv-v0', 'KukaMovingButtonGymEnv-v0', 'Baxter-v0', 'MobileRobot2TargetGymEnv-v0', 'Kuka2ButtonGymEnv-v0', 'RoboboGymEnv-v0')
So, how can I use Racing car environment?

@araffin
Copy link
Owner

araffin commented Nov 15, 2020

I'm trying to run the environment CarRacingGymEnv-v0:

If you just want to use RL on this environment, please take a look at the RL Zoo.
Otherwise, if you want to use SRL, you will need to create a custom class (cf environments folder).

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

2 participants