From 49a4be635dc7b0f459729919fcbc06faba83fec9 Mon Sep 17 00:00:00 2001 From: machenmusik Date: Wed, 12 Jul 2023 10:03:23 -0400 Subject: [PATCH] Fix colmap vocab_tree_path (#2195) to work with Windows (#2204) * Fix colmap vocab_tree_path to work with Windows * black --- nerfstudio/process_data/colmap_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nerfstudio/process_data/colmap_utils.py b/nerfstudio/process_data/colmap_utils.py index cae229922..ac15d0937 100644 --- a/nerfstudio/process_data/colmap_utils.py +++ b/nerfstudio/process_data/colmap_utils.py @@ -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)