From 96447d0eec0d2235814646ec16822373dd533b2a Mon Sep 17 00:00:00 2001 From: Philipp Erler Date: Tue, 1 Oct 2024 13:40:47 +0300 Subject: [PATCH] no GPU for feature extraction too --- images_to_mesh/processing_steps/sfm/reconstruct.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/images_to_mesh/processing_steps/sfm/reconstruct.py b/images_to_mesh/processing_steps/sfm/reconstruct.py index f55bb4c..9dd9f54 100644 --- a/images_to_mesh/processing_steps/sfm/reconstruct.py +++ b/images_to_mesh/processing_steps/sfm/reconstruct.py @@ -63,7 +63,8 @@ def reconstruct_with_colmap_sparse(image_list: List[str]) -> List[str]: 'colmap', 'feature_extractor', '--database_path', database_path, '--image_path', image_path, - '--SiftExtraction.num_threads', num_processes + '--SiftExtraction.num_threads', num_processes, + '--use_gpu', 0 ] try: for line in execute_subprocess(command=extract_command, log_path=log_path, error_path=error_path):