carla-simulator / rllib-integration

Integration of RLLib and CARLA
MIT License
66 stars 19 forks source link

Could the carla rllib-integration run in docker? #20

Open ll7 opened 3 years ago

ll7 commented 3 years ago

Hello,

do you think it is possible to run the rllib integration in docker? My idea of the process so far has been:

Does anyone have experiences with a docker setup?

Kind regards and thanks for sharing the rllib-integration.

joel-mb commented 3 years ago

Hi @ll7 ! I think this is totally doable. Maybe the only missing step is adding the CARLA Python API to the PYTHONPATH.

enabling a gui? is this necessary or does everything run headless?

Actually, there is one parameter in https://github.com/carla-simulator/rllib-integration/blob/main/dqn_example/dqn_config.yaml#L50 to that end. For testing purposes, it may be useful to enable the gui.

docker run with port connection for tensorboard? does pytorch from the dqn example use tensorboard?

yeah, the dqn_train.py example is automatically opening a tensoboard server in the port 6006.