error using colmap2nerf.py #165
Replies: 4 comments 1 reply
-
Hi, i'm running into the same error. Did you found a way ? Thanks |
Beta Was this translation helpful? Give feedback.
-
is colmap on the PATH correctly? to check it try running |
Beta Was this translation helpful? Give feedback.
-
This might be a matter of how you configured your directory. In the Colmap documentation, it asks that the images are placed in a subfolder called 'images', with the folder being the directory for other files that are written in colmap, such as the transforms.json, colmap.db and others. First, ensure your libraries are on the right path and second, make sure you run the command from the images folder directory (e.g. cd directory_name) with the subfolder called 'images' containing the images. Very late response but hope that helps! |
Beta Was this translation helpful? Give feedback.
-
1.Go into colmap directory. I can't understand why colmap don't put *.dll and *.exe files together. |
Beta Was this translation helpful? Give feedback.
-
Howdy, thanks for making this amazing project available!
I'm on Windows 10 with a GeForce RTX 2070 SUPER. I'm having no problems at all compiling and running all the instant-npg testbed examples. But I am unable to run the colmap2nerf.py script successfully.
I have:
Installed Python 3.10
Installed numpy and opencv-python modules.
downloaded the latest Pre-Release version of colmap and added it's bin folder to my Path ( I also tried the stable release version with same result)
I have placed the images folder containing the Fox example images in the same directory where colmap2nerf.py lives.
Here's the output when I run the script. Any ideas what I might be doing wrong?. Unfortunately I have little experience with Python.
PS D:\ActiveWorks\test> python colmap2nerf.py --colmap_matcher exhaustive --run_colmap --aabb_scale 16
running colmap with:
db=colmap.db
images=images
sparse=colmap_sparse
text=colmap_text
warning! folders 'colmap_sparse' and 'colmap_text' will be deleted/replaced. continue? (Y/n)y
==== running: colmap feature_extractor --ImageReader.camera_model OPENCV --ImageReader.single_camera 1 --database_path colmap.db --image_path images
FATAL: command failed
Beta Was this translation helpful? Give feedback.
All reactions