mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2025-12-19 05:40:34 +08:00
screen space docstrings fix
Summary: Fix some comments to match the recent change to transform_points_screen. Reviewed By: patricklabatut Differential Revision: D33243697 fbshipit-source-id: dc8d182667a9413bca2c2e3657f97b2f7a47c795
This commit is contained in:
committed by
Facebook GitHub Bot
parent
1152a93b72
commit
eb2bbf8433
@@ -637,7 +637,7 @@ class TestCamerasCommon(TestCaseMixin, unittest.TestCase):
|
||||
xyz_project_screen_naive = ndc_to_screen_points_naive(
|
||||
xyz_project_ndc, image_size
|
||||
)
|
||||
# we set atol to 1e-4, remember that screen points are in [0, W-1]x[0, H-1] space
|
||||
# we set atol to 1e-4, remember that screen points are in [0, W]x[0, H] space
|
||||
self.assertClose(xyz_project_screen, xyz_project_screen_naive, atol=1e-4)
|
||||
|
||||
def test_equiv_project_points(self, batch_size=50, num_points=100):
|
||||
|
||||
Reference in New Issue
Block a user