Fyusion / LLFF

Code release for Local Light Field Fusion at SIGGRAPH 2019
https://fyusion.com/LLFF
GNU General Public License v3.0
1.55k stars 250 forks source link

No such file or directory: 'colmap' #65

Open mrxRunwuxiwusheng opened 2 years ago

mrxRunwuxiwusheng commented 2 years ago

I only run "python imgs2poses.py data/testscene", but got error as: File "/home/marunxin/src/LLFF-master/llff/poses/colmap_wrapper.py", line 35, in run_colmap feat_output = ( subprocess.check_output(feature_extractor_args, universal_newlines=True) ) File "/home/marunxin/anaconda3/envs/nerf/lib/python3.7/subprocess.py", line 411, in check_output **kwargs).stdout File "/home/marunxin/anaconda3/envs/nerf/lib/python3.7/subprocess.py", line 488, in run with Popen(*popenargs, **kwargs) as process: File "/home/marunxin/anaconda3/envs/nerf/lib/python3.7/subprocess.py", line 800, in __init__ restore_signals, start_new_session) File "/home/marunxin/anaconda3/envs/nerf/lib/python3.7/subprocess.py", line 1551, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: 'colmap': 'colmap' Is there any error step?

SPieterG commented 2 years ago

I also encountered this issue, in order to fix it make sure to have colmap installed: https://colmap.github.io/install.html

On ubuntu I was able to install it using sudo apt-get install colmap

ds22058 commented 1 year ago

@SPieterG Hi, I use sudo apt-get install colmap but get error as 'E: Unable to locate package colmap'. Do you know how to solve this error. Thanks in advance