-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhtune_test_eval_params_ablation.sh
44 lines (32 loc) · 1.06 KB
/
htune_test_eval_params_ablation.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
#!/bin/bash
# ----------- MODEL SELECTION -------------------
models=(+models/shiss_disk/default
+models/shirs_disk/default)
# ------------- ABLATION SELECTION ----------------
ablation=filtering
# ------------- DATASET SELECTION ----------------
htune_dataset=+datasets/imcpt/setup/ICCV2023/htune/rel_pose/f_pydegensac/num_2k
test_dataset=+datasets/imcpt/setup/ICCV2023/val/rel_pose/f_pydegensac=num_2k
# -------------------------------------------------
#check=True
check=False
for model in "${models[@]}"
do
python3 source/pipeline/htune.py "$model=features_htune_test" \
$htune_dataset $check -a $ablation -f
done
for model in "${models[@]}"
do
python3 source/pipeline/htune.py "$model=features_htune_test" \
$htune_dataset $check -a $ablation -lr -it
done
for model in "${models[@]}"
do
python3 source/pipeline/test.py "$model=features_htune_test" \
$test_dataset $check -a $ablation -f
done
for model in "${models[@]}"
do
python3 source/pipeline/test.py "$model=features_htune_test" \
$test_dataset $check -a $ablation -t
done