Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error-[option_manager.cc:811] Check failed: ExistsDir(*image_path) #5

Open
y0himba opened this issue Oct 6, 2022 · 3 comments
Open

Comments

@y0himba
Copy link

y0himba commented Oct 6, 2022

I made it to "Get transform.json" successfully. However when I use the command: python scripts/colmap2nerf.py --colmap_matcher exhaustive --run_colmap --aabb_scale 16 --images /image/vibe I get the error below.

I am using an admin terminal, and have tried the conda prompt as well. I am in the data directory of the repo C:\stable-diffusion\instant-ngp\data. My goal is to create a directory named 'vibe' where I am going to put my photos.

instant-ngp-
                    |_data-
                              |_image-
                                           |_vibe

I'm so close after days of resolving an issue with Git and Windows ASLR!
What am I doing wrong, and what info can I give to help? I am on Windows 10x64.

C:\stable-diffusion\instant-ngp>python scripts/colmap2nerf.py --colmap_matcher exhaustive --run_colmap --aabb_scale 16 --images /image/vibe
running colmap with:
        db=colmap.db
        images="/image/vibe"
        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.camera_params "" --SiftExtraction.estimate_affine_shape=true --SiftExtraction.domain_size_pooling=true --ImageReader.single_camera 1 --database_path colmap.db --image_path "/image/vibe"
[option_manager.cc:811] Check failed: ExistsDir(*image_path)
ERROR: Invalid options provided.
FATAL: command failed
@Erosion139
Copy link

Stuck on this step as well, did you ever figure it out?

@KultidGames
Copy link

In order to solve this, you have to put the entire directory after --images, so instead of:

--images /image/vibe

It should be:

C:\stable-diffusion\instant-ngp\data_image_vibe

Ensure it's the full dir, including user and everything.

Hope this helps!

@SinaDavari
Copy link

@KultidGames Thanks! It works. How I was able to run it:
C:...\scripts\colmap2nerf.py --colmap_matcher exhaustive --run_colmap --images C:...\images --aabb_scale 16 --overwrite

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants