Skip to content

Matches

Latest
Compare
Choose a tag to compare
@woctezuma woctezuma released this 30 Jul 20:22
· 40 commits to main since this release
f85f3ea

Image features were matched with feature-matcher:

  • matches_*.npy: the matched indices (as np.uint32) in a NumPy file,
  • scores_*.npy: the similarity scores (as np.float16) in a NumPy file.
all_model_names = [ 'dinov2_vits14', 'dinov2_vitb14', 'dinov2_vitl14' ]
model_name = all_model_names[0]
%cd /content
!git clone https://github.com/woctezuma/feature-matcher.git
%cd feature-matcher
%pip install --quiet -r requirements.txt

!python match_fts.py \
--input_dir /content/feature-extractor/features \
--feature_filename fts_{model_name}.npy \
--numpy_matches matches_{model_name}.npy \
--numpy_similarity_scores scores_{model_name}.npy \
--num_neighbors 10