Original CARLA RLLib Integration Repository: rllib-integration
- Download Carla 0.9.11
conda create -n carla python=3.7
conda activate carla
pip install -r requirements.txt
gedit ~/.bashrc
export DeFIX_PATH=PATH_TO_MAIN_DeFIX_REPO
export CARLA_ROOT=PATH_TO_CARLA_ROOT_SH
export SCENARIO_RUNNER_ROOT="${DeFIX_PATH}/scenario_runner"
export LEADERBOARD_ROOT="${DeFIX_PATH}/leaderboard"
export PYTHONPATH="${CARLA_ROOT}/PythonAPI/carla/":"${SCENARIO_RUNNER_ROOT}":"${LEADERBOARD_ROOT}":"${CARLA_ROOT}/PythonAPI/carla/dist/carla-0.9.11-py3.7-linux-x86_64.egg":${PYTHONPATH}
source ~/.bashrc
- move 'resnet50.zip' file to directory: <DeFIX_PATH/checkpoint/models/>
python3 dqn_train.py dqn_example/dqn_config.yaml --overwrite