Comment on how to use CPU-only
This commit is contained in:
parent
d4a4072c93
commit
2f991920e6
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ def run_colmap(basedir, match_type):
|
||||||
'--database_path', os.path.join(basedir, 'database.db'),
|
'--database_path', os.path.join(basedir, 'database.db'),
|
||||||
'--image_path', os.path.join(basedir, 'images'),
|
'--image_path', os.path.join(basedir, 'images'),
|
||||||
'--ImageReader.single_camera', '1',
|
'--ImageReader.single_camera', '1',
|
||||||
# '--SiftExtraction.use_gpu', '0',
|
#'--SiftExtraction.use_gpu', '0', # Use CPU only, comment to use GPU
|
||||||
]
|
]
|
||||||
logging.debug("Extracting features.")
|
logging.debug("Extracting features.")
|
||||||
feat_output = subprocess.check_output(feature_extractor_args, universal_newlines=True)
|
feat_output = subprocess.check_output(feature_extractor_args, universal_newlines=True)
|
||||||
|
|
Loading…
Reference in a new issue