From bfabf5acb24a2bcee93608ae1cb1d9728b19b708 Mon Sep 17 00:00:00 2001 From: senselessdev1 Date: Tue, 15 Aug 2023 00:42:48 -0400 Subject: [PATCH] remove unnecessary class attribute --- gtsfm/retriever/joint_netvlad_sequential_retriever.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gtsfm/retriever/joint_netvlad_sequential_retriever.py b/gtsfm/retriever/joint_netvlad_sequential_retriever.py index 1e0d9a106..7e935f466 100644 --- a/gtsfm/retriever/joint_netvlad_sequential_retriever.py +++ b/gtsfm/retriever/joint_netvlad_sequential_retriever.py @@ -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} """