mirror of
https://github.com/vale981/ray
synced 2025-03-06 10:31:39 -05:00
![]() * add carla example * add reward * set obs * Sun Dec 17 16:06:00 PST 2017 * add spec * fix measurement * add train script * resize to 80x80 * null * initial small training run * robustify env, clean up action space * clean up vars * switch to town2 which is faster * tunify train.py * add discrete mode * update * fix excessive brakinG * fix the weather * rename * redirect output and from future import * doc * update * fix rebase * allow dqn gpu growht * adjust dqn hyperparams * better ppo parameters |
||
---|---|---|
.. | ||
env.py | ||
README | ||
train_dqn.py | ||
train_ppo.py |
(Experimental) gym environment for https://github.com/carla-simulator/carla To run, first download and unpack the Carla release from this URL: https://github.com/carla-simulator/carla/releases/tag/0.7.0 Then, you can try running env.py to drive the car. Run train_ppo.py or train_dqn.py to attempt training. $ pkill -9 Carla $ export PYTHONPATH=/home/ubuntu/CARLA_0.7.0/PythonClient:$PYTHONPATH $ export CARLA_SERVER=/home/ubuntu/CARLA_0.7.0/CarlaUE4.sh $ python env.py Note that the reward function is currently hard-coded to drive straight down the street.