-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhtune_test_scannet.sh
46 lines (36 loc) · 1.16 KB
/
htune_test_scannet.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
#!/bin/bash
# ----------- MODEL SELECTION -------------------
models=(+models/shi_hardnet/default
+models/sift_hardnet/default
+models/superpoint_hardnet/default
+models/r2d2_hardnet/default
+models/keynet_hardnet/default
+models/disk_hardnet/default
+models/rekd_hardnet/default
+models/shiness_hardnet/default)
# ------------- DATASET SELECTION ----------------
htune_dataset=+datasets/scannet/setup/ICCV2023/htune/rel_pose/e_pyopengv/num_2k
test_dataset=+datasets/scannet/setup/ICCV2023/test/rel_pose/e_pyopengv=num_2k
# -------------------------------------------------
#check=True
check=False
#for model in "${models[@]}"
#do
# python3 source/pipeline/htune.py "$model=features_htune_test" \
# $htune_dataset $check -f
#done
#for model in "${models[@]}"
#do
# python3 source/pipeline/htune.py "$model=features_htune_test" \
# $htune_dataset $check -lr -it
#done
for model in "${models[@]}"
do
python3 source/pipeline/test.py "$model=features_htune_test" \
$test_dataset $check -f
done
for model in "${models[@]}"
do
python3 source/pipeline/test.py "$model=features_htune_test" \
$test_dataset $check -t
done