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

Datasets related problem #152

Open
chrizz777 opened this issue Feb 25, 2024 · 3 comments
Open

Datasets related problem #152

chrizz777 opened this issue Feb 25, 2024 · 3 comments

Comments

@chrizz777
Copy link

What you've done is amazing. Thank you so much for sharing.

I encountered the following problem when running the script train_raw.sh. Where did this transforms.json file come from? Was there a problem with my colmap operation?

image

@sudarshan-iyengar
Copy link

sudarshan-iyengar commented Feb 27, 2024

I faced a similar issue as you with no transforms.json file. I had to do a sort of strange workaround, so I'd really appreciate it if someone could give a more straightforward way of doing it, but this is what I did:
1- downloaded the colmap2nerf.py file from instant-ngp
2- saved my colmap outputs (cameras.txt, points3D.txt, and images.txt) to a folder called colmap_text
3- ran the colmap2nerf.py as follows: python colmap2nerf.py --colmap_matcher exhaustive --text path/to/colmap_text --images path/to/images --aabb_scale 16 --overwrite
4-moved the transforms.json file that was produced by step 3 into the directory on the same level as your images directory
5- run the training script
Alternatively:
Please check to make sure that sparse/0 folder contains the necessary .bin files and isn't empty. If it is empty, there was probably an error with colmap.
Hope this helps!!

@c1earl0ve
Copy link

I faced a similar issue as you with no transforms.json file. I had to do a sort of strange workaround, so I'd really appreciate it if someone could give a more straightforward way of doing it, but this is what I did: 1- downloaded the colmap2nerf.py file from instant-ngp 2- saved my colmap outputs (cameras.txt, points3D.txt, and images.txt) to a folder called colmap_text 3- ran the colmap2nerf.py as follows: python colmap2nerf.py --colmap_matcher exhaustive --text path/to/colmap_text --images path/to/images --aabb_scale 16 --overwrite 4-moved the transforms.json file that was produced by step 3 into the directory on the same level as your images directory 5- run the training script

Hope this helps!!
Hello, I have encountered the same problem, but my COLMAP outputs are in ”bin“ format instead of “txt” format. Is there a solution? Thank you very much.

@sudarshan-iyengar
Copy link

I would recommend you to check out the colmap documentation, where you can see how to export your model as txt: colmap
output format

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