Comment on how to use CPU-only

This commit is contained in:
otthorn 2021-03-25 11:11:51 +01:00
parent d4a4072c93
commit 2f991920e6

View file

@ -32,7 +32,7 @@ def run_colmap(basedir, match_type):
'--database_path', os.path.join(basedir, 'database.db'),
'--image_path', os.path.join(basedir, 'images'),
'--ImageReader.single_camera', '1',
# '--SiftExtraction.use_gpu', '0',
#'--SiftExtraction.use_gpu', '0', # Use CPU only, comment to use GPU
]
logging.debug("Extracting features.")
feat_output = subprocess.check_output(feature_extractor_args, universal_newlines=True)