mirror of
https://github.com/vale981/ray
synced 2025-03-06 10:31:39 -05:00
![]() * update * update examples * Wed Mar 21 15:19:56 PDT 2018 * Wed Mar 21 15:21:32 PDT 2018 * Update train_a3c.py * Update train.py * fix resources accounting |
||
---|---|---|
.. | ||
a3c_lane_keep.py | ||
dqn_lane_keep.py | ||
env.py | ||
models.py | ||
ppo_lane_keep.py | ||
README | ||
scenarios.py | ||
train_a3c.py | ||
train_dqn.py | ||
train_ppo.py |
(Experimental) OpenAI gym environment for https://github.com/carla-simulator/carla To run, first download and unpack the Carla binaries from this URL: https://github.com/carla-simulator/carla/releases/tag/0.7.0 Note that currently you also need to clone the Python code from `carla/benchmark_branch` which includes the Carla planner. Then, you can try running env.py to drive the car. Run one of the train_* scripts to attempt training. $ pkill -9 Carla $ export CARLA_SERVER=/PATH/TO/CARLA_0.7.0/CarlaUE4.sh $ export CARLA_PY_PATH=/PATH/TO/CARLA_BENCHMARK_BRANCH_REPO/PythonClient $ python env.py Check out the scenarios.py file for different training and test scenarios that can be used.