Skip to content

Large time taken for feature matching between query and database images for pitts30k #89

@ur10

Description

@ur10

Hello,
I have been trying to reproduce the results as mentioned in the Patch-NetVLAD paper. I started with pitts30k datataset. I have followed the steps as mentioned in the repo for feature extraction and matching . However, during the feature matching stage while running with 4 RTX 2080 GPUs each of 12GB it says that the completion time is about 72 hours(~47s/itr). Is this expected behaviour or am I doing something wrong. My steps -

Feature extract

python feature_extract.py --config_path patchnetvlad/configs/performance.ini --dataset_file_path=pitts30k_imageNames_index.txt --dataset_root_dir=/home/ur10/data/pitts30k --output_features_dir patchnetvlad/output_features/pitts30k_index

python feature_extract.py --config_path patchnetvlad/configs/performance.ini -dataset_file_path=pitts30k_imageNames_query.txt --dataset_root_dir=/home/ur10/data/pitts30k --output_features_dir patchnetvlad/output_features/pitts30k_query

Feature Match

python feature_match.py --config_path patchnetvlad/configs/performance.ini --dataset_root_dir=/home/ur10/data/pitts30k --query_file_path=pitts30k_imageNames_query.txt --index_file_path=pitts30k_imageNames_index.txt --query_input_features_dir patchnetvlad/output_features/pitts30k_query --index_input_features_dir patchnetvlad/output_features/pitts30k_index --ground_truth_path patchnetvlad/dataset_gt_files/pitts30k_test.npz --result_save_folder patchnetvlad/results/pitts30k

I have taken care of the imageNames file so that I get 10k ref and 6.3k query images.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions