Open chrizz777 opened 4 months ago
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!!
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 scriptHope 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.
I would recommend you to check out the colmap documentation, where you can see how to export your model as txt: colmap output format
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?