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
839 stars 57 forks source link

sample_discrete_distribution #91

Closed Yzichen closed 1 week ago

Yzichen commented 2 weeks ago

index, densities = sample_discrete_distribution(pdf, num_samples)

Why do you sample the predicted pdfs, and randomly at that?

dcharatan commented 1 week ago

This is explained in Section 4.2 of the paper. Happy to answer more specific follow-up questions!