mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-03 22:38:48 +08:00
Fixing Colmap VocabTreeMatching command to support spaces in Filename (#2195)
fix: colmap vocab tree file path error
This commit is contained in:
1 parent
82b3f70f87
commit
904e1352d9
1 file changed
+1
-1
@@ -138,7 +138,7 @@ def run_colmap(
|
|||||||
]
|
]
|
||||||
if matching_method == "vocab_tree":
|
if matching_method == "vocab_tree":
|
||||||
vocab_tree_filename = get_vocab_tree()
|
vocab_tree_filename = get_vocab_tree()
|
||||||
feature_matcher_cmd.append(f"--VocabTreeMatching.vocab_tree_path {vocab_tree_filename}")
|
feature_matcher_cmd.append(f"--VocabTreeMatching.vocab_tree_path '{vocab_tree_filename}'")
|
||||||
feature_matcher_cmd = " ".join(feature_matcher_cmd)
|
feature_matcher_cmd = " ".join(feature_matcher_cmd)
|
||||||
with status(msg="[bold yellow]Running COLMAP feature matcher...", spinner="runner", verbose=verbose):
|
with status(msg="[bold yellow]Running COLMAP feature matcher...", spinner="runner", verbose=verbose):
|
||||||
run_command(feature_matcher_cmd, verbose=verbose)
|
run_command(feature_matcher_cmd, verbose=verbose)
|
||||||
|
|||||||
Reference in new issue
Block a user