-
Notifications
You must be signed in to change notification settings - Fork 1
/
run_toolkit.sh
executable file
·35 lines (27 loc) · 1.39 KB
/
run_toolkit.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/bin/bash
rm backend/results/sample_result.json
#export CARLA_ROOT=carla
export CARLA_ROOT=/auto/homes/sn611/saasha/carla-simulator
export CARLA_SERVER=${CARLA_ROOT}/CarlaUE4.sh
export PYTHONPATH=$PYTHONPATH:${CARLA_ROOT}/PythonAPI
export PYTHONPATH=$PYTHONPATH:${CARLA_ROOT}/PythonAPI/carla
export PYTHONPATH=$PYTHONPATH:$CARLA_ROOT/PythonAPI/carla/dist/carla-0.9.11-py3.7-linux-x86_64.egg
export PYTHONPATH=$PYTHONPATH:/auto/homes/sn611/saasha/toolkit_new_no_signal_REFACTORED
export PYTHONPATH=$PYTHONPATH:frontend
export PYTHONPATH=$PYTHONPATH:backend
export PYTHONPATH=$PYTHONPATH:backend/leaderboard
export PYTHONPATH=$PYTHONPATH:backend/leaderboard/team_code
export PYTHONPATH=$PYTHONPATH:backend/scenario_runner
export PYTHONPATH=$PYTHONPATH:backend/carlaviz
export PYTHONPATH=$PYTHONPATH:backend/advGAN
export LEADERBOARD_ROOT=backend/leaderboard
export LEADERBOARD_ROUTE_ROOT=${LEADERBOARD_ROOT}/data
export LEADERBOARD_SCENARIO_ROOT=${LEADERBOARD_ROUTE_ROOT}/scenarios
export LEADERBOARD_AGENT_ROOT=${LEADERBOARD_ROOT}/team_code
export LEADERBOARD_AGENT_MODEL_WEIGHTS_ROOT=backend/model
export GAN_MODELS_ROOT=backend/advGAN/models
export TOOLKIT_FRONTEND=frontend
export RESULTS_BASEPATH=results
export REP_NUM=2 ## experiments are repeated 10 times per route with a different seed value
#export PYTHONHASHSEED='10' ## seed values used per rep: 0, 10, 20, 30, 40, 50, 60, 70, 80, 90
streamlit run app.py