zju3dv / AutoRecon

Code for "AutoRecon: Automated 3D Object Discovery and Reconstruction" CVPR 2023 (Highlight)
Apache License 2.0
351 stars 15 forks source link

No such file or directory: 'colmap' error #6

Open ottj opened 1 year ago

ottj commented 1 year ago

Thanks for releasing this great work!

After following your (updated) installation guide and downloading the demo data, I tried running the demo 'exps/code-release/run_pipeline_demo_low-res.sh'.

After a few initial steps it crashes with 2023-07-14 17:16:04.621 | WARNING | auto_decomp.sfm.sfm:main:632 | - [custom_data_example/co3d_chair] Unknown error: [Errno 2] No such file or directory: 'colmap'

File "/home/username/workspace/external/3drecontruction_stuff/AutoRecon/third_party/AutoDecomp/auto_decomp/sfm/sfm.py", line 173, in run raise err File "/home/username/workspace/external/3drecontruction_stuff/AutoRecon/third_party/AutoDecomp/auto_decomp/sfm/sfm.py", line 170, in run self._run(task_inst_id) File "/home/username/workspace/external/3drecontruction_stuff/AutoRecon/third_party/AutoDecomp/auto_decomp/sfm/sfm.py", line 192, in _run self.manhattan_alignment(task) File "/home/username/workspace/external/3drecontruction_stuff/AutoRecon/third_party/AutoDecomp/auto_decomp/sfm/sfm.py", line 247, in manhattan_alignment rec = manhattan_alignment(task.image_dir, task.sfm_dir, task.manhattan_sfm_dir) File "/home/username/workspace/external/3drecontruction_stuff/AutoRecon/third_party/AutoDecomp/auto_decomp/sfm/sfm.py", line 416, in manhattan_alignment subprocess.run(cmd, check=True, capture_output=True, text=True) File "/home/username/anaconda3/envs/auto_recon/lib/python3.9/subprocess.py", line 505, in run with Popen(*popenargs, **kwargs) as process: File "/home/username/anaconda3/envs/auto_recon/lib/python3.9/subprocess.py", line 951, in init self._execute_child(args, executable, preexec_fn, close_fds, File "/home/username/anaconda3/envs/auto_recon/lib/python3.9/subprocess.py", line 1837, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: 'colmap'

L-JunJie commented 1 year ago

Hello my friend, I've encountered the same issue as well. Have you managed to resolve it?

tageao460 commented 1 year ago

You have to install colmap https://colmap.github.io/install.html