Skip to content

Commit

Permalink
Turn off weighing by inliers
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushbaid committed Jun 9, 2024
1 parent eaf4c02 commit 03d754d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gtsfm/averaging/rotation/shonan.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class ShonanRotationAveraging(RotationAveragingBase):
def __init__(
self,
two_view_rotation_sigma: float = _DEFAULT_TWO_VIEW_ROTATION_SIGMA,
weight_by_inliers: bool = True,
weight_by_inliers: bool = False,
use_mst_init: bool = True,
) -> None:
"""Initializes module.
Expand Down
2 changes: 1 addition & 1 deletion gtsfm/configs/unified.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ SceneOptimizer:

rot_avg_module:
_target_: gtsfm.averaging.rotation.shonan.ShonanRotationAveraging
weight_by_inliers: True
weight_by_inliers: False

trans_avg_module:
_target_: gtsfm.averaging.translation.averaging_1dsfm.TranslationAveraging1DSFM
Expand Down

0 comments on commit 03d754d

Please sign in to comment.