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

Fix dimension mismatch between downscaled cameras and images in colmap. #3232

Merged

Conversation

jisung3d
Copy link
Contributor

Issue: When running splatfacto with my custom dataset of images with varying resolutions, I encountered a dimension mismatch error between the downscaled cameras and images. This issue arises because the _downscale_images function in colmap_dataparser.py (L484) uses a fixed downscaling size for every image.

Proposed Solution: Modify _downscale_images to compute the downscaling size individually for each image to ensure compatibility with images of different resolutions.

@jb-ye jb-ye force-pushed the jisung3d/fix-downscaling-colmap branch from 7e0b6b9 to 3fec6ad Compare June 16, 2024 19:40
@jb-ye jb-ye enabled auto-merge (squash) June 16, 2024 19:40
@jb-ye jb-ye disabled auto-merge June 28, 2024 19:32
@jb-ye jb-ye force-pushed the jisung3d/fix-downscaling-colmap branch from 3fec6ad to e070a05 Compare June 29, 2024 04:36
@jb-ye jb-ye enabled auto-merge (squash) June 29, 2024 04:36
@jb-ye jb-ye merged commit 90cc4f1 into nerfstudio-project:main Jun 29, 2024
2 checks passed
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

Successfully merging this pull request may close these issues.

None yet

2 participants