mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-21 15:15:43 +08:00
Refactor ray samples
This commit is contained in:
1 parent
526db1eca6
commit
8a6b7c3e46
4 files changed
+81
-76
No files matched your search
@@ -47,7 +47,7 @@ def test_pdf_sampler():
|
||||
|
||||
# Just check that it doesn't crash. Need to add some actual tests.
|
||||
pdf_sampler = PDFSampler(num_samples)
|
||||
pdf_sampler(coarse_ray_samples, weights, num_samples)
|
||||
pdf_sampler(ray_bundle, coarse_ray_samples, weights, num_samples)
|
||||
|
||||
# TODO Tancik: Add more precise tests
|
||||
|
||||
|
||||
Reference in new issue
Block a user