instant-ngp icon indicating copy to clipboard operation
instant-ngp copied to clipboard

Another question with colmap2nerf.py

Open SinaDavari opened this issue 11 months ago • 2 comments

Hi, and thanks very much for this excellent work. I have a question.

Whe runnig python C:..\scripts\colmap2nerf.py --colmap_matcher exhaustive --run_colmap --aabb_scale 16 --overwrite, I am getting the following error:

==== running: C:...\COLMAP.bat feature_extractor --ImageReader.camera_model OPENCV --ImageReader.camera_params "" --SiftExtraction.estimate_affine_shape=true --SiftExtraction.domain_size_pooling=true --ImageReader.single_camera 1 --database_path colmap.db --image_path "images"
[option_manager.cc:811] Check failed: ExistsDir(*image_path)
ERROR: Invalid options provided.
FATAL: command failed

Does anyone know how this issue could be resolved?

SinaDavari avatar Sep 14 '23 22:09 SinaDavari

you need to run it inside a folder where there is a subfolder called images

nivibilla avatar Sep 17 '23 19:09 nivibilla

Thanks for your swift response, dear @nivibilla. I was inside the images folder, but it was not working. It turns out that even inside this folder, I should pass the images folder through the --images flag: python C:...\scripts\colmap2nerf.py --colmap_matcher exhaustive --run_colmap --images C:...\images --aabb_scale 16 --overwrite

SinaDavari avatar Sep 19 '23 19:09 SinaDavari