Duckietown experiments
Instantiates a new container with duckietown gym.
- Mounts code folder to
/code
internal container folder - Mounts X11 to allow for display piping through docker
docker exec -it duckietown-gym-sim bash
Run python /code/learning/reinforcement/pytorch/train_reiforcement.pny
to train a model. Or, from outside container, run docker exec -it duckietown-gym-sim python /code/learning/reinforcement/pytorch/train_reinforcement.py
Run xhost +
before starting the simulator. Then, inside the container, run export DISPLAY=:0
.