Skip to content

Commit

Permalink
upgrade pyre version in fbcode/vision - batch 2
Browse files Browse the repository at this point in the history
Differential Revision: D55650177

fbshipit-source-id: d5faa4d805bb40fe3dea70b0601e7a1382b09f3a
  • Loading branch information
generatedunixname89002005307016 authored and facebook-github-bot committed Apr 3, 2024
1 parent ccf2291 commit fe0b1ba
Show file tree
Hide file tree
Showing 11 changed files with 0 additions and 22 deletions.
1 change: 0 additions & 1 deletion pytorch3d/common/workaround/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 0 additions & 3 deletions pytorch3d/loss/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
7 changes: 0 additions & 7 deletions pytorch3d/ops/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,19 @@

# 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
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
Expand All @@ -35,10 +31,8 @@
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 (
Expand All @@ -49,7 +43,6 @@
wmean,
)

# pyre-fixme[21]: Could not find module `pytorch3d.ops.vert_align`.
from .vert_align import vert_align


Expand Down
2 changes: 0 additions & 2 deletions pytorch3d/ops/sample_points_from_meshes.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,8 @@

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

Expand Down
1 change: 0 additions & 1 deletion pytorch3d/renderer/mesh/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
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
Expand Down
1 change: 0 additions & 1 deletion pytorch3d/renderer/mesh/rasterizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
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


Expand Down
1 change: 0 additions & 1 deletion pytorch3d/renderer/points/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion pytorch3d/renderer/points/rasterize_points.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
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
Expand Down
1 change: 0 additions & 1 deletion pytorch3d/renderer/points/rasterizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
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


Expand Down
1 change: 0 additions & 1 deletion pytorch3d/structures/meshes.py
Original file line number Diff line number Diff line change
Expand Up @@ -853,7 +853,6 @@ def _compute_face_areas_normals(self, refresh: bool = False):
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 (
Expand Down
3 changes: 0 additions & 3 deletions pytorch3d/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,10 @@
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


Expand Down

0 comments on commit fe0b1ba

Please sign in to comment.