Commit 70dc9c45 authored by Pyre Bot Jr's avatar Pyre Bot Jr Committed by Facebook GitHub Bot
Browse files

suppress errors in `vision/fair/pytorch3d`

Reviewed By: stroxler

Differential Revision: D39230408

fbshipit-source-id: dce7a461507ee7199f588341773096c06051b2dc
parent 8a96770d
...@@ -204,7 +204,6 @@ class MeshRasterizer(nn.Module): ...@@ -204,7 +204,6 @@ class MeshRasterizer(nn.Module):
to_ndc_transform = cameras.get_ndc_camera_transform(**kwargs) to_ndc_transform = cameras.get_ndc_camera_transform(**kwargs)
projection_transform = try_get_projection_transform(cameras, kwargs) projection_transform = try_get_projection_transform(cameras, kwargs)
if projection_transform is not None: if projection_transform is not None:
# pyre-fixme[16]: Anonymous callable has no attribute `compose`.
projection_transform = projection_transform.compose(to_ndc_transform) projection_transform = projection_transform.compose(to_ndc_transform)
verts_ndc = projection_transform.transform_points(verts_view, eps=eps) verts_ndc = projection_transform.transform_points(verts_view, eps=eps)
else: else:
......
...@@ -107,7 +107,6 @@ class PointsRasterizer(nn.Module): ...@@ -107,7 +107,6 @@ class PointsRasterizer(nn.Module):
to_ndc_transform = cameras.get_ndc_camera_transform(**kwargs) to_ndc_transform = cameras.get_ndc_camera_transform(**kwargs)
projection_transform = try_get_projection_transform(cameras, kwargs) projection_transform = try_get_projection_transform(cameras, kwargs)
if projection_transform is not None: if projection_transform is not None:
# pyre-fixme[16]: Anonymous callable has no attribute `compose`.
projection_transform = projection_transform.compose(to_ndc_transform) projection_transform = projection_transform.compose(to_ndc_transform)
pts_ndc = projection_transform.transform_points(pts_view, eps=eps) pts_ndc = projection_transform.transform_points(pts_view, eps=eps)
else: else:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment