mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2025-12-20 14:20:38 +08:00
test tolerance loosenings
Summary: Increase some test tolerances so that they pass in more situations, and re-enable two tests. Reviewed By: nikhilaravi Differential Revision: D31379717 fbshipit-source-id: 06a25470cc7b6d71cd639d9fd7df500d4b84c079
This commit is contained in:
committed by
Facebook GitHub Bot
parent
8fa438cbda
commit
b26f4bc33a
@@ -322,7 +322,7 @@ class TestRasterizeRectangleImagesMeshes(TestCaseMixin, unittest.TestCase):
|
||||
|
||||
# Finally check the gradients of the input vertices for
|
||||
# the square and non square case
|
||||
self.assertClose(verts_square.grad, grad_tensor.grad, rtol=3e-4)
|
||||
self.assertClose(verts_square.grad, grad_tensor.grad, rtol=3e-4, atol=5e-3)
|
||||
|
||||
def test_gpu(self):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user