PyTorch3D is FAIR's library of reusable components for deep learning with 3D data
This report summarizes scanner evidence for facebookresearch/pytorch3d, a Python project with 9,981 GitHub stars. SynthScan examined 141,492 lines of code across 632 source files, recording 1537 pattern matches distributed across 21 syntactic categories. The legacy adjusted pattern signal is 12.7 (Moderate pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 1143 finding(s).
Are imports declared and package/API names verified? 305 finding(s).
Are wrappers, guards, and repeated structures necessary? 839 finding(s).
Which changes need focused human review? 1537 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 1537 distinct pattern matches across 21 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packaging/build_conda.py | 89 | def setup_conda_pytorch_constraint() -> List[str]: | CODE |
| LOW | packaging/build_conda.py | 107 | def setup_conda_cudatoolkit_constraint() -> None: | CODE |
| LOW | projects/nerf/nerf/raysampler.py | 194 | def _print_precaching_progress(self, i, total, bar_len=30): | CODE |
| LOW | projects/nerf/nerf/implicit_function.py | 137 | def _get_densities_and_colors( | CODE |
| LOW | projects/nerf/nerf/eval_video_utils.py | 15 | def generate_eval_video_cameras( | CODE |
| LOW | projects/nerf/tests/test_raysampler.py | 74 | def test_probabilistic_raysampler(self, batch_size=1, n_pts_per_ray=60): | CODE |
| LOW | projects/implicitron_trainer/experiment.py | 229 | def _setup_envvars_for_cluster() -> bool: | CODE |
| LOW | …ojects/implicitron_trainer/visualize_reconstruction.py | 145 | def _get_config_from_experiment_directory(experiment_directory) -> DictConfig: | CODE |
| LOW | projects/implicitron_trainer/impl/training_loop.py | 307 | def _training_or_validation_epoch( | CODE |
| LOW⚡ | …ts/implicitron_trainer/tests/test_optimizer_factory.py | 58 | def test_default_param_group_assignment(self): | CODE |
| LOW⚡ | …ts/implicitron_trainer/tests/test_optimizer_factory.py | 65 | def test_member_overrides_default_param_group_assignment(self): | CODE |
| LOW⚡ | …ts/implicitron_trainer/tests/test_optimizer_factory.py | 73 | def test_self_overrides_member_param_group_assignment(self): | CODE |
| LOW⚡ | …ts/implicitron_trainer/tests/test_optimizer_factory.py | 82 | def test_param_overrides_self_param_group_assignment(self): | CODE |
| LOW | …ts/implicitron_trainer/tests/test_optimizer_factory.py | 94 | def test_no_param_groups_defined(self): | CODE |
| LOW | …ts/implicitron_trainer/tests/test_optimizer_factory.py | 110 | def test_tree_param_groups_defined(self): | CODE |
| LOW | projects/implicitron_trainer/tests/utils.py | 36 | def interactive_testing_requested() -> bool: | CODE |
| LOW | tests/test_marching_cubes.py | 712 | def test_cube_no_duplicate_verts(self): | CODE |
| LOW | tests/test_marching_cubes.py | 783 | def test_degenerate_triangle_keeps_later_faces(self): | CODE |
| LOW | tests/test_marching_cubes.py | 929 | def test_single_large_ellipsoid(self): | CODE |
| LOW | tests/test_marching_cubes.py | 995 | def test_double_ellipsoid_surface_area(self): | CODE |
| LOW | tests/test_r2n2.py | 194 | def test_catch_render_arg_errors(self): | CODE |
| LOW | tests/test_cameras_alignment.py | 31 | def test_corresponding_cameras_alignment(self): | CODE |
| LOW | tests/test_cameras_alignment.py | 78 | def _corresponding_cameras_alignment_test_case( | CODE |
| LOW | tests/test_cameras_alignment.py | 165 | def corresponding_cameras_alignment( | CODE |
| LOW | tests/test_cameras_alignment.py | 176 | def compute_corresponding_cameras_alignment(): | CODE |
| LOW | tests/test_se3.py | 154 | def test_compare_with_precomputed(self): | CODE |
| LOW | tests/test_face_areas_normals.py | 46 | def face_areas_normals_python(verts, faces): | CODE |
| LOW | tests/test_face_areas_normals.py | 62 | def _test_face_areas_normals_helper(self, device, dtype=torch.float32): | CODE |
| LOW | tests/test_face_areas_normals.py | 98 | def test_face_areas_normals_cpu(self): | CODE |
| LOW | tests/test_face_areas_normals.py | 101 | def test_face_areas_normals_cuda(self): | CODE |
| LOW | tests/test_face_areas_normals.py | 113 | def face_areas_normals_with_init( | CODE |
| LOW | tests/test_face_areas_normals.py | 130 | def face_areas_normals_with_init_torch( | CODE |
| LOW | tests/test_iou_box3d.py | 1259 | def plane_edge_point_of_intersection(plane, n, p0, p1, eps: float = DOT_EPS): | CODE |
| LOW | tests/test_rasterizer.py | 48 | def convert_image_to_binary_mask(filename): | CODE |
| LOW | tests/test_rasterizer.py | 60 | def test_simple_sphere_fisheye(self): | CODE |
| LOW | tests/test_rasterizer.py | 64 | def test_simple_sphere_opengl(self): | CODE |
| LOW | tests/test_rasterizer.py | 168 | def _simple_sphere_fisheye_against_perspective(self, rasterizer_type): | CODE |
| LOW | tests/test_rasterizer.py | 366 | def test_check_raster_settings(self): | CODE |
| LOW | tests/test_rasterizer.py | 377 | def test_convert_meshes_to_gl_ndc_square_img(self): | CODE |
| LOW | tests/test_rasterizer.py | 397 | def test_parse_and_verify_image_size(self): | CODE |
| LOW | tests/test_rasterizer.py | 513 | def test_simple_sphere_fisheye_against_perspective(self): | CODE |
| LOW | tests/test_subdivide_meshes.py | 73 | def test_simple_subdivide_with_init(self): | CODE |
| LOW | tests/test_subdivide_meshes.py | 76 | def test_heterogeneous_meshes(self): | CODE |
| LOW | tests/test_subdivide_meshes.py | 230 | def subdivide_meshes_with_init(num_meshes: int = 10, same_topo: bool = False): | CODE |
| LOW | tests/test_sample_points_from_meshes.py | 382 | def test_texture_sampling_cow(self): | CODE |
| LOW | tests/test_symeig3x3.py | 89 | def test_mixed_magnitudes_gpu(self): | CODE |
| LOW | tests/test_symeig3x3.py | 92 | def test_mixed_magnitudes_cpu(self): | CODE |
| LOW⚡ | tests/test_symeig3x3.py | 114 | def test_eigenvectors_are_orthonormal_gpu(self): | CODE |
| LOW⚡ | tests/test_symeig3x3.py | 119 | def test_eigenvectors_are_orthonormal_cpu(self): | CODE |
| LOW⚡ | tests/test_symeig3x3.py | 124 | def _test_eigenvectors_are_orthonormal(self, test_input): | CODE |
| LOW | tests/test_symeig3x3.py | 137 | def test_is_not_nan_or_inf_gpu(self): | CODE |
| LOW | tests/test_symeig3x3.py | 142 | def test_is_not_nan_or_inf_cpu(self): | CODE |
| LOW | tests/test_symeig3x3.py | 153 | def test_degenerate_inputs_gpu(self): | CODE |
| LOW | tests/test_symeig3x3.py | 156 | def test_degenerate_inputs_cpu(self): | CODE |
| LOW | tests/test_symeig3x3.py | 210 | def _test_eigenvalues_and_eigenvectors( | CODE |
| LOW⚡ | tests/test_symeig3x3.py | 234 | def test_degenerate_eigenvalues_gpu(self): | CODE |
| LOW⚡ | tests/test_symeig3x3.py | 237 | def test_degenerate_eigenvalues_cpu(self): | CODE |
| LOW⚡ | tests/test_symeig3x3.py | 240 | def test_degenerate_eigenvalues_scaled_gpu(self): | CODE |
| LOW⚡ | tests/test_symeig3x3.py | 244 | def test_degenerate_eigenvalues_scaled_cpu(self): | CODE |
| LOW⚡ | tests/test_symeig3x3.py | 248 | def _test_degenerate_eigenvalues(self, device, scale: float = 1.0): | CODE |
| 659 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | projects/implicitron_trainer/experiment.py | 92 | CODE | |
| LOW | tests/test_vis.py | 15 | CODE | |
| LOW | tests/test_vis.py | 15 | CODE | |
| LOW | tests/test_vis.py | 15 | CODE | |
| LOW | tests/test_sample_farthest_points.py | 212 | CODE | |
| LOW | tests/test_opengl_utils.py | 374 | CODE | |
| LOW | tests/implicitron/test_build.py | 31 | CODE | |
| LOW | tests/implicitron/test_evaluation.py | 22 | CODE | |
| LOW | tests/implicitron/test_evaluation.py | 23 | CODE | |
| LOW | tests/implicitron/test_co3d_sql.py | 12 | CODE | |
| LOW | tests/implicitron/test_co3d_sql.py | 12 | CODE | |
| LOW | tests/implicitron/test_co3d_sql.py | 17 | CODE | |
| LOW | tests/implicitron/test_co3d_sql.py | 18 | CODE | |
| LOW | docs/conf.py | 62 | CODE | |
| LOW | docs/tutorials/utils/__init__.py | 7 | CODE | |
| LOW | docs/tutorials/utils/__init__.py | 7 | CODE | |
| LOW | docs/tutorials/utils/__init__.py | 7 | CODE | |
| LOW | docs/tutorials/utils/__init__.py | 8 | CODE | |
| LOW | docs/tutorials/utils/camera_visualization.py | 8 | CODE | |
| LOW | pytorch3d/renderer/__init__.py | 9 | CODE | |
| LOW | pytorch3d/renderer/__init__.py | 11 | CODE | |
| LOW | pytorch3d/renderer/__init__.py | 11 | CODE | |
| LOW | pytorch3d/renderer/__init__.py | 11 | CODE | |
| LOW | pytorch3d/renderer/__init__.py | 11 | CODE | |
| LOW | pytorch3d/renderer/__init__.py | 17 | CODE | |
| LOW | pytorch3d/renderer/__init__.py | 17 | CODE | |
| LOW | pytorch3d/renderer/__init__.py | 18 | CODE | |
| LOW | pytorch3d/renderer/__init__.py | 18 | CODE | |
| LOW | pytorch3d/renderer/__init__.py | 18 | CODE | |
| LOW | pytorch3d/renderer/__init__.py | 18 | CODE | |
| LOW | pytorch3d/renderer/__init__.py | 18 | CODE | |
| LOW | pytorch3d/renderer/__init__.py | 18 | CODE | |
| LOW | pytorch3d/renderer/__init__.py | 18 | CODE | |
| LOW | pytorch3d/renderer/__init__.py | 18 | CODE | |
| LOW | pytorch3d/renderer/__init__.py | 18 | CODE | |
| LOW | pytorch3d/renderer/__init__.py | 18 | CODE | |
| LOW | pytorch3d/renderer/__init__.py | 18 | CODE | |
| LOW | pytorch3d/renderer/__init__.py | 18 | CODE | |
| LOW | pytorch3d/renderer/__init__.py | 18 | CODE | |
| LOW | pytorch3d/renderer/__init__.py | 33 | CODE | |
| LOW | pytorch3d/renderer/__init__.py | 33 | CODE | |
| LOW | pytorch3d/renderer/__init__.py | 33 | CODE | |
| LOW | pytorch3d/renderer/__init__.py | 33 | CODE | |
| LOW | pytorch3d/renderer/__init__.py | 33 | CODE | |
| LOW | pytorch3d/renderer/__init__.py | 33 | CODE | |
| LOW | pytorch3d/renderer/__init__.py | 33 | CODE | |
| LOW | pytorch3d/renderer/__init__.py | 33 | CODE | |
| LOW | pytorch3d/renderer/__init__.py | 33 | CODE | |
| LOW | pytorch3d/renderer/__init__.py | 33 | CODE | |
| LOW | pytorch3d/renderer/__init__.py | 33 | CODE | |
| LOW | pytorch3d/renderer/__init__.py | 33 | CODE | |
| LOW | pytorch3d/renderer/__init__.py | 33 | CODE | |
| LOW | pytorch3d/renderer/__init__.py | 33 | CODE | |
| LOW | pytorch3d/renderer/__init__.py | 33 | CODE | |
| LOW | pytorch3d/renderer/__init__.py | 50 | CODE | |
| LOW | pytorch3d/renderer/__init__.py | 50 | CODE | |
| LOW | pytorch3d/renderer/__init__.py | 50 | CODE | |
| LOW | pytorch3d/renderer/__init__.py | 50 | CODE | |
| LOW | pytorch3d/renderer/__init__.py | 50 | CODE | |
| LOW | pytorch3d/renderer/__init__.py | 51 | CODE | |
| 235 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packaging/pkg_helpers.bash | 1 | # Copyright (c) Meta Platforms, Inc. and affiliates. | COMMENT |
| LOW | packaging/pkg_helpers.bash | 21 | # WHEEL_DIR (e.g., cu100/) | COMMENT |
| LOW | packaging/build_conda.py | 1 | # Copyright (c) Meta Platforms, Inc. and affiliates. | COMMENT |
| LOW | packaging/linux_wheels/after.sh | 1 | #!/usr/bin/bash | COMMENT |
| LOW | packaging/linux_wheels/publish.py | 81 | COMMENT | |
| LOW | projects/__init__.py | 1 | # Copyright (c) Meta Platforms, Inc. and affiliates. | COMMENT |
| LOW | projects/nerf/__init__.py | 1 | # Copyright (c) Meta Platforms, Inc. and affiliates. | COMMENT |
| LOW | projects/nerf/nerf/__init__.py | 1 | # Copyright (c) Meta Platforms, Inc. and affiliates. | COMMENT |
| LOW | projects/nerf/tests/__init__.py | 1 | # Copyright (c) Meta Platforms, Inc. and affiliates. | COMMENT |
| LOW | projects/implicitron_trainer/__init__.py | 1 | # Copyright (c) Meta Platforms, Inc. and affiliates. | COMMENT |
| LOW | projects/implicitron_trainer/impl/__init__.py | 1 | # Copyright (c) Meta Platforms, Inc. and affiliates. | COMMENT |
| LOW | projects/implicitron_trainer/tests/__init__.py | 1 | # Copyright (c) Meta Platforms, Inc. and affiliates. | COMMENT |
| LOW | tests/test_iou_box3d.py | 861 | The main functions below are: | COMMENT |
| LOW | tests/test_subdivide_meshes.py | 121 | # / \ / | COMMENT |
| LOW | tests/test_rasterize_points.py | 461 | for by in range(bp_cpu.shape[1]): | COMMENT |
| LOW | tests/test_rasterize_points.py | 481 | # -1 | 1 2 | COMMENT |
| LOW | tests/__init__.py | 1 | # Copyright (c) Meta Platforms, Inc. and affiliates. | COMMENT |
| LOW | tests/test_cameras.py | 1 | # Copyright (c) Meta Platforms, Inc. and affiliates. | COMMENT |
| LOW | tests/test_cameras.py | 21 | # | COMMENT |
| LOW | tests/implicitron/__init__.py | 1 | # Copyright (c) Meta Platforms, Inc. and affiliates. | COMMENT |
| LOW | tests/implicitron/common_resources.py | 101 | # iopath does this by looking for the file at the cache location | COMMENT |
| LOW | tests/implicitron/models/__init__.py | 1 | # Copyright (c) Meta Platforms, Inc. and affiliates. | COMMENT |
| LOW | tests/benchmarks/__init__.py | 1 | # Copyright (c) Meta Platforms, Inc. and affiliates. | COMMENT |
| LOW | tests/pulsar/__init__.py | 1 | # Copyright (c) Meta Platforms, Inc. and affiliates. | COMMENT |
| LOW | docs/conf.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | docs/tutorials/utils/generate_cow_renders.py | 101 | COMMENT | |
| LOW | docs/tutorials/utils/__init__.py | 1 | # Copyright (c) Meta Platforms, Inc. and affiliates. | COMMENT |
| LOW | scripts/publish_website.sh | 1 | #!/bin/bash | COMMENT |
| LOW | pytorch3d/__init__.py | 1 | # Copyright (c) Meta Platforms, Inc. and affiliates. | COMMENT |
| LOW | pytorch3d/csrc/ext.cpp | 1 | /* | COMMENT |
| LOW | pytorch3d/csrc/ext.cpp | 21 | #include "interp_face_attrs/interp_face_attrs.h" | COMMENT |
| LOW | pytorch3d/csrc/marching_cubes/marching_cubes_cpu.cpp | 1 | /* | COMMENT |
| LOW | pytorch3d/csrc/marching_cubes/marching_cubes_cpu.cpp | 21 | // isolevel: the isosurface value to use as the threshold to determine | COMMENT |
| LOW | pytorch3d/csrc/marching_cubes/marching_cubes.h | 1 | /* | COMMENT |
| LOW | pytorch3d/csrc/marching_cubes/marching_cubes.h | 21 | // scalar grids. | COMMENT |
| LOW | pytorch3d/csrc/marching_cubes/marching_cubes_utils.h | 41 | std::abs(x - xyz.x) >= EPS || std::abs(y - xyz.y) >= EPS || | COMMENT |
| LOW | pytorch3d/csrc/marching_cubes/marching_cubes_utils.h | 81 | for (int i = 0; i < 8; i++) { | COMMENT |
| LOW | pytorch3d/csrc/marching_cubes/marching_cubes_utils.h | 121 | ratio = (isolevel - val1) / (val2 - val1); | COMMENT |
| LOW | pytorch3d/csrc/gather_scatter/gather_scatter.h | 1 | /* | COMMENT |
| LOW | pytorch3d/csrc/knn/knn.h | 1 | /* | COMMENT |
| LOW | pytorch3d/csrc/knn/knn.h | 21 | // containing P2 points of dimension D. | COMMENT |
| LOW | pytorch3d/csrc/knn/knn.h | 81 | COMMENT | |
| LOW | pytorch3d/csrc/knn/knn.h | 141 | #else | COMMENT |
| LOW | pytorch3d/csrc/ball_query/ball_query.h | 1 | /* | COMMENT |
| LOW | pytorch3d/csrc/ball_query/ball_query.h | 21 | // containing P2 points of dimension D. | COMMENT |
| LOW | pytorch3d/csrc/sample_pdf/sample_pdf.h | 21 | // the non-negative per-bin probabilities `weights`. | COMMENT |
| LOW | pytorch3d/csrc/point_mesh/point_mesh_cuda.h | 21 | // size N. | COMMENT |
| LOW | pytorch3d/csrc/point_mesh/point_mesh_cuda.h | 101 | // Args: | COMMENT |
| LOW | pytorch3d/csrc/point_mesh/point_mesh_cuda.h | 161 | COMMENT | |
| LOW | pytorch3d/csrc/point_mesh/point_mesh_cuda.h | 241 | // | COMMENT |
| LOW | pytorch3d/csrc/point_mesh/point_mesh_cuda.h | 301 | // * PointEdgeDistance * | COMMENT |
| LOW | pytorch3d/csrc/point_mesh/point_mesh_cuda.h | 421 | CHECK_CPU(idx_points); | COMMENT |
| LOW | pytorch3d/csrc/point_mesh/point_mesh_cuda.h | 441 | // max_segms: Scalar equal to max(S_i) for i in [0, N - 1] containing | COMMENT |
| LOW | pytorch3d/csrc/point_mesh/point_mesh_cuda.h | 501 | // Args: | COMMENT |
| LOW | pytorch3d/csrc/point_mesh/point_mesh_cuda.h | 561 | // tris: FloatTensor of shape (T, 3, 3) of the triangular faces. The t-th | COMMENT |
| LOW | pytorch3d/csrc/point_mesh/point_mesh_cuda.h | 601 | } | COMMENT |
| LOW | pytorch3d/csrc/point_mesh/point_mesh_cuda.h | 661 | // Computes the squared euclidean distance of each p in points to each edge | COMMENT |
| LOW | pytorch3d/csrc/point_mesh/point_mesh_cuda.h | 701 | CHECK_CPU(points); | COMMENT |
| LOW | …rch3d/csrc/points_to_volumes/points_to_volumes_cpu.cpp | 21 | // to hit the edge locations than other locations. | COMMENT |
| LOW | …rch3d/csrc/points_to_volumes/points_to_volumes_cpu.cpp | 161 | // │ │ │ | COMMENT |
| 129 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | setup.py | 38 | CODE | |
| LOW | packaging/linux_wheels/publish.py | 45 | CODE | |
| LOW | projects/nerf/nerf/eval_video_utils.py | 15 | CODE | |
| LOW | projects/nerf/nerf/stats.py | 244 | CODE | |
| LOW | projects/nerf/tests/test_raysampler.py | 74 | CODE | |
| LOW | projects/implicitron_trainer/impl/training_loop.py | 232 | CODE | |
| LOW | projects/implicitron_trainer/impl/training_loop.py | 307 | CODE | |
| LOW | projects/implicitron_trainer/impl/optimizer_factory.py | 94 | CODE | |
| LOW | tests/test_cameras_alignment.py | 31 | CODE | |
| LOW | tests/test_cameras_alignment.py | 78 | CODE | |
| LOW | tests/test_iou_box3d.py | 1379 | CODE | |
| LOW | tests/test_sample_points_from_meshes.py | 382 | CODE | |
| LOW | tests/test_io_ply.py | 414 | CODE | |
| LOW | tests/test_compositing.py | 22 | CODE | |
| LOW | tests/test_compositing.py | 51 | CODE | |
| LOW | tests/test_compositing.py | 77 | CODE | |
| LOW | tests/test_render_points.py | 132 | CODE | |
| LOW | tests/test_render_points.py | 177 | CODE | |
| LOW | tests/test_volumes.py | 421 | CODE | |
| LOW | tests/test_volumes.py | 533 | CODE | |
| LOW | tests/test_volumes.py | 842 | CODE | |
| LOW | tests/test_render_meshes.py | 79 | CODE | |
| LOW | tests/test_camera_pixels.py | 200 | CODE | |
| LOW | tests/test_chamfer.py | 91 | CODE | |
| LOW | tests/test_chamfer.py | 175 | CODE | |
| LOW | tests/test_render_volumes.py | 580 | CODE | |
| LOW | tests/test_build.py | 81 | CODE | |
| LOW | tests/test_blending.py | 23 | CODE | |
| LOW | tests/test_blending.py | 63 | CODE | |
| LOW | tests/test_blending.py | 88 | CODE | |
| LOW | tests/common_camera_utils.py | 26 | CODE | |
| LOW | tests/test_cameras.py | 504 | CODE | |
| LOW | tests/test_shader.py | 38 | CODE | |
| LOW | tests/test_points_normals.py | 57 | CODE | |
| LOW | tests/test_splatter_blend.py | 41 | CODE | |
| LOW | tests/test_raysampling.py | 193 | CODE | |
| LOW | tests/test_raysampling.py | 333 | CODE | |
| LOW | tests/test_raysampling.py | 589 | CODE | |
| LOW | tests/test_points_alignment.py | 514 | CODE | |
| LOW | tests/test_knn.py | 64 | CODE | |
| LOW | tests/test_knn.py | 182 | CODE | |
| LOW | tests/test_knn.py | 201 | CODE | |
| LOW | tests/test_ball_query.py | 25 | CODE | |
| LOW | tests/test_transforms.py | 319 | CODE | |
| LOW | tests/test_pointclouds.py | 174 | CODE | |
| LOW | tests/test_pointclouds.py | 241 | CODE | |
| LOW | tests/test_pointclouds.py | 329 | CODE | |
| LOW | tests/test_pointclouds.py | 593 | CODE | |
| LOW | tests/test_pointclouds.py | 826 | CODE | |
| LOW | tests/test_pointclouds.py | 997 | CODE | |
| LOW | tests/test_pointclouds.py | 1025 | CODE | |
| LOW | tests/test_mesh_normal_consistency.py | 87 | CODE | |
| LOW | tests/test_io_obj.py | 792 | CODE | |
| LOW | tests/test_io_obj.py | 798 | CODE | |
| LOW | tests/test_points_to_volumes.py | 247 | CODE | |
| LOW | tests/test_meshes.py | 682 | CODE | |
| LOW | tests/test_meshes.py | 889 | CODE | |
| LOW | tests/test_vert_align.py | 21 | CODE | |
| LOW | tests/implicitron/test_viewsampling.py | 127 | CODE | |
| LOW | tests/implicitron/test_batch_sampler.py | 243 | CODE | |
| 61 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | projects/nerf/nerf/implicit_function.py | 0 | this function takes per-point `features` predicted by `self.net` and evaluates the color model in order to attach to eac | STRING |
| HIGH | …tron/models/implicit_function/neural_radiance_field.py | 0 | this function takes per-point `features` predicted by `self.net` and evaluates the color model in order to attach to eac | STRING |
| HIGH | …els/implicit_function/scene_representation_networks.py | 0 | this function takes per-point `features` predicted by `self.net` and evaluates the color model in order to attach to eac | STRING |
| HIGH | docs/examples/pulsar_multiview.py | 0 | a simple scene model to demonstrate use of pulsar in pytorch modules. the scene model is parameterized with sphere locat | STRING |
| HIGH | docs/examples/pulsar_optimization.py | 0 | a simple scene model to demonstrate use of pulsar in pytorch modules. the scene model is parameterized with sphere locat | STRING |
| HIGH | docs/examples/pulsar_cam_unified.py | 0 | a simple scene model to demonstrate use of pulsar in pytorch modules. the scene model is parameterized with sphere locat | STRING |
| HIGH | docs/examples/pulsar_cam.py | 0 | a simple scene model to demonstrate use of pulsar in pytorch modules. the scene model is parameterized with sphere locat | STRING |
| HIGH | docs/examples/pulsar_optimization_unified.py | 0 | a simple scene model to demonstrate use of pulsar in pytorch modules. the scene model is parameterized with sphere locat | STRING |
| HIGH | pytorch3d/implicitron/models/generic_model.py | 0 | args: image_rgb: a tensor of shape `(b, 3, h, w)` containing a batch of rgb images; the first `min(b, n_train_target_vie | STRING |
| HIGH | pytorch3d/implicitron/models/base_model.py | 0 | args: image_rgb: a tensor of shape `(b, 3, h, w)` containing a batch of rgb images; the first `min(b, n_train_target_vie | STRING |
| HIGH | pytorch3d/implicitron/models/overfit_model.py | 0 | args: image_rgb: a tensor of shape `(b, 3, h, w)` containing a batch of rgb images; the first `min(b, n_train_target_vie | STRING |
| HIGH | pytorch3d/implicitron/models/generic_model.py | 0 | a helper function to compute the overall loss as the dot product of individual loss functions with the corresponding wei | STRING |
| HIGH | pytorch3d/implicitron/models/utils.py | 0 | a helper function to compute the overall loss as the dot product of individual loss functions with the corresponding wei | STRING |
| HIGH | pytorch3d/implicitron/models/overfit_model.py | 0 | a helper function to compute the overall loss as the dot product of individual loss functions with the corresponding wei | STRING |
| HIGH | pytorch3d/structures/volumes.py | 0 | deep copy of transforms object. all internal tensors are cloned individually. returns: new transforms object. | STRING |
| HIGH | pytorch3d/structures/meshes.py | 0 | deep copy of transforms object. all internal tensors are cloned individually. returns: new transforms object. | STRING |
| HIGH | pytorch3d/structures/pointclouds.py | 0 | deep copy of transforms object. all internal tensors are cloned individually. returns: new transforms object. | STRING |
| HIGH | pytorch3d/transforms/transform3d.py | 0 | deep copy of transforms object. all internal tensors are cloned individually. returns: new transforms object. | STRING |
| HIGH | pytorch3d/structures/volumes.py | 0 | match functionality of torch.tensor.to() if copy = true or the self tensor is on a different device, the returned tensor | STRING |
| HIGH | pytorch3d/structures/meshes.py | 0 | match functionality of torch.tensor.to() if copy = true or the self tensor is on a different device, the returned tensor | STRING |
| HIGH | pytorch3d/structures/pointclouds.py | 0 | match functionality of torch.tensor.to() if copy = true or the self tensor is on a different device, the returned tensor | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | packaging/conda/build_pytorch3d.sh | 154 | # Create the conda package into this temporary folder. This is so we can find | COMMENT |
| MEDIUM | tests/test_rasterizer.py | 145 | # Create a new empty rasterizer: | COMMENT |
| MEDIUM | tests/test_subdivide_meshes.py | 20 | # Create a mesh with one face and check the subdivided mesh has | COMMENT |
| MEDIUM | tests/test_texturing.py | 629 | # Create a dummy texture map | COMMENT |
| MEDIUM | tests/test_pointclouds.py | 242 | # Define the test object either from lists or tensors. | COMMENT |
| MEDIUM | tests/test_meshes.py | 338 | # Define the test mesh object either as a list or tensor of faces/verts. | COMMENT |
| MEDIUM | tests/test_meshes.py | 890 | # Define the test mesh object either as a list or tensor of faces/verts. | COMMENT |
| MEDIUM | tests/implicitron/models/test_utils.py | 29 | # Create a mask on the lower triangular matrix | COMMENT |
| MEDIUM | tests/implicitron/models/test_utils.py | 44 | # Create a mask on the lower triangular matrix | COMMENT |
| MEDIUM | docs/tutorials/utils/generate_cow_renders.py | 117 | # Define the settings for rasterization and shading. Here we set the output | COMMENT |
| MEDIUM | docs/tutorials/utils/generate_cow_renders.py | 129 | # Create a Phong renderer by composing a rasterizer and a shader. The textured | COMMENT |
| MEDIUM | docs/tutorials/utils/generate_cow_renders.py | 140 | # Create a batch of meshes by repeating the cow mesh and associated textures. | COMMENT |
| MEDIUM | pytorch3d/renderer/splatter_blend.py | 9 | # This file defines SplatterBlender, which is used for blending in SplatterPhongShader. | COMMENT |
| MEDIUM | pytorch3d/renderer/splatter_blend.py | 365 | # Create an occlusion mask, with the last dimension of length 3, corresponding to | COMMENT |
| MEDIUM | pytorch3d/renderer/cameras.py | 1593 | # Create a Transform3d object | COMMENT |
| MEDIUM | pytorch3d/renderer/mesh/textures.py | 22 | # This file contains classes and helper functions for texturing. | COMMENT |
| MEDIUM | pytorch3d/renderer/points/pulsar/unified.py | 268 | # Create a virtual focal length that is closer than znear. | COMMENT |
| MEDIUM | pytorch3d/renderer/points/pulsar/unified.py | 274 | # Create a sensor size that matches the expected fov assuming this f. | COMMENT |
| MEDIUM | pytorch3d/renderer/opengl/rasterizer_opengl.py | 222 | # Create a new OpenGLMachinery, as its member variables can be tied to a GPU. | STRING |
| MEDIUM | pytorch3d/renderer/opengl/rasterizer_opengl.py | 614 | # Create the framebuffer object (fbo) where we'll store output data. | STRING |
| MEDIUM | …torch3d/implicitron/dataset/single_sequence_dataset.py | 10 | # This file defines a base class for dataset map providers which | COMMENT |
| MEDIUM | …licitron/dataset/rendered_mesh_dataset_map_provider.py | 187 | # Define the settings for rasterization and shading. | COMMENT |
| MEDIUM | …licitron/dataset/rendered_mesh_dataset_map_provider.py | 199 | # Create a Phong renderer by composing a rasterizer and a shader. The textured | COMMENT |
| MEDIUM | …licitron/dataset/rendered_mesh_dataset_map_provider.py | 211 | # Create a batch of meshes by repeating the cow mesh and associated textures. | COMMENT |
| MEDIUM | …dels/implicit_function/voxel_grid_implicit_function.py | 281 | # Create a zeroed tensor corresponding to a point with density=0 and fill it | COMMENT |
| MEDIUM | …torch3d/implicitron/third_party/pytorch_prototyping.py | 430 | # Define the in block | COMMENT |
| MEDIUM | …torch3d/implicitron/third_party/pytorch_prototyping.py | 439 | # Define the center UNet block. The feature map has height and width 1 --> no batchnorm. | COMMENT |
| MEDIUM | …torch3d/implicitron/third_party/pytorch_prototyping.py | 453 | # Define the out layer. Each unet block concatenates its inputs with its outputs - so the output layer | COMMENT |
| MEDIUM | …torch3d/implicitron/third_party/pytorch_prototyping.py | 589 | # Define the in block | COMMENT |
| MEDIUM | …torch3d/implicitron/third_party/pytorch_prototyping.py | 603 | # Define the center UNet block | COMMENT |
| MEDIUM | …torch3d/implicitron/third_party/pytorch_prototyping.py | 624 | # Define the out layer. Each unet block concatenates its inputs with its outputs - so the output layer | COMMENT |
| MEDIUM | pytorch3d/io/obj_io.py | 10 | """This module implements utility functions for loading and saving meshes.""" | STRING |
| MEDIUM | pytorch3d/io/obj_io.py | 651 | # Create an array of strings of material names for each face. | COMMENT |
| MEDIUM | pytorch3d/io/mtl_io.py | 9 | """This module implements utility functions for loading .mtl files and textures.""" | STRING |
| MEDIUM | pytorch3d/io/mtl_io.py | 60 | # Create an R x R texture map per face in the mesh | COMMENT |
| MEDIUM | pytorch3d/ops/mesh_filtering.py | 15 | # This file contains differentiable operators to filter meshes | COMMENT |
| MEDIUM | pytorch3d/ops/laplacian_matrices.py | 15 | # This file contains implementations of differentiable laplacian matrices. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | pytorch3d/renderer/opengl/opengl_utils.py | 67 | Convert a Python dict of EGL attributes into an array of ints (some of which are special EGL ints. Args: | STRING |
| HIGH | pytorch3d/implicitron/dataset/sql_dataset.py | 325 | Implements the DatasetBase method. NOTE: Avoid this function as there are more efficient alternatives | STRING |
| HIGH | pytorch3d/implicitron/dataset/types.py | 170 | Vectorised version of `_dataclass_from_dict`. The output should be equivalent to `[_dataclass_from_dict(d, | STRING |
| HIGH | …tron/models/implicit_function/neural_radiance_field.py | 147 | The forward function accepts the parametrizations of 3D points sampled along projection rays. The forwa | STRING |
| HIGH | pytorch3d/io/obj_io.py | 39 | Format indices and check for invalid values. Indices can refer to values in one of the face properties: vertice | STRING |
| HIGH | pytorch3d/transforms/se3.py | 15 | Convert a batch of logarithmic representations of SE(3) matrices `log_transform` to a batch of 4x4 SE(3) matric | STRING |
| HIGH | pytorch3d/transforms/se3.py | 104 | Convert a batch of 4x4 transformation matrices `transform` to a batch of 6-dimensional SE(3) logarithms of the | STRING |
| HIGH | pytorch3d/transforms/so3.py | 25 | Calculates the relative angle (in radians) between pairs of rotation matrices `R1` and `R2` with `angle = acos( | STRING |
| HIGH | pytorch3d/transforms/so3.py | 63 | Calculates angles (in radians) of a batch of rotation matrices `R` with `angle = acos(0.5 * (Trace(R)-1))`. The | STRING |
| HIGH | pytorch3d/transforms/so3.py | 114 | Convert a batch of logarithmic representations of rotation matrices `log_rot` to a batch of 3x3 rotation matric | STRING |
| HIGH | pytorch3d/transforms/so3.py | 200 | Compute the inverse Hat operator [1] of a batch of 3x3 matrices. Args: h: Batch of skew-symmetric matr | STRING |
| HIGH | pytorch3d/transforms/so3.py | 236 | Compute the Hat operator [1] of a batch of 3D vectors. Args: v: Batch of vectors of shape `(minibatch | STRING |
| HIGH | pytorch3d/transforms/transform3d.py | 252 | Returns a 6D SE(3) log vector corresponding to each transform in the batch. In the SE(3) logarithmic r | STRING |
| HIGH | pytorch3d/ops/interp_face_attrs.py | 20 | Interpolate arbitrary face attributes using the barycentric coordinates for each pixel in the rasterized output | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | projects/implicitron_trainer/experiment.py | 79 | logger = logging.getLogger(__name__) | CODE |
| LOW | projects/implicitron_trainer/impl/training_loop.py | 30 | logger = logging.getLogger(__name__) | CODE |
| LOW | projects/implicitron_trainer/impl/model_factory.py | 24 | logger = logging.getLogger(__name__) | CODE |
| LOW | projects/implicitron_trainer/impl/optimizer_factory.py | 26 | logger = logging.getLogger(__name__) | CODE |
| LOW | pytorch3d/renderer/__init__.py | 90 | __all__ = [k for k in globals().keys() if not k.startswith("_")] | CODE |
| LOW | pytorch3d/renderer/mesh/__init__.py | 39 | __all__ = [k for k in globals().keys() if not k.startswith("_")] | CODE |
| LOW | pytorch3d/renderer/implicit/__init__.py | 27 | __all__ = [k for k in globals().keys() if not k.startswith("_")] | CODE |
| LOW | pytorch3d/renderer/points/__init__.py | 18 | __all__ = [k for k in globals().keys() if not k.startswith("_")] | CODE |
| LOW | pytorch3d/renderer/opengl/rasterizer_opengl.py | 558 | def _set_up_gl_program_properties(program) -> None: | STRING |
| LOW | pytorch3d/renderer/opengl/__init__.py | 40 | __all__ = [k for k in globals().keys() if not k.startswith("_")] | CODE |
| LOW | pytorch3d/implicitron/tools/eval_video_trajectory.py | 20 | logger = logging.getLogger(__name__) | CODE |
| LOW | pytorch3d/implicitron/tools/metric_utils.py | 16 | logger = logging.getLogger(__name__) | CODE |
| LOW | pytorch3d/implicitron/tools/model_io.py | 19 | logger = logging.getLogger(__name__) | CODE |
| LOW | pytorch3d/implicitron/tools/stats.py | 23 | logger = logging.getLogger(__name__) | CODE |
| LOW | pytorch3d/implicitron/tools/vis_utils.py | 18 | logger = logging.getLogger(__name__) | CODE |
| LOW | …implicitron/dataset/train_eval_data_loader_provider.py | 23 | logger = logging.getLogger(__name__) | CODE |
| LOW | pytorch3d/implicitron/dataset/json_index_dataset.py | 44 | logger = logging.getLogger(__name__) | CODE |
| LOW | pytorch3d/implicitron/dataset/sql_dataset.py | 49 | logger = logging.getLogger(__name__) | CODE |
| LOW | …licitron/dataset/json_index_dataset_map_provider_v2.py | 53 | logger = logging.getLogger(__name__) | CODE |
| LOW | pytorch3d/implicitron/dataset/sql_dataset_provider.py | 42 | logger = logging.getLogger(__name__) | CODE |
| LOW | pytorch3d/implicitron/models/generic_model.py | 60 | logger = logging.getLogger(__name__) | CODE |
| LOW | pytorch3d/implicitron/models/overfit_model.py | 58 | logger = logging.getLogger(__name__) | CODE |
| LOW | …d/implicitron/models/visualization/render_flyaround.py | 46 | logger = logging.getLogger(__name__) | CODE |
| LOW | pytorch3d/implicitron/models/renderer/rgb_net.py | 18 | logger = logging.getLogger(__name__) | CODE |
| LOW | pytorch3d/implicitron/models/renderer/lstm_renderer.py | 20 | logger = logging.getLogger(__name__) | CODE |
| LOW | …h3d/implicitron/models/implicit_function/voxel_grid.py | 39 | logger = logging.getLogger(__name__) | CODE |
| LOW | …h3d/implicitron/models/implicit_function/voxel_grid.py | 889 | def set_voxel_grid_parameters(self, params: VoxelGridValuesBase) -> None: | CODE |
| LOW | …tron/models/implicit_function/neural_radiance_field.py | 32 | logger = logging.getLogger(__name__) | CODE |
| LOW | …dels/implicit_function/voxel_grid_implicit_function.py | 33 | logger = logging.getLogger(__name__) | CODE |
| LOW | …icitron/models/implicit_function/decoding_functions.py | 31 | logger = logging.getLogger(__name__) | CODE |
| LOW | …n/models/feature_extractor/resnet_feature_extractor.py | 21 | logger = logging.getLogger(__name__) | CODE |
| LOW | pytorch3d/implicitron/evaluation/evaluator.py | 27 | logger = logging.getLogger(__name__) | CODE |
| LOW | pytorch3d/structures/__init__.py | 19 | __all__ = [k for k in globals().keys() if not k.startswith("_")] | CODE |
| LOW⚡ | pytorch3d/structures/volumes.py | 396 | def _set_features(self, features: _TensorBatch) -> None: | CODE |
| LOW⚡ | pytorch3d/structures/volumes.py | 399 | def _set_densities(self, densities: _TensorBatch) -> None: | CODE |
| LOW⚡ | pytorch3d/structures/volumes.py | 402 | def _set_densities_features(self, var_name: str, x: _TensorBatch) -> None: | CODE |
| LOW | pytorch3d/structures/meshes.py | 451 | def _set_verts_normals(self, verts_normals) -> None: | CODE |
| LOW | pytorch3d/loss/__init__.py | 17 | __all__ = [k for k in globals().keys() if not k.startswith("_")] | CODE |
| LOW | pytorch3d/datasets/__init__.py | 14 | __all__ = [k for k in globals().keys() if not k.startswith("_")] | CODE |
| LOW | pytorch3d/datasets/r2n2/__init__.py | 13 | __all__ = [k for k in globals().keys() if not k.startswith("_")] | CODE |
| LOW | pytorch3d/datasets/shapenet/__init__.py | 12 | __all__ = [k for k in globals().keys() if not k.startswith("_")] | CODE |
| LOW | pytorch3d/io/__init__.py | 15 | __all__ = [k for k in globals().keys() if not k.startswith("_")] | CODE |
| LOW | pytorch3d/utils/__init__.py | 20 | __all__ = [k for k in globals().keys() if not k.startswith("_")] | CODE |
| LOW | pytorch3d/common/__init__.py | 12 | __all__ = [k for k in globals().keys() if not k.startswith("_")] | CODE |
| LOW | pytorch3d/transforms/__init__.py | 41 | __all__ = [k for k in globals().keys() if not k.startswith("_")] | CODE |
| LOW | pytorch3d/ops/__init__.py | 43 | __all__ = [k for k in globals().keys() if not k.startswith("_")] | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | pytorch3d/renderer/mesh/clip.py | 515 | # pyre-fixme[61]: `faces_clipped_verts` is undefined, or not always defined. | STRING |
| HIGH | pytorch3d/renderer/opengl/rasterizer_opengl.py | 341 | self.cuda_context.push() | STRING |
| HIGH | pytorch3d/renderer/opengl/rasterizer_opengl.py | 379 | self.cuda_context.push() | STRING |
| HIGH | pytorch3d/renderer/opengl/opengl_utils.py | 329 | popped (you need to call context.push() to start using it). This function | STRING |
| HIGH | pytorch3d/renderer/opengl/opengl_utils.py | 426 | cuda_context.push() | CODE |
| HIGH | …/implicitron/evaluation/evaluate_new_view_synthesis.py | 553 | # pyre-fixme[61]: `header` is undefined, or not always defined. | COMMENT |
| HIGH | pytorch3d/loss/mesh_laplacian_smoothing.py | 127 | # pyre-fixme[61]: `norm_w` is undefined, or not always defined. | STRING |
| HIGH | pytorch3d/io/obj_io.py | 72 | # pyre-fixme[61]: `mask` is undefined, or not always defined. | COMMENT |
| HIGH | pytorch3d/vis/plotly_vis.py | 369 | # pyre-fixme[61]: `n_viewpoint_cameras` is undefined, or not always defined. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | projects/nerf/nerf/nerf_renderer.py | 54 | CODE | |
| LOW | …ojects/implicitron_trainer/visualize_reconstruction.py | 31 | CODE | |
| LOW | tests/test_pointclouds_multigpu.py | 22 | CODE | |
| LOW | tests/test_raysampling.py | 144 | CODE | |
| LOW | tests/test_raysampling.py | 193 | CODE | |
| LOW | tests/test_points_alignment.py | 452 | CODE | |
| LOW | tests/test_points_alignment.py | 555 | CODE | |
| LOW | tests/test_pointclouds.py | 29 | CODE | |
| LOW | pytorch3d/renderer/cameras.py | 471 | CODE | |
| LOW | pytorch3d/renderer/cameras.py | 753 | CODE | |
| LOW | pytorch3d/renderer/cameras.py | 1691 | CODE | |
| LOW | pytorch3d/renderer/cameras.py | 551 | CODE | |
| LOW | pytorch3d/renderer/cameras.py | 812 | CODE | |
| LOW | pytorch3d/renderer/cameras.py | 1051 | CODE | |
| LOW | pytorch3d/renderer/cameras.py | 1291 | CODE | |
| LOW | pytorch3d/renderer/fisheyecameras.py | 70 | CODE | |
| LOW | pytorch3d/renderer/mesh/rasterize_meshes.py | 32 | CODE | |
| LOW | pytorch3d/renderer/mesh/rasterize_meshes.py | 404 | CODE | |
| LOW | pytorch3d/renderer/mesh/rasterize_meshes.py | 279 | CODE | |
| LOW | pytorch3d/renderer/mesh/clip.py | 133 | CODE | |
| LOW | pytorch3d/renderer/points/pulsar/renderer.py | 537 | CODE | |
| LOW | pytorch3d/implicitron/tools/eval_video_trajectory.py | 23 | CODE | |
| LOW | …d/implicitron/models/visualization/render_flyaround.py | 49 | CODE | |
| LOW | pytorch3d/implicitron/models/renderer/rgb_net.py | 46 | CODE | |
| LOW | pytorch3d/loss/chamfer.py | 176 | CODE | |
| LOW | pytorch3d/datasets/r2n2/utils.py | 350 | CODE | |
| LOW | pytorch3d/io/mtl_io.py | 365 | CODE | |
| LOW | pytorch3d/vis/plotly_vis.py | 105 | CODE | |
| LOW | pytorch3d/ops/graph_conv.py | 85 | CODE | |
| LOW | pytorch3d/ops/graph_conv.py | 167 | CODE | |
| LOW | pytorch3d/ops/interp_face_attrs.py | 63 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/test_rasterizer.py | 45 | DEBUG = False # Set DEBUG to true to save outputs from the tests. | CODE |
| LOW | tests/test_chamfer.py | 1202 | # Set lengths to None so in Chamfer it assumes | COMMENT |
| LOW | tests/test_splatter_blend.py | 484 | # Set occlusion_layers to all -1, so all splats are background splats. | COMMENT |
| LOW | tests/test_splatter_blend.py | 513 | # Set occlusion_layers to all 0, so top splats are co-surface with splatted | COMMENT |
| LOW | tests/test_splatter_blend.py | 544 | # Set occlusion_layers to all 1. Then the top splatter is a foreground | COMMENT |
| LOW | tests/test_pointclouds.py | 140 | # Check if correct errors are raised when verts/faces are on | COMMENT |
| LOW | tests/test_meshes.py | 317 | # Check if correct errors are raised when verts/faces are on | COMMENT |
| LOW | tests/implicitron/models/test_overfit_model.py | 105 | # Check if they do share the number of parameters | COMMENT |
| LOW | pytorch3d/renderer/mesh/rasterize_meshes.py | 529 | # Check if pixel is outside of face bbox. | COMMENT |
| LOW | pytorch3d/renderer/mesh/rasterize_meshes.py | 546 | # Check if inside before clipping | COMMENT |
| LOW | pytorch3d/renderer/mesh/rasterize_meshes.py | 555 | # Check if point is behind the image. | COMMENT |
| LOW | pytorch3d/implicitron/dataset/utils.py | 258 | # Check if the image has an alpha channel | COMMENT |
| LOW | pytorch3d/loss/chamfer.py | 93 | # Check if inputs are heterogeneous and create a lengths mask. | COMMENT |
| LOW | pytorch3d/datasets/shapenet_base.py | 242 | # Check if the indices are valid if idxs are supplied. | COMMENT |
| LOW | pytorch3d/datasets/shapenet_base.py | 249 | # Check if sample_nums is specified, if so sample sample_nums[0] number | COMMENT |
| LOW | pytorch3d/datasets/r2n2/r2n2.py | 117 | # Check if the folder containing R2N2 renderings is included in r2n2_dir. | COMMENT |
| LOW | pytorch3d/datasets/r2n2/r2n2.py | 127 | # Check if the folder containing voxel coordinates is included in r2n2_dir. | COMMENT |
| LOW | pytorch3d/datasets/shapenet/shapenet_core.py | 105 | # Check if there are any categories in the official mapping that are not loaded. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | projects/implicitron_trainer/experiment.py | 93 | except ModuleNotFoundError: | CODE |
| HIGH | pytorch3d/renderer/cameras.py | 1883 | except NotImplementedError: | CODE |
| HIGH | pytorch3d/implicitron/tools/utils.py | 43 | except AttributeError: | CODE |
| HIGH | pytorch3d/implicitron/tools/utils.py | 60 | except AttributeError: | CODE |
| HIGH | pytorch3d/implicitron/dataset/data_source.py | 81 | except ModuleNotFoundError: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/benchmarks/bm_chamfer.py | 17 | CODE | |
| MEDIUM | tests/benchmarks/bm_chamfer.py | 18 | CODE | |
| MEDIUM | tests/benchmarks/bm_chamfer.py | 21 | CODE | |
| MEDIUM | tests/benchmarks/bm_chamfer.py | 22 | CODE | |
| MEDIUM | tests/benchmarks/bm_chamfer.py | 23 | CODE | |
| MEDIUM | tests/benchmarks/bm_chamfer.py | 24 | CODE | |
| MEDIUM | tests/benchmarks/bm_chamfer.py | 26 | CODE | |
| MEDIUM | tests/benchmarks/bm_chamfer.py | 32 | CODE | |
| MEDIUM | tests/benchmarks/bm_chamfer.py | 39 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …rch3d/csrc/points_to_volumes/points_to_volumes_cpu.cpp | 163 | // │ └───────────┐ │ | COMMENT |
| MEDIUM | .circleci/config.in.yml | 10 | # ------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .circleci/config.in.yml | 12 | # ------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .circleci/config.yml | 10 | # ------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .circleci/config.yml | 12 | # ------------------------------------------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/implicitron/test_voxel_grid_implicit_function.py | 139 | assert torch.all(scaffold(points)) # , (scaffold(points), points) | CODE |
| MEDIUM | …dels/implicit_function/voxel_grid_implicit_function.py | 175 | # --- scaffold | COMMENT |
| MEDIUM | …dels/implicit_function/voxel_grid_implicit_function.py | 251 | # ########## filter the points using the scaffold ########## # | COMMENT |
| MEDIUM | …dels/implicit_function/voxel_grid_implicit_function.py | 280 | # ########## merge scaffold calculated points ########## # | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/benchmarks/bm_interpolate_face_attributes.py | 31 | # benchmarking, so instead we'll just set a manual seed to make sure | COMMENT |
| LOW | pytorch3d/implicitron/dataset/types.py | 271 | # an Optional not set to None, just use the contents of the Optional. | COMMENT |
| LOW | pytorch3d/transforms/transform3d.py | 344 | # we just set inverted matrix | COMMENT |
| LOW | pytorch3d/transforms/transform3d.py | 805 | # If x is actually a tensor of shape (N, 3) then just return it | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | docs/examples/pulsar_basic_unified.py | 50 | # Alternatively, you can also use the look_at_view_transform to get R and T: | COMMENT |
| LOW | pytorch3d/structures/volumes.py | 301 | # dont forget to update grid_sizes! | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pytorch3d/implicitron/tools/config.py | 541 | except Exception: | CODE |
| LOW⚡ | pytorch3d/implicitron/tools/config.py | 568 | except Exception: | CODE |
| LOW | pytorch3d/ops/points_alignment.py | 142 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pytorch3d/renderer/opengl/rasterizer_opengl.py | 9 | # NOTE: This module (as well as rasterizer_opengl) will not be imported into pytorch3d | COMMENT |
| LOW | pytorch3d/renderer/opengl/opengl_utils.py | 11 | # NOTE: This module MUST be imported before any other OpenGL modules in this Python | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pytorch3d/implicitron/tools/vis_utils.py | 130 | # TODO: handle errors on the outside | COMMENT |
| LOW | pytorch3d/implicitron/dataset/sql_dataset.py | 382 | # TODO: implement sort_timestamp_first? (which would matter if the orders | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | website/README.md | 214 | Lorem Ipsum... | CODE |