@@ -87,7 +87,7 @@ Query feature extraction can be run as follows:
8787
8888``` bash
8989# From models/research/delf/delf/python/detect_to_retrieve
90- python extract_query_features.py \
90+ python3 extract_query_features.py \
9191 --delf_config_path delf_gld_config.pbtxt \
9292 --dataset_file_path ~ /detect_to_retrieve/data/gnd_roxford5k.mat \
9393 --images_dir ~ /detect_to_retrieve/data/oxford5k_images \
@@ -100,7 +100,7 @@ Index feature extraction / box detection can be run as follows:
100100
101101``` bash
102102# From models/research/delf/delf/python/detect_to_retrieve
103- python extract_index_boxes_and_features.py \
103+ python3 extract_index_boxes_and_features.py \
104104 --delf_config_path delf_gld_config.pbtxt \
105105 --detector_model_dir parameters/d2r_frcnn_20190411 \
106106 --detector_thresh 0.1 \
@@ -125,7 +125,7 @@ Run query feature aggregation as follows:
125125
126126``` bash
127127# From models/research/delf/delf/python/detect_to_retrieve
128- python extract_aggregation.py \
128+ python3 extract_aggregation.py \
129129 --use_query_images True \
130130 --aggregation_config_path query_aggregation_config.pbtxt \
131131 --dataset_file_path ~ /detect_to_retrieve/data/gnd_roxford5k.mat \
@@ -139,7 +139,7 @@ Run index feature aggregation as follows:
139139
140140``` bash
141141# From models/research/delf/delf/python/detect_to_retrieve
142- python extract_aggregation.py \
142+ python3 extract_aggregation.py \
143143 --aggregation_config_path index_aggregation_config.pbtxt \
144144 --dataset_file_path ~ /detect_to_retrieve/data/gnd_roxford5k.mat \
145145 --features_dir ~ /detect_to_retrieve/data/oxford5k_features/index_0.1 \
@@ -156,7 +156,7 @@ To run retrieval on `roxford5k`, the following command can be used:
156156
157157``` bash
158158# From models/research/delf/delf/python/detect_to_retrieve
159- python perform_retrieval.py \
159+ python3 perform_retrieval.py \
160160 --index_aggregation_config_path index_aggregation_config.pbtxt \
161161 --query_aggregation_config_path query_aggregation_config.pbtxt \
162162 --dataset_file_path ~ /detect_to_retrieve/data/gnd_roxford5k.mat \
@@ -193,7 +193,7 @@ example command:
193193
194194``` bash
195195# From models/research/delf/delf/python/detect_to_retrieve
196- python perform_retrieval.py \
196+ python3 perform_retrieval.py \
197197 --index_aggregation_config_path index_aggregation_config.pbtxt \
198198 --query_aggregation_config_path query_aggregation_config.pbtxt \
199199 --dataset_file_path ~ /detect_to_retrieve/data/gnd_roxford5k.mat \
@@ -215,7 +215,7 @@ K-means are not registered for GPU usage in Tensorflow.
215215
216216``` bash
217217# From models/research/delf/delf/python/detect_to_retrieve
218- python cluster_delf_features.py \
218+ python3 cluster_delf_features.py \
219219 --dataset_file_path ~ /detect_to_retrieve/data/gnd_rparis6k.mat \
220220 --features_dir ~ /detect_to_retrieve/data/paris6k_features/index_0.1 \
221221 --num_clusters 1024 \
0 commit comments