Skip to content

Error while running the pipeline of Aachen #118

@rishabhramteke

Description

@rishabhramteke

I get this error in the match_features.main() function of the Aachen pipeline:

[11/04/2021 08:57:35 INFO] Matching local features with configuration:
{'model': {'name': 'superglue',
'sinkhorn_iterations': 50,
'weights': 'outdoor'},
'output': 'matches-superglue'}
Loaded SuperGlue model ("outdoor" weights)
0%| | 0/85515 [00:00<?, ?it/s]
Traceback (most recent call last):
File "pipeline_Aachen.py", line 38, in
sfm_match_path = match_features.main(matcher_conf, sfm_pairs, feature_conf['output'], outputs)
File "/home/ubuntu/Hierarchical-Localization/hloc/match_features.py", line 83, in main
match_from_paths(
File "/home/ubuntu/.local/lib/python3.8/site-packages/torch/autograd/grad_mode.py", line 15, in decorate_context
return func(*args, **kwargs)
File "/home/ubuntu/Hierarchical-Localization/hloc/match_features.py", line 147, in match_from_paths
data['image1'] = torch.empty((1,)+tuple(grp['image_size'])[::-1])
File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
File "/home/ubuntu/.local/lib/python3.8/site-packages/h5py/_hl/group.py", line 305, in getitem
oid = h5o.open(self.id, self._e(name), lapl=self._lapl)
File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
File "h5py/h5o.pyx", line 190, in h5py.h5o.open
KeyError: "Unable to open object (object 'image_size' doesn't exist)"

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