mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-07 00:09:14 +08:00
Update pixsfm with better param (#1661)
Previous setting will easily go to oom
This commit is contained in:
1 parent
2ff1462f30
commit
4145f010d2
1 file changed
+7
-1
@@ -117,7 +117,13 @@ def run_hloc(
|
|||||||
camera_model=camera_model.value
|
camera_model=camera_model.value
|
||||||
)
|
)
|
||||||
if refine_pixsfm:
|
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(
|
refined, _ = sfm.reconstruction(
|
||||||
sfm_dir,
|
sfm_dir,
|
||||||
image_dir,
|
image_dir,
|
||||||
|
|||||||
Reference in new issue
Block a user