Skip to content

Commit

Permalink
Fix runtime with less iterations and more threads
Browse files Browse the repository at this point in the history
Summary:
This Diff fixes ceres 2.0 update in dev/mode which is noticeably slower.

Unfortunately, in the short-term, we found no other issues than brute-forcing the threads # and the reducing the maximum number of iterations.

Differential Revision:
D45604439

Privacy Context Container: L1124100

fbshipit-source-id: 9c27fbb6ba8f3b0de09b2f7994164248be38fc57
  • Loading branch information
Yann Noutary authored and facebook-github-bot committed May 5, 2023
1 parent 8887d33 commit 5213d0f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions opensfm/test/test_reconstruction_incremental.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ def test_reconstruction_incremental(

dataset.config["bundle_compensate_gps_bias"] = True
dataset.config["bundle_use_gcp"] = True
dataset.config["bundle_max_iterations"] = 20
dataset.config["processes"] = 4
_, reconstructed_scene = reconstruction.incremental_reconstruction(
dataset, scene_synthetic.tracks_manager
)
Expand Down

0 comments on commit 5213d0f

Please sign in to comment.