mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2025-12-19 05:40:34 +08:00
Use sample_pdf from PyTorch3D in NeRF
Summary: Use PyTorch3D's new faster sample_pdf function instead of local Python implementation. Also clarify deps for the Python implementation. Reviewed By: gkioxari Differential Revision: D30512109 fbshipit-source-id: 84cfdc00313fada37a6b29837de96f6a4646434f
This commit is contained in:
committed by
Facebook GitHub Bot
parent
d2bbd0cdb7
commit
1251446383
@@ -12,6 +12,7 @@ from common_testing import TestCaseMixin
|
||||
from pytorch3d.renderer.implicit.sample_pdf import sample_pdf, sample_pdf_python
|
||||
|
||||
|
||||
@unittest.skipIf(torch.__version__[:4] == "1.5.", "searchsorted needs PyTorch 1.6")
|
||||
class TestSamplePDF(TestCaseMixin, unittest.TestCase):
|
||||
def setUp(self) -> None:
|
||||
super().setUp()
|
||||
|
||||
Reference in New Issue
Block a user