dcharatan / pixelsplat

[CVPR 2024 Oral, Best Paper Runner-Up] Code for "pixelSplat: 3D Gaussian Splats from Image Pairs for Scalable Generalizable 3D Reconstruction" by David Charatan, Sizhe Lester Li, Andrea Tagliasacchi, and Vincent Sitzmann
http://davidcharatan.com/pixelsplat/
MIT License
885 stars 61 forks source link

Evalutation code seems to not work for the subset re10k dataset #12

Closed AnandK27 closed 10 months ago

AnandK27 commented 10 months ago

I am running the evaluation code as mentioned in the readme section shown below python3 -m src.main +experiment=re10k mode=test dataset/view_sampler=evaluation checkpointing.load=checkpoints/re10k.ckpt

However, the code exits without any error after showing

Test step 000000.

and there are no images generated in the outputs folder.

Can you let me know what the issue might be? Thanks a lot!

dcharatan commented 10 months ago

I'm not able to reproduce this issue using the provided Real Estate 10k subset and the command you provided. The images should be written to outputs/test/re10k. I recommend using the VS Code debugger with the provided Test (Debug) configuration to figure out what's going on. It might be helpful to set breakpoints at src/main.py:41 (entry point) and src/model/model_wrapper.py:155 (test step).

Does the program exit for you? What kind of system are you using?

AnandK27 commented 10 months ago

Thanks, I figured out the issue had to provide proper permissions to save the images in the directory

yangzhou24 commented 10 months ago

Thanks, I figured out the issue had to provide proper permissions to save the images in the directory

I have also encountered this exact same problem, how should I solve it? Can you provide a detailed method?Thanks!

AnandK27 commented 9 months ago

I dont think my solution will help but I changed the volume's read and write permissions before allocating it to my docker container