Git Product home page Git Product logo

Comments (7)

asad-ak avatar asad-ak commented on May 28, 2024

poses_bounds = np.load(os.path.join(self.root_dir, 'poses_bounds.npy')) # (N_images, 17) self.image_paths = sorted(glob.glob(os.path.join(self.root_dir, 'images/*'))) # load full resolution image then resize if self.split in ['train', 'val']: assert len(poses_bounds) == len(self.image_paths), \ 'Mismatch between number of images and number of poses! Please rerun COLMAP!'

from llff.

GabrielePaolini avatar GabrielePaolini commented on May 28, 2024

I have the same problem.
The fact is that there are a lot of steps to install the various requirements (vcpkg, colmap, etc) and each of them has shown an error.
For example, I wasn't able to build colmap from source on my Windows machine, so I just downloaded the pre-built binaries and set an environment variable to the colmap.bat/exe path (I guess it should work anyway).
By the way, I have something like 100 images spherically captured (so there should be little difference between two adjacent pics), but running the commands suggested in #36 (comment) gives me 0 good pairing images, so that imgs2poses.py generates only 2 poses.

Anyone figured out a possible solution?

from llff.

LianShuaiLong avatar LianShuaiLong commented on May 28, 2024

The same error.
I wonder what type data do we need to run demo.sh , images in JPG,PNG format is enough?

from llff.

shreyask3107 avatar shreyask3107 commented on May 28, 2024

@LianShuaiLong I do not think the format is a problem. I tested it with fern dataset which has images in JPG and it worked fine.

I think it does not work when the dataset is not compatible.
I am also looking for a workaround. If anyone figures out a solution, do let me know.

Thanks!

from llff.

sathishkumark27 avatar sathishkumark27 commented on May 28, 2024

@shreyk25 I remember sampling different number of images from a video (captured at 30FPS) for ex: 1 image/sec, 5 images/sec 8 images/sec, and ran the images2poses.py until I get one pose per image. Its kind of not a good way of doing it but it solved my purpose.

from llff.

shreyask3107 avatar shreyask3107 commented on May 28, 2024

Hi, I am testing it on a 360 degree scene and have captured 200 images and still it doesn't seem to work :(

from llff.

Das-May avatar Das-May commented on May 28, 2024

Hi, this blog provide a solution.

At end of the blog, he said, it may be caused by function incompatibility. The solution is: copy your data from folder images to folder images_8.

image

from llff.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.