Skip to content

Commit

Permalink
remove unnecessary class attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
senselessdev1 authored and senselessdev1 committed Aug 15, 2023
1 parent 46ac6c4 commit bfabf5a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions gtsfm/retriever/joint_netvlad_sequential_retriever.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,16 @@ def __init__(self, num_matched: int, min_score: float, max_frame_lookahead: int)
"""
Args:
num_matched: number of K potential matches to provide per query. These are the top "K" matches per query.
min_score: Minimum allowed similarity score to accept a match.
max_frame_lookahead: maximum number of consecutive frames to consider for matching/co-visibility.
"""
super().__init__(matching_regime=ImageMatchingRegime.SEQUENTIAL_WITH_RETRIEVAL)
self._num_matched = num_matched
self._similarity_retriever = NetVLADRetriever(num_matched=num_matched, min_score=min_score)
self._seq_retriever = SequentialRetriever(max_frame_lookahead=max_frame_lookahead)

def __repr__(self) -> str:
return f"""
JointNetVLADSequentialRetriever:
Num. frames matched: {self._num_matched}
Similarity retriever: {self._similarity_retriever}
Sequential retriever: {self._seq_retriever}
"""
Expand Down

0 comments on commit bfabf5a

Please sign in to comment.