mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2025-08-02 03:42:50 +08:00
points2vols test fix
Summary: Fix tests which depended on output tensors being identical to input ones, which now fail in main PyTorch branch because of some change in autograd. The functions still work in-place. Reviewed By: patricklabatut Differential Revision: D34375817 fbshipit-source-id: 295ae195f75eab6c7abab412c997470d8de8add1
This commit is contained in:
parent
db1f7c4506
commit
feb5d36394
@ -567,8 +567,8 @@ class TestRawFunction(TestCaseMixin, unittest.TestCase):
|
||||
splat,
|
||||
)
|
||||
|
||||
self.assertIs(volume_densities, volume_densities_)
|
||||
self.assertIs(volume_features, volume_features_)
|
||||
self.assertTrue(volume_densities_.is_set_to(volume_densities))
|
||||
self.assertTrue(volume_features_.is_set_to(volume_features))
|
||||
|
||||
if align_corners:
|
||||
volume_densities_expected[0, 0, 2, 3, 4] = point_weight
|
||||
|
Loading…
x
Reference in New Issue
Block a user