Skip to content

Commit

Permalink
suppress errors in vision/fair/pytorch3d
Browse files Browse the repository at this point in the history
Reviewed By: stroxler

Differential Revision: D39230408

fbshipit-source-id: dce7a461507ee7199f588341773096c06051b2dc
  • Loading branch information
Pyre Bot Jr authored and facebook-github-bot committed Sep 3, 2022
1 parent 8a96770 commit 70dc9c4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion pytorch3d/renderer/mesh/rasterizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,6 @@ def transform(self, meshes_world, **kwargs) -> torch.Tensor:
to_ndc_transform = cameras.get_ndc_camera_transform(**kwargs)
projection_transform = try_get_projection_transform(cameras, kwargs)
if projection_transform is not None:
# pyre-fixme[16]: Anonymous callable has no attribute `compose`.
projection_transform = projection_transform.compose(to_ndc_transform)
verts_ndc = projection_transform.transform_points(verts_view, eps=eps)
else:
Expand Down
1 change: 0 additions & 1 deletion pytorch3d/renderer/points/rasterizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ def transform(self, point_clouds, **kwargs) -> Pointclouds:
to_ndc_transform = cameras.get_ndc_camera_transform(**kwargs)
projection_transform = try_get_projection_transform(cameras, kwargs)
if projection_transform is not None:
# pyre-fixme[16]: Anonymous callable has no attribute `compose`.
projection_transform = projection_transform.compose(to_ndc_transform)
pts_ndc = projection_transform.transform_points(pts_view, eps=eps)
else:
Expand Down

0 comments on commit 70dc9c4

Please sign in to comment.