-
Notifications
You must be signed in to change notification settings - Fork 0
/
run_exp_3.sh
executable file
·80 lines (68 loc) · 3.13 KB
/
run_exp_3.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
#! /bin/bash
GPU_ID=1
trap 'kill 0' SIGINT
# python eval_agent.py --save_video --no_render --no_interactive --eval_eps_total_num 200 \
# --exp_name ur_detic --eval_policy ur --gpu_id 2
# exp_name=(5 3)
# for exn in "${exp_name[@]}"
# do
# python eval_agent.py --no_render --no_interactive --eval_eps_total_num 200 \
# --exp_name igp_dist_obdiasize_$exn --save_video \
# --eval_policy ur --gpu_id 3 +AGENT.IG_PLANNER.ur_dist_obstacle_dialate_radius=$exn &
# done
# exp_name=(150 200)
# for exn in "${exp_name[@]}"
# do
# python eval_agent.py --no_render --no_interactive --eval_eps_total_num 200 \
# --exp_name igp_close_range_$exn --save_video \
# --eval_policy ur --gpu_id 3 AGENT.SEMANTIC_MAP.close_range=$exn &
# done
# exp_name=(1) # add habitat web, run ur later with improved controller
# for exn in "${exp_name[@]}"
# do
# python eval_agent.py --no_render --no_interactive --eval_eps_total_num 200 \
# --exp_name ur_ig_alpha_$exn --save_video \
# --eval_policy ur --gpu_id $GPU_ID AGENT.IG_PLANNER.info_gain_alpha=$exn &
# done
# python eval_agent.py --no_render --no_interactive --eval_eps_total_num 200 \
# --exp_name newlc_ur_gtsm0_run2 \
# --eval_policy ur --gpu_id $GPU_ID &
# exp_name=("fbe" "rl") # add habitat web
# for exn in "${exp_name[@]}"
# do
# python eval_agent.py --no_render --no_interactive --eval_eps_total_num 200 \
# --exp_name video_baseline_$exn --save_video \
# --eval_policy $exn --gpu_id $GPU_ID &
# GPU_ID=$((GPU_ID+1))
# done
python eval_agent.py --no_render --no_interactive \
--exp_name video3_default_ur --save_video \
--eval_policy ur --gpu_id $GPU_ID &
# exp_name=(7 5)
# for exn in "${exp_name[@]}"
# do
# python eval_agent.py --no_render --no_interactive --eval_eps_total_num 200 \
# --exp_name igp_IG_dialate_$exn --skip_existing \
# --eval_policy ur --gpu_id 3 AGENT.IG_PLANNER.ur_obstacle_dialate_radius=$exn &
# done
wait
# map_dilate_size=(1 2 3 4)
# close_range=(100 150 200 250)
# planner_obs_dilation_selem_radius=(1 2 3)
# for i in "${map_dilate_size[@]}"
# do
# for j in "${close_range[@]}"
# do
# for k in "${planner_obs_dilation_selem_radius[@]}"
# do
# python eval_agent.py --no_render --no_interactive --eval_eps_total_num 200 \
# --exp_name ur_detic_md$i_cr$j_pr$k \
# --eval_policy ur --gt_semantic --gpu_id 2 \
# config.AGENT.SEMANTIC_MAP.dilate_size=$i config.AGENT.SEMANTIC_MAP.close_range$j \
# config.AGENT.PLANNER.obs_dilation_selem_radius=$k
# done
# done
# done
# test config.AGENT.SEMANTIC_MAP.dilate_size=1 # default is 3
# python interactive.py --save_video --no_render --no_interactive --eval_eps_total_num 200 \
# --exp_name ur_gtsm --eval_policy ur --gt_semantic --gpu_id 2