kwea123 / nerf_pl

NeRF (Neural Radiance Fields) and NeRF in the Wild using pytorch-lightning
https://www.youtube.com/playlist?list=PLDV2CyUo4q-K02pNEyDr7DYpTQuka3mbV
MIT License
2.71k stars 477 forks source link

Google Colab colmap script not working ("FileNotFoundError: [Errno 2] No such file or directory: 'colmap'") #209

Open JavierUrenaPhDProjects opened 1 year ago

JavierUrenaPhDProjects commented 1 year ago

Hello so Im trying to create my own dataset with the google colab notebook: https://colab.research.google.com/gist/kwea123/f0e8f38ff2aa94495dbfe7ae9219f75c/colmap_colab.ipynb#scrollTo=d9ryuCQt2hEv

First, I have trouble installing COLMAP, getting this error:

CMake Error at cmake/FindFLANN.cmake:91 (message): Could not find FLANN Call Stack (most recent call first): CMakeLists.txt:95 (find_package)

After following all the steps and reach the "Run COLMAP!" cell it just says "no such file or directory: colmap'' (supposedly because it did not install well). I've seen other similar issues like #152 or #147 but they are not clearly explained nor exactly my problem. Is there maybe something else to take into consideration?

Thanks

YUEVII commented 6 months ago

I met the same issue and I put these code on the top of the given code(original cell) and it works!: sudo apt-get install \ git \ cmake \ ninja-build \ build-essential \ libboost-program-options-dev \ libboost-filesystem-dev \ libboost-graph-dev \ libboost-system-dev \ libeigen3-dev \ libflann-dev \ libfreeimage-dev \ libmetis-dev \ libgoogle-glog-dev \ libgtest-dev \ libsqlite3-dev \ libglew-dev \ qtbase5-dev \ libqt5opengl5-dev \ libcgal-dev \ libceres-dev