File name collision fix and minor extentions #125
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request fixes one bug and adds two minor extensions of the current functionality:
match_pairs.py
onscannet_test_pairs_with_gt.txt
you get only 1248 output files instead of 1500 because of the same names for frames in different scenes. This pull request adds functionpair_names_to_id
which constructs a unique id for each pair based on the complete paths of an image pair and can be easily parsed.match_pairs.py
with--resize 648, 484
you get an output of 648x480 since 484 is not divisible by 8. This pull request adds zero padding to preserve the original resolution.match_pairs.py
. The argument--input_points
is a path to a directory with the tensors containing custom keypoints. Naming convention of keypoint files is the same as for output matching files. The example of a SuperGlue matching of line segment endpoints: