-
Notifications
You must be signed in to change notification settings - Fork 2
/
sim_pluto.sh
45 lines (38 loc) · 1.25 KB
/
sim_pluto.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
36
37
38
39
40
41
42
43
44
45
export PYTHONPATH=$PYTHONPATH:$(pwd)
export NUPLAN_DATA_ROOT="/nuplan/dataset"
export NUPLAN_MAPS_ROOT="/nuplan/dataset/maps"
export WS="/workspace/pluto"
export NUPLAN_EXP_ROOT="$WS/exp"
cwd=$(pwd)
CKPT_ROOT="$cwd/checkpoints"
PLANNER=pluto_planner
CKPT_N=pluto_full_m6
CKPT=$CKPT_N.ckpt
# BUILDER=nuplan_mini
# FILTER=mini_demo_scenario
# BUILDER=nuplan_challenge
# FILTER=random14_benchmark
BUILDER=nuplan
FILTER=val14_benchmark
VIDEO_SAVE_DIR=$cwd/videos/$PLANNER.$CKPT_N/$FILTER
CHALLENGE="closed_loop_nonreactive_agents"
# CHALLENGE="closed_loop_reactive_agents"
# CHALLENGE="open_loop_boxes"
python run_simulation.py \
+simulation=$CHALLENGE \
planner=$PLANNER \
scenario_builder=$BUILDER \
scenario_filter=$FILTER \
worker=sequential \
verbose=true \
experiment_uid="$PLANNER/$FILTER" \
planner.$PLANNER.render=true \
planner.$PLANNER.planner_ckpt="$CKPT_ROOT/$CKPT" \
+planner.$PLANNER.save_dir=$VIDEO_SAVE_DIR/$CHALLENGE.norule \
planner.$PLANNER.rule_based_evaluator=false \
planner.$PLANNER.planner.use_hidden_proj=false \
planner.$PLANNER.planner.cat_x=true \
planner.$PLANNER.planner.ref_free_traj=true \
planner.$PLANNER.planner.num_modes=6
# worker.threads_per_node=32 \
# worker=sequential \