diff --git a/pytorch3d/common/workaround/__init__.py b/pytorch3d/common/workaround/__init__.py index 103eb25b..92ecd047 100644 --- a/pytorch3d/common/workaround/__init__.py +++ b/pytorch3d/common/workaround/__init__.py @@ -6,6 +6,5 @@ # pyre-unsafe -# pyre-fixme[21]: Could not find module `pytorch3d.common.workaround.symeig3x3`. from .symeig3x3 import symeig3x3 from .utils import _safe_det_3x3 diff --git a/pytorch3d/loss/__init__.py b/pytorch3d/loss/__init__.py index 63e3faa4..94b012c4 100644 --- a/pytorch3d/loss/__init__.py +++ b/pytorch3d/loss/__init__.py @@ -9,13 +9,10 @@ from .chamfer import chamfer_distance -# pyre-fixme[21]: Could not find module `pytorch3d.loss.mesh_edge_loss`. from .mesh_edge_loss import mesh_edge_loss -# pyre-fixme[21]: Could not find module `pytorch3d.loss.mesh_laplacian_smoothing`. from .mesh_laplacian_smoothing import mesh_laplacian_smoothing -# pyre-fixme[21]: Could not find module `pytorch3d.loss.mesh_normal_consistency`. from .mesh_normal_consistency import mesh_normal_consistency from .point_mesh_distance import point_mesh_edge_distance, point_mesh_face_distance diff --git a/pytorch3d/ops/__init__.py b/pytorch3d/ops/__init__.py index da671e86..95f5c65a 100644 --- a/pytorch3d/ops/__init__.py +++ b/pytorch3d/ops/__init__.py @@ -6,11 +6,9 @@ # pyre-unsafe -# pyre-fixme[21]: Could not find module `pytorch3d.ops.ball_query`. from .ball_query import ball_query from .cameras_alignment import corresponding_cameras_alignment -# pyre-fixme[21]: Could not find module `pytorch3d.ops.cubify`. from .cubify import cubify from .graph_conv import GraphConv from .interp_face_attrs import interpolate_face_attributes @@ -18,11 +16,9 @@ from .iou_box3d import box3d_overlap from .knn import knn_gather, knn_points from .laplacian_matrices import cot_laplacian, laplacian, norm_laplacian -# pyre-fixme[21]: Could not find module `pytorch3d.ops.mesh_face_areas_normals`. from .mesh_face_areas_normals import mesh_face_areas_normals from .mesh_filtering import taubin_smoothing -# pyre-fixme[21]: Could not find module `pytorch3d.ops.packed_to_padded`. from .packed_to_padded import packed_to_padded, padded_to_packed from .perspective_n_points import efficient_pnp from .points_alignment import corresponding_points_alignment, iterative_closest_point @@ -35,10 +31,8 @@ from .points_to_volumes import ( add_points_features_to_volume_densities_features, ) -# pyre-fixme[21]: Could not find module `pytorch3d.ops.sample_farthest_points`. from .sample_farthest_points import sample_farthest_points -# pyre-fixme[21]: Could not find module `pytorch3d.ops.sample_points_from_meshes`. from .sample_points_from_meshes import sample_points_from_meshes from .subdivide_meshes import SubdivideMeshes from .utils import ( @@ -49,7 +43,6 @@ from .utils import ( wmean, ) -# pyre-fixme[21]: Could not find module `pytorch3d.ops.vert_align`. from .vert_align import vert_align diff --git a/pytorch3d/ops/sample_points_from_meshes.py b/pytorch3d/ops/sample_points_from_meshes.py index 8c7353ab..125fe683 100644 --- a/pytorch3d/ops/sample_points_from_meshes.py +++ b/pytorch3d/ops/sample_points_from_meshes.py @@ -16,10 +16,8 @@ from typing import Tuple, Union import torch -# pyre-fixme[21]: Could not find module `pytorch3d.ops.mesh_face_areas_normals`. from pytorch3d.ops.mesh_face_areas_normals import mesh_face_areas_normals -# pyre-fixme[21]: Could not find module `pytorch3d.ops.packed_to_padded`. from pytorch3d.ops.packed_to_padded import packed_to_padded from pytorch3d.renderer.mesh.rasterizer import Fragments as MeshFragments diff --git a/pytorch3d/renderer/mesh/__init__.py b/pytorch3d/renderer/mesh/__init__.py index f0ff1689..bf8ced06 100644 --- a/pytorch3d/renderer/mesh/__init__.py +++ b/pytorch3d/renderer/mesh/__init__.py @@ -13,7 +13,6 @@ from .clip import ( convert_clipped_rasterization_to_original_faces, ) -# pyre-fixme[21]: Could not find module `pytorch3d.renderer.mesh.rasterize_meshes`. from .rasterize_meshes import rasterize_meshes from .rasterizer import MeshRasterizer, RasterizationSettings from .renderer import MeshRenderer, MeshRendererWithFragments diff --git a/pytorch3d/renderer/mesh/rasterizer.py b/pytorch3d/renderer/mesh/rasterizer.py index 55ff563f..0e5c9f4d 100644 --- a/pytorch3d/renderer/mesh/rasterizer.py +++ b/pytorch3d/renderer/mesh/rasterizer.py @@ -13,7 +13,6 @@ import torch import torch.nn as nn from pytorch3d.renderer.cameras import try_get_projection_transform -# pyre-fixme[21]: Could not find module `pytorch3d.renderer.mesh.rasterize_meshes`. from .rasterize_meshes import rasterize_meshes diff --git a/pytorch3d/renderer/points/__init__.py b/pytorch3d/renderer/points/__init__.py index c591ddcf..2abb97ce 100644 --- a/pytorch3d/renderer/points/__init__.py +++ b/pytorch3d/renderer/points/__init__.py @@ -9,7 +9,6 @@ from .compositor import AlphaCompositor, NormWeightedCompositor from .pulsar.unified import PulsarPointsRenderer -# pyre-fixme[21]: Could not find module `pytorch3d.renderer.points.rasterize_points`. from .rasterize_points import rasterize_points from .rasterizer import PointsRasterizationSettings, PointsRasterizer from .renderer import PointsRenderer diff --git a/pytorch3d/renderer/points/rasterize_points.py b/pytorch3d/renderer/points/rasterize_points.py index 15ac7707..14b08d67 100644 --- a/pytorch3d/renderer/points/rasterize_points.py +++ b/pytorch3d/renderer/points/rasterize_points.py @@ -12,7 +12,6 @@ import numpy as np import torch from pytorch3d import _C -# pyre-fixme[21]: Could not find module `pytorch3d.renderer.mesh.rasterize_meshes`. from pytorch3d.renderer.mesh.rasterize_meshes import pix_to_non_square_ndc from ..utils import parse_image_size diff --git a/pytorch3d/renderer/points/rasterizer.py b/pytorch3d/renderer/points/rasterizer.py index 8a20ed40..8c141b90 100644 --- a/pytorch3d/renderer/points/rasterizer.py +++ b/pytorch3d/renderer/points/rasterizer.py @@ -15,7 +15,6 @@ import torch.nn as nn from pytorch3d.renderer.cameras import try_get_projection_transform from pytorch3d.structures import Pointclouds -# pyre-fixme[21]: Could not find module `pytorch3d.renderer.points.rasterize_points`. from .rasterize_points import rasterize_points diff --git a/pytorch3d/structures/meshes.py b/pytorch3d/structures/meshes.py index 7a10bf32..53f3f454 100644 --- a/pytorch3d/structures/meshes.py +++ b/pytorch3d/structures/meshes.py @@ -853,7 +853,6 @@ class Meshes: refresh: Set to True to force recomputation of face areas. Default: False. """ - # pyre-fixme[21]: Could not find module `pytorch3d.ops.mesh_face_areas_normals`. from ..ops.mesh_face_areas_normals import mesh_face_areas_normals if not ( diff --git a/pytorch3d/utils/__init__.py b/pytorch3d/utils/__init__.py index b9169bd7..504dace6 100644 --- a/pytorch3d/utils/__init__.py +++ b/pytorch3d/utils/__init__.py @@ -13,13 +13,10 @@ from .camera_conversions import ( pulsar_from_opencv_projection, ) -# pyre-fixme[21]: Could not find module `pytorch3d.utils.checkerboard`. from .checkerboard import checkerboard -# pyre-fixme[21]: Could not find module `pytorch3d.utils.ico_sphere`. from .ico_sphere import ico_sphere -# pyre-fixme[21]: Could not find module `pytorch3d.utils.torus`. from .torus import torus