nerf icon indicating copy to clipboard operation
nerf copied to clipboard

issues with generating poses for own dataset

Open dilaratank opened this issue 4 years ago • 1 comments

Hi!

I am a student Artificial Intelligence and I am working on a project using NeRF with a group of other students. We are in possession of a dataset that is made by a company we do the project for. The data consists of images such as the one that is attached (but the whole object is visible, right now it is copressed). Webp net-compress-image

However, we cannot generate poses. The output of the LLFF script is:

Features extracted
Features matched
Sparse map created
Finished running COLMAP, see /content/drive/My Drive/nerf/kan_new/colmap_output.txt for logs
Post-colmap
Traceback (most recent call last):
  File "imgs2poses.py", line 18, in <module>
    gen_poses(args.scenedir, args.match_type)
  File "/content/LLFF/llff/poses/pose_utils.py", line 274, in gen_poses
    poses, pts3d, perm = load_colmap_data(basedir)
  File "/content/LLFF/llff/poses/pose_utils.py", line 14, in load_colmap_data
    camdata = read_model.read_cameras_binary(camerasfile)
  File "/content/LLFF/llff/poses/colmap_read_model.py", line 115, in read_cameras_binary
    with open(path_to_model_file, "rb") as fid:
FileNotFoundError: [Errno 2] No such file or directory: '/content/drive/My Drive/nerf/kan_new/sparse/0/cameras.bin'

And sometimes we do not have this error but it only says 'no poses could be extracted'.

Here also the output of colmap: colmap_output(1).txt

Is there something wrong with the pictures? How can we fix this?

dilaratank avatar Jun 10 '20 13:06 dilaratank

For me, rerunning the the steps from scratch helped to solve this. Another attempt you can make is to use COLMAP gui that gives the similar output folders.

theCodes7 avatar Sep 26 '20 03:09 theCodes7