Closed dberga closed 7 months ago
disk
features are compatible only with matchers NN-mutual
and disk+lightglue
. We don't have a SuperGlue model trained for DISK features. I will add a check to flag this error earlier.
disk
features are compatible only with matchersNN-mutual
anddisk+lightglue
. We don't have a SuperGlue model trained for DISK features. I will add a check to flag this error earlier.
Tried also with disk+lightglue
but the code crashes by having an almost empty dict of "image_ids" in https://github.com/cvg/Hierarchical-Localization/blob/master/hloc/triangulation.py#L96 not being able to run the import_matches.
Just made a pull request that fix the error of empty image_ids https://github.com/nerfstudio-project/nerfstudio/pull/3081
I am using several repos related to nerfs (with sdfstudio, nerfstudio...) and they run hloc / colmap for the preprocessing the sfm data.
In the matcher part I get an error with regards not finding the key
score0
in data. I am usingdisk
features. The error appears in https://github.com/cvg/Hierarchical-Localization/blob/master/hloc/utils/base_model.py#L24By simply running
ns-process-data images --data data/heritage_data_patrick_sdf/hotel_international --output-dir data/heritage_data_patrick_sdf/hotel_international --camera_type perspective --matching-method exhaustive --feature-type disk --matcher-type any
I always get:
Tried with distinct
--matcher-type
amongany,NN,superglue,superglue-fast,NN-superpoint,NN-ratio,NN-mutual,adalam,disk+lightglue,superpoint+lightglue
but still having the same error.Here are the values I printed when debugging:
key
=scores0
data.keys()
=dict_keys(['descriptors0', 'image_size0', 'keypoint_scores0', 'keypoints0', 'image0', 'descriptors1', 'image_size1', 'keypoint_scores1', 'keypoints1', 'image1'])
self.required_inputs
=['image0', 'keypoints0', 'scores0', 'descriptors0', 'image1', 'keypoints1', 'scores1', 'descriptors1']