suppress errors in vision/fair/pytorch3d

Reviewed By: stroxler

Differential Revision: D39230408

fbshipit-source-id: dce7a461507ee7199f588341773096c06051b2dc
This commit is contained in:
Pyre Bot Jr 2022-09-03 09:22:49 -07:00 committed by Facebook GitHub Bot
parent 8a96770dc2
commit 70dc9c451a
2 changed files with 0 additions and 2 deletions

View File

@ -204,7 +204,6 @@ class MeshRasterizer(nn.Module):
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:

View File

@ -107,7 +107,6 @@ class PointsRasterizer(nn.Module):
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: