mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2025-08-02 03:42:50 +08:00
suppress errors in vision/fair/pytorch3d
Reviewed By: stroxler Differential Revision: D39230408 fbshipit-source-id: dce7a461507ee7199f588341773096c06051b2dc
This commit is contained in:
parent
8a96770dc2
commit
70dc9c451a
@ -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:
|
||||
|
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user