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

Does not recognize colmap dataset #6

Open
StephenYangjz opened this issue Feb 9, 2024 · 8 comments
Open

Does not recognize colmap dataset #6

StephenYangjz opened this issue Feb 9, 2024 · 8 comments

Comments

@StephenYangjz
Copy link

Hi, it seems like when I try to do the editing on a colmap dataset with a flag to load a model checkpoint, it doesnt recognize the arguments. How may I go around this? Thank you!
image

@ayaanzhaque
Copy link
Collaborator

remove the word colmap and it will work

@StephenYangjz
Copy link
Author

Hi @ayaanzhaque , I did try but then it's not able to recognize the dataset as a colmap dataset, and will look for transforms.json file, which I do not have locally.

@ayaanzhaque
Copy link
Collaborator

what command did you use to train the base GS?

@StephenYangjz
Copy link
Author

I used sth like ns-train splatfacto colmap --data path/to/data @ayaanzhaque

@ayaanzhaque
Copy link
Collaborator

oh maybe this is because we built our code before the official splatfacto release. @cvachha any ideas here?

@cvachha
Copy link
Owner

cvachha commented Feb 13, 2024

Hi @StephenYangjz, can you try re-training the dataset with the splatfacto command without writing colmap: ns-train splatfacto --data path/to/data
Then run igs2gs also without writing colmap. I assume you are trying the instruct-nerf2nerf bear dataset, and I am able to get it to run with igs2gs without writing colmap:
ns-train igs2gs --data path/to/data --load-dir path\to\nerfstudio_models --pipeline.prompt "make the bear a polar bear"
Also the load-dir should be to the nerfstudio_models folder.

Let me know if this works!

@StephenYangjz
Copy link
Author

Hi @cvachha thanks for the reply. I can certainly run it that way but then what's the point of me running colmap? I did so to get the better gaussian initilizations via their pointcloud, so it will not make sense if I dont use those info...

@cvachha
Copy link
Owner

cvachha commented Feb 16, 2024

Hi, I think that the original bear dataset was originally captured with polycam instead of colmap, so I believe by default splatfacto will run from a random point clound initialization.
You could try copying over the images of the dataset into a new folder and process that with ns-process-data which should be running colmap, and then run splatfacto, which I believe would use the colmap initialization. There is some info regarding point cloud initialization here

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

3 participants