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.74k stars 483 forks source link

Colmap does not complete on colab notbeook. #56

Closed kurtjcu closed 3 years ago

kurtjcu commented 3 years ago

Hi, the current builds of colmap seem to have some issues, currently they fail in imgs2poses.py. Currently I had mine work with a win version of colmap and imgs2poses using the pre generated sparse data.

can reproduce the issue by running the colmap colab notebook in the main readme.

kwea123 commented 3 years ago

So COLMAP completes but not img2poses.py, is that correct. Sometimes COLMAP might fail to reconstruct all images, for example if there are too few feature points, too much textureless region (white background), etc. imgs2poses.py assumes that every image is reconstructed so that leads to an error.

I suggest that you retake cleaner images according to common photogrammetry guidelines and try again.