mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-16 21:03:46 +08:00
Prevent colmap from opening (#1627)
This commit is contained in:
1 parent
fac13d0bab
commit
f58aa9348e
2 files changed
+1
-7
No files matched your search
@@ -55,7 +55,7 @@ def get_colmap_version(colmap_cmd: str, default_version=3.8) -> float:
|
||||
Returns:
|
||||
The version of COLMAP.
|
||||
"""
|
||||
output = run_command(colmap_cmd, verbose=False)
|
||||
output = run_command(f"{colmap_cmd} -h", verbose=False)
|
||||
assert output is not None
|
||||
for line in output.split("\n"):
|
||||
if line.startswith("COLMAP"):
|
||||
|
||||
Reference in new issue
Block a user