duckietown / gym-duckietown

Self-driving car simulator for the Duckietown universe
http://duckietown.org
Other
45 stars 16 forks source link

How to register duckietown environment in the gym? #263

Open aakash94 opened 2 years ago

aakash94 commented 2 years ago

This is my first time working with the environment. I have followed all the install instructions. I have few questions here.

  1. There is no /pytorch_rl branch anymore. Is there any workaround for that?
  2. After cloning this repository in the appropriate location, when I try to train the baseline python3 pytorch_rl/main.py --no-vis --env-name Duckietown-small_loop-v0 --algo a2c --lr 0.0002 --max-grad-norm 0.5 --num-steps 20 I run into errors resulting from the duckietown environment not being registered here. What is the recommended way around it.

Will appreciate any suggestions! Thanks.