-
Notifications
You must be signed in to change notification settings - Fork 0
/
hloc_utils.sh
executable file
·37 lines (27 loc) · 2.09 KB
/
hloc_utils.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
#!/bin/bash
# First extract features
# echo "Extracting features..."
# python third_party/Hierarchical-Localization/gvbench_utils.py --extraction --image_path dataset/images --output_path dataset/features
# # Then match the features
# # day sequence
# echo "Matching features for day sequence..."
# python third_party/Hierarchical-Localization/gvbench_utils.py --matching --pairs dataset/gt/day.txt --features dataset/features --output_path dataset/matches
# # night sequence
# echo "Matching features for night sequence..."
# python third_party/Hierarchical-Localization/gvbench_utils.py --matching --pairs dataset/gt/night.txt --features dataset/features --output_path dataset/matches
# # season sequence
# echo "Matching features for season sequence..."
# python third_party/Hierarchical-Localization/gvbench_utils.py --matching --pairs dataset/gt/season.txt --features dataset/features --output_path dataset/matches
# # weather sequence
# echo "Matching features for weather sequence..."
# python third_party/Hierarchical-Localization/gvbench_utils.py --matching --pairs dataset/gt/weather.txt --features dataset/features --output_path dataset/matches
# Match dense using LoFTR
# echo "Matching featurs by LoFTR..."
# echo "Matching features for day sequence.."
# python third_party/Hierarchical-Localization/gvbench_utils.py --matching_loftr --pairs dataset/gt/day.txt --features dataset/features --output_path dataset/matches
# echo "Matching features for night sequence.."
# python third_party/Hierarchical-Localization/gvbench_utils.py --matching_loftr --pairs dataset/gt/night.txt --features dataset/features --output_path dataset/matches
echo "Matching features for season sequence.."
python third_party/Hierarchical-Localization/gvbench_utils.py --matching_loftr --pairs dataset/gt/season.txt --features dataset/features --output_path dataset/matches --image_path dataset/images
echo "Matching features for weather sequence.."
python third_party/Hierarchical-Localization/gvbench_utils.py --matching_loftr --pairs dataset/gt/weather.txt --features dataset/features --output_path dataset/matches --image_path dataset/images