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

Image Height and Width Flipped for D-NeRF scenes #44

Open
azzarelli opened this issue Feb 14, 2024 · 0 comments
Open

Image Height and Width Flipped for D-NeRF scenes #44

azzarelli opened this issue Feb 14, 2024 · 0 comments

Comments

@azzarelli
Copy link

I've been messing about with 360 in-the-wild datasets using D-NeRF data format and I believe I found a minor bug with setting the image height and width during data loading.

From plenoxels.datasets.data_loading.py

def _load_nerf_image_pose(...):
    ...
    if out_h is None:
        out_h = int(img.size[0] / downsample) # Should be img.size[1]
    if out_w is None:
        out_w = int(img.size[1] / downsample) # Should be img.size[0]

This doesn't affect square images (i.e. the original D-NeRF dataset) or K-Planes paper results, though for anyone looking to use their own datasets might be a useful note!

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

No branches or pull requests

1 participant