ubc-vision / image-matching-benchmark

Public release of the Image Matching Benchmark: https://image-matching-challenge.github.io
https://image-matching-challenge.github.io
Apache License 2.0
527 stars 93 forks source link

how to benchmark hardnet features? #5

Closed JustWon closed 4 years ago

JustWon commented 4 years ago

Currently I imported the hardnet feature via import_features.py .

I found out that the several new folders and files were created at benchmark-results directory. image

Now I want to evaluate the features from hardnet by run.py .

After looking into the run.py file, I realized that the compute_feature.py was called and some routine for hardnet is necessary in compute_per_img_file function. image

Should I need to implement this routine by myself or do you provide them?

My ultimate goal is to perform the benchmark on my own descriptor network.

Thanks you!

etrulls commented 4 years ago

compute_feature is only called if the features do not exist already. You probably didn't pass the correct settings. Your config file should have "sift8k" as keypoints, "hardnet" as descriptors, and the correct number of keypoints (2048), and the features should exist for the datasets you're trying to call (val or test). Please double-check your config file and copy-paste it here if you can't figure it out.