Fix colmap vocab_tree_path (#2195) to work with Windows (#2204)

* Fix colmap vocab_tree_path to work with Windows

* black
This commit is contained in:
machenmusik authored and GitHub committed 2023-07-12 07:03:23 -07:00
1 parent 6cb10ae682
commit 49a4be635d
1 file changed
+1 -1
+1 -1
View File
@@ -138,7 +138,7 @@ def run_colmap(
]
if matching_method == "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)
with status(msg="[bold yellow]Running COLMAP feature matcher...", spinner="runner", verbose=verbose):
run_command(feature_matcher_cmd, verbose=verbose)