Skip to content

Commit

Permalink
ThreeViewEstimateMetricScene
Browse files Browse the repository at this point in the history
- Added comment for why loss functions aren't used
  • Loading branch information
lessthanoptimal committed Nov 30, 2023
1 parent d754581 commit 67d5fff
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,12 @@ public ThreeViewEstimateMetricScene() {
configSBA.optimizer.type = ConfigNonLinearLeastSquares.Type.LEVENBERG_MARQUARDT;
configSBA.optimizer.lm.dampeningInitial = 1e-3;
configSBA.optimizer.lm.hessianScaling = false;

// Using loss function wasn't found to improve results in regression tests
// in 3-view regression it was a wash. No runtime improvement either by removing second SBA cycle.
// In full-blown reconstructions it degraded a few scenarios.
// configSBA.loss.type = ConfigLoss.Type.HUBER;
// configSBA.loss.parameter = 1.0;
}

/**
Expand Down

0 comments on commit 67d5fff

Please sign in to comment.