Update pixsfm with better param (#1661)

Previous setting will easily go to oom
This commit is contained in:
Pythonix Huang authored and GitHub committed 2023-03-26 20:33:54 -07:00
1 parent 2ff1462f30
commit 4145f010d2
1 file changed
+7 -1
+7 -1
View File
@@ -117,7 +117,13 @@ def run_hloc(
camera_model=camera_model.value
)
if refine_pixsfm:
sfm = PixSfM({"dense_features": {"max_edge": 1024}})
sfm = PixSfM(
conf={
"dense_features": {"use_cache": True},
"KA": {"dense_features": {"use_cache": True}, "max_kps_per_problem": 1000},
"BA": {"strategy": "costmaps"},
}
)
refined, _ = sfm.reconstruction(
sfm_dir,
image_dir,