Skip to content

Commit 70dc9c4

Browse files
Pyre Bot Jrfacebook-github-bot
Pyre Bot Jr
authored andcommitted
suppress errors in vision/fair/pytorch3d
Reviewed By: stroxler Differential Revision: D39230408 fbshipit-source-id: dce7a461507ee7199f588341773096c06051b2dc
1 parent 8a96770 commit 70dc9c4

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

pytorch3d/renderer/mesh/rasterizer.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,6 @@ def transform(self, meshes_world, **kwargs) -> torch.Tensor:
204204
to_ndc_transform = cameras.get_ndc_camera_transform(**kwargs)
205205
projection_transform = try_get_projection_transform(cameras, kwargs)
206206
if projection_transform is not None:
207-
# pyre-fixme[16]: Anonymous callable has no attribute `compose`.
208207
projection_transform = projection_transform.compose(to_ndc_transform)
209208
verts_ndc = projection_transform.transform_points(verts_view, eps=eps)
210209
else:

pytorch3d/renderer/points/rasterizer.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@ def transform(self, point_clouds, **kwargs) -> Pointclouds:
107107
to_ndc_transform = cameras.get_ndc_camera_transform(**kwargs)
108108
projection_transform = try_get_projection_transform(cameras, kwargs)
109109
if projection_transform is not None:
110-
# pyre-fixme[16]: Anonymous callable has no attribute `compose`.
111110
projection_transform = projection_transform.compose(to_ndc_transform)
112111
pts_ndc = projection_transform.transform_points(pts_view, eps=eps)
113112
else:

0 commit comments

Comments
 (0)