Comments (7)
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.
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.
The same error.
I wonder what type data do we need to run demo.sh , images in JPG,PNG format is enough?
from llff.
@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.
@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.
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.
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
.
from llff.
Related Issues (20)
- Feature request: Update to Tensorflow 2.x
- Spheric Inward Facing Views HOT 1
- ERROR: the correct camera poses for current points cannot be accessed HOT 6
- won't work on nvidia jetson AGX
- FileNotFoundError on running imgs2poses.py HOT 2
- How to get depth boundaries of poses_bounds.npy? HOT 3
- imgs2poses not working HOT 1
- Error when trying to generate poses with COLMAP HOT 3
- May I ask you to explain about view matrix? I think that it is world to camera coordinate, but it is marked by c2w.
- UnicodeDecodeError HOT 1
- Tensorflow 2.0 cannot support tf.contrib.resampler HOT 1
- image_4 and image_8 floder is empty ! HOT 1
- How to get poses and camera parameters HOT 1
- How to obtain bounds info from custom dataset to create poses_bounds.npy? HOT 4
- Failed to generate mpi?
- IndexError: index -1 is out of bounds for axis 0 with size 0
- how to slove that Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
- about imgs2poses.py HOT 1
- NVIDIA Docker to NVIDIA Container Toolkit HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from llff.