Depth Anything 3
This report summarizes scanner evidence for ByteDance-Seed/Depth-Anything-3, a Python project with 6,454 GitHub stars. SynthScan examined 31,395 lines of code across 121 source files, recording 553 pattern matches distributed across 17 syntactic categories. The legacy adjusted pattern signal is 31.9 (High 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? 285 finding(s).
Are imports declared and package/API names verified? 41 finding(s).
Are wrappers, guards, and repeated structures necessary? 345 finding(s).
Which changes need focused human review? 553 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 553 distinct pattern matches across 17 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 |
|---|---|---|---|---|
| MEDIUM | da3_streaming/loop_utils/loop_detector.py | 62 | # ---------------------------------- | COMMENT |
| MEDIUM⚡ | src/depth_anything_3/cli.py | 102 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | src/depth_anything_3/cli.py | 104 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | src/depth_anything_3/cli.py | 106 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | src/depth_anything_3/cli.py | 108 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | src/depth_anything_3/cli.py | 701 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | src/depth_anything_3/cli.py | 703 | # ============================================================================ | COMMENT |
| MEDIUM | src/depth_anything_3/cli.py | 48 | # ============================================================================ | COMMENT |
| MEDIUM | src/depth_anything_3/cli.py | 50 | # ============================================================================ | COMMENT |
| MEDIUM | src/depth_anything_3/cli.py | 634 | # ============================================================================ | COMMENT |
| MEDIUM | src/depth_anything_3/cli.py | 636 | # ============================================================================ | COMMENT |
| MEDIUM | src/depth_anything_3/bench/utils.py | 35 | # ============================================================================= | COMMENT |
| MEDIUM | src/depth_anything_3/bench/utils.py | 37 | # ============================================================================= | COMMENT |
| MEDIUM | src/depth_anything_3/bench/utils.py | 67 | # ============================================================================= | COMMENT |
| MEDIUM | src/depth_anything_3/bench/utils.py | 69 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | src/depth_anything_3/bench/utils.py | 286 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | src/depth_anything_3/bench/utils.py | 288 | # ============================================================================= | COMMENT |
| MEDIUM | src/depth_anything_3/bench/datasets/sevenscenes.py | 103 | # ------------------------------ | COMMENT |
| MEDIUM | src/depth_anything_3/bench/datasets/sevenscenes.py | 105 | # ------------------------------ | COMMENT |
| MEDIUM | src/depth_anything_3/bench/datasets/sevenscenes.py | 297 | # ------------------------------ | COMMENT |
| MEDIUM | src/depth_anything_3/bench/datasets/sevenscenes.py | 299 | # ------------------------------ | COMMENT |
| MEDIUM | src/depth_anything_3/bench/datasets/dtu.py | 73 | # ------------------------------ | COMMENT |
| MEDIUM | src/depth_anything_3/bench/datasets/dtu.py | 75 | # ------------------------------ | COMMENT |
| MEDIUM⚡ | src/depth_anything_3/bench/datasets/dtu.py | 240 | # ------------------------------ | COMMENT |
| MEDIUM⚡ | src/depth_anything_3/bench/datasets/dtu.py | 242 | # ------------------------------ | COMMENT |
| MEDIUM | src/depth_anything_3/bench/datasets/dtu.py | 376 | # ------------------------------ | COMMENT |
| MEDIUM | src/depth_anything_3/bench/datasets/dtu.py | 378 | # ------------------------------ | COMMENT |
| MEDIUM | src/depth_anything_3/bench/datasets/dtu.py | 549 | # ------------------------------ | COMMENT |
| MEDIUM | src/depth_anything_3/bench/datasets/dtu.py | 551 | # ------------------------------ | COMMENT |
| MEDIUM | src/depth_anything_3/bench/datasets/scannetpp.py | 101 | # ------------------------------ | COMMENT |
| MEDIUM | src/depth_anything_3/bench/datasets/scannetpp.py | 103 | # ------------------------------ | COMMENT |
| MEDIUM | src/depth_anything_3/bench/datasets/scannetpp.py | 427 | # ------------------------------ | COMMENT |
| MEDIUM | src/depth_anything_3/bench/datasets/scannetpp.py | 429 | # ------------------------------ | COMMENT |
| MEDIUM | src/depth_anything_3/bench/datasets/eth3d.py | 100 | # ------------------------------ | COMMENT |
| MEDIUM | src/depth_anything_3/bench/datasets/eth3d.py | 102 | # ------------------------------ | COMMENT |
| MEDIUM | src/depth_anything_3/bench/datasets/eth3d.py | 174 | # ------------------------------ | COMMENT |
| MEDIUM | src/depth_anything_3/bench/datasets/eth3d.py | 176 | # ------------------------------ | COMMENT |
| MEDIUM | src/depth_anything_3/bench/datasets/eth3d.py | 392 | # ------------------------------ | COMMENT |
| MEDIUM | src/depth_anything_3/bench/datasets/eth3d.py | 394 | # ------------------------------ | COMMENT |
| MEDIUM | src/depth_anything_3/bench/datasets/hiroom.py | 104 | # ------------------------------ | COMMENT |
| MEDIUM | src/depth_anything_3/bench/datasets/hiroom.py | 106 | # ------------------------------ | COMMENT |
| MEDIUM | src/depth_anything_3/bench/datasets/hiroom.py | 293 | # ------------------------------ | COMMENT |
| MEDIUM | src/depth_anything_3/bench/datasets/hiroom.py | 295 | # ------------------------------ | COMMENT |
| MEDIUM | src/depth_anything_3/bench/datasets/dtu64.py | 73 | # ------------------------------ | COMMENT |
| MEDIUM | src/depth_anything_3/bench/datasets/dtu64.py | 75 | # ------------------------------ | COMMENT |
| MEDIUM | src/depth_anything_3/bench/datasets/dtu64.py | 95 | # ------------------------------ | COMMENT |
| MEDIUM | src/depth_anything_3/bench/datasets/dtu64.py | 97 | # ------------------------------ | COMMENT |
| MEDIUM⚡ | src/depth_anything_3/bench/configs/eval_bench.yaml | 8 | # ============================================================================== | COMMENT |
| MEDIUM⚡ | src/depth_anything_3/bench/configs/eval_bench.yaml | 10 | # ============================================================================== | COMMENT |
| MEDIUM⚡ | src/depth_anything_3/bench/configs/eval_bench.yaml | 15 | # ============================================================================== | COMMENT |
| MEDIUM⚡ | src/depth_anything_3/bench/configs/eval_bench.yaml | 17 | # ============================================================================== | COMMENT |
| MEDIUM⚡ | src/depth_anything_3/bench/configs/eval_bench.yaml | 22 | # ============================================================================== | COMMENT |
| MEDIUM⚡ | src/depth_anything_3/bench/configs/eval_bench.yaml | 24 | # ============================================================================== | COMMENT |
| MEDIUM⚡ | src/depth_anything_3/bench/configs/eval_bench.yaml | 62 | # ============================================================================== | COMMENT |
| MEDIUM⚡ | src/depth_anything_3/bench/configs/eval_bench.yaml | 64 | # ============================================================================== | COMMENT |
| MEDIUM⚡ | src/depth_anything_3/bench/configs/eval_bench.yaml | 72 | # ============================================================================== | COMMENT |
| MEDIUM⚡ | src/depth_anything_3/bench/configs/eval_bench.yaml | 74 | # ============================================================================== | COMMENT |
| MEDIUM⚡ | src/depth_anything_3/utils/constants.py | 21 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | src/depth_anything_3/utils/constants.py | 23 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | src/depth_anything_3/utils/constants.py | 33 | # ----------------------------------------------------------------------------- | COMMENT |
| 59 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | da3_streaming/npz_output_process.py | 123 | print(f"Error: Folder {npz_folder} does not exist") | CODE |
| MEDIUM | da3_streaming/npz_output_process.py | 127 | print(f"Error: File {pose_file} does not exist") | CODE |
| LOW | da3_streaming/da3_streaming.py | 876 | except Exception as e: | CODE |
| MEDIUM | da3_streaming/da3_streaming.py | 862 | def copy_file(src_path, dst_dir): | CODE |
| LOW⚡ | da3_streaming/loop_utils/alignment_triton.py | 483 | except Exception as e: | CODE |
| LOW⚡ | da3_streaming/loop_utils/alignment_triton.py | 489 | except Exception as e: | CODE |
| LOW⚡ | da3_streaming/loop_utils/alignment_triton.py | 497 | except Exception as e: | CODE |
| LOW⚡ | da3_streaming/loop_utils/alignment_triton.py | 504 | except Exception as e: | CODE |
| LOW⚡ | da3_streaming/loop_utils/alignment_torch.py | 326 | except Exception as e: | CODE |
| LOW⚡ | da3_streaming/loop_utils/alignment_torch.py | 332 | except Exception as e: | CODE |
| LOW⚡ | da3_streaming/loop_utils/alignment_torch.py | 338 | except Exception as e: | CODE |
| LOW⚡ | da3_streaming/loop_utils/alignment_torch.py | 344 | except Exception as e: | CODE |
| LOW⚡ | da3_streaming/loop_utils/alignment_torch.py | 350 | except Exception as e: | CODE |
| LOW⚡ | da3_streaming/loop_utils/alignment_torch.py | 356 | except Exception as e: | CODE |
| LOW⚡ | da3_streaming/loop_utils/sim3utils.py | 925 | except Exception as e: | CODE |
| LOW⚡ | da3_streaming/loop_utils/sim3utils.py | 931 | except Exception as e: | CODE |
| LOW⚡ | da3_streaming/loop_utils/sim3utils.py | 937 | except Exception as e: | CODE |
| LOW⚡ | da3_streaming/loop_utils/sim3utils.py | 943 | except Exception as e: | CODE |
| LOW⚡ | da3_streaming/loop_utils/sim3utils.py | 949 | except Exception as e: | CODE |
| LOW⚡ | da3_streaming/loop_utils/sim3utils.py | 955 | except Exception as e: | CODE |
| LOW | da3_streaming/loop_utils/loop_detector.py | 186 | except Exception as e: | CODE |
| MEDIUM | da3_streaming/loop_utils/loop_detector.py | 187 | print(f"Error processing image {path}: {e}") | CODE |
| LOW | da3_streaming/loop_utils/sim3loop.py | 30 | except Exception: | CODE |
| LOW | da3_streaming/loop_utils/sim3loop.py | 272 | except Exception as e: | CODE |
| LOW⚡ | src/depth_anything_3/cfg.py | 26 | except Exception as e: | CODE |
| MEDIUM⚡ | src/depth_anything_3/cfg.py | 28 | print(f"Error registering eval resolver: {e}") | CODE |
| LOW⚡ | src/depth_anything_3/cli.py | 696 | except Exception as e: | CODE |
| LOW | src/depth_anything_3/cli.py | 781 | except Exception as e: | CODE |
| LOW | src/depth_anything_3/cli.py | 818 | except Exception as e: | CODE |
| LOW | src/depth_anything_3/bench/print_metrics.py | 561 | except Exception as e: | CODE |
| LOW⚡ | src/depth_anything_3/bench/utils.py | 277 | except Exception: | CODE |
| LOW | src/depth_anything_3/bench/evaluator.py | 289 | except Exception as e: | CODE |
| LOW | src/depth_anything_3/bench/evaluator.py | 526 | except Exception as e: | CODE |
| LOW | src/depth_anything_3/bench/registries.py | 58 | except Exception as e: | CODE |
| LOW | src/depth_anything_3/app/gradio_app.py | 149 | except Exception as e: | CODE |
| LOW | src/depth_anything_3/app/modules/model_inference.py | 213 | except Exception as e: | CODE |
| LOW | src/depth_anything_3/app/modules/event_handlers.py | 132 | except Exception as e: | CODE |
| LOW | src/depth_anything_3/app/modules/event_handlers.py | 324 | except Exception as e: | CODE |
| LOW | src/depth_anything_3/app/modules/event_handlers.py | 422 | except Exception as e: | CODE |
| MEDIUM | src/depth_anything_3/app/modules/event_handlers.py | 423 | print(f"Error loading cached data: {e}") | CODE |
| LOW | src/depth_anything_3/app/modules/event_handlers.py | 437 | except Exception as e: | CODE |
| MEDIUM | src/depth_anything_3/app/modules/event_handlers.py | 438 | print(f"Error loading cached 3DGS video: {e}") | CODE |
| LOW | src/depth_anything_3/app/modules/event_handlers.py | 620 | except Exception as e: | CODE |
| MEDIUM | src/depth_anything_3/app/modules/event_handlers.py | 621 | print(f"Error selecting first frame: {e}") | CODE |
| LOW | src/depth_anything_3/app/modules/visualization.py | 178 | except Exception as e: | CODE |
| MEDIUM | src/depth_anything_3/app/modules/visualization.py | 179 | print(f"Error extracting depth right half: {e}") | CODE |
| LOW | src/depth_anything_3/app/modules/visualization.py | 325 | except Exception as e: | CODE |
| LOW | src/depth_anything_3/app/modules/visualization.py | 334 | except Exception as e: | CODE |
| LOW | src/depth_anything_3/app/modules/visualization.py | 351 | except Exception as e: | CODE |
| LOW⚡ | src/depth_anything_3/app/modules/visualization.py | 417 | except Exception as e: | CODE |
| LOW⚡ | src/depth_anything_3/app/modules/visualization.py | 425 | except Exception as e: | CODE |
| LOW⚡ | src/depth_anything_3/app/modules/visualization.py | 432 | except Exception as e: | CODE |
| LOW | src/depth_anything_3/app/modules/utils.py | 136 | except Exception as e: | CODE |
| MEDIUM | src/depth_anything_3/app/modules/utils.py | 137 | print(f"Error saving to gallery: {e}") | CODE |
| LOW | src/depth_anything_3/app/modules/file_handlers.py | 52 | except Exception: | CODE |
| LOW | src/depth_anything_3/app/modules/file_handlers.py | 192 | except Exception as e: | CODE |
| MEDIUM | src/depth_anything_3/app/modules/file_handlers.py | 193 | print(f"Error converting HEIC file {file_path}: {e}") | CODE |
| LOW | src/depth_anything_3/utils/memory.py | 38 | except Exception: | CODE |
| LOW | src/depth_anything_3/utils/memory.py | 59 | except Exception: | CODE |
| LOW | src/depth_anything_3/utils/memory.py | 74 | except Exception as e: | CODE |
| 30 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | da3_streaming/da3_streaming.py | 1 | # Copyright (c) 2025 ByteDance Ltd. and/or its affiliates | COMMENT |
| LOW | da3_streaming/loop_utils/alignment_triton.py | 1 | # Copyright (c) 2025 ByteDance Ltd. and/or its affiliates | COMMENT |
| LOW | da3_streaming/loop_utils/alignment_torch.py | 1 | # Copyright (c) 2025 ByteDance Ltd. and/or its affiliates | COMMENT |
| LOW | da3_streaming/loop_utils/sim3utils.py | 1 | # Copyright (c) 2025 ByteDance Ltd. and/or its affiliates | COMMENT |
| LOW | da3_streaming/loop_utils/sim3utils.py | 321 | COMMENT | |
| LOW | da3_streaming/loop_utils/loop_refinement.py | 1 | # Copyright (c) 2025 ByteDance Ltd. and/or its affiliates | COMMENT |
| LOW | da3_streaming/loop_utils/__init__.py | 1 | # Copyright (c) 2025 ByteDance Ltd. and/or its affiliates | COMMENT |
| LOW | da3_streaming/loop_utils/loop_detector.py | 1 | # Copyright (c) 2025 ByteDance Ltd. and/or its affiliates | COMMENT |
| LOW | da3_streaming/loop_utils/sim3loop.py | 1 | # Copyright (c) 2025 ByteDance Ltd. and/or its affiliates | COMMENT |
| LOW | da3_streaming/loop_utils/config_utils.py | 1 | # Copyright (c) 2025 ByteDance Ltd. and/or its affiliates | COMMENT |
| LOW | da3_streaming/loop_utils/logging_utils.py | 1 | # Copyright (c) 2025 ByteDance Ltd. and/or its affiliates | COMMENT |
| LOW | da3_streaming/fastloop/solve_python.py | 1 | # Copyright (c) 2025 ByteDance Ltd. and/or its affiliates | COMMENT |
| LOW | da3_streaming/fastloop/__init__.py | 1 | # Copyright (c) 2025 ByteDance Ltd. and/or its affiliates | COMMENT |
| LOW | da3_streaming/fastloop/solve.cpp | 1 | // Copyright (c) 2025 ByteDance Ltd. and/or its affiliates | COMMENT |
| LOW | src/depth_anything_3/specs.py | 1 | # Copyright (c) 2025 ByteDance Ltd. and/or its affiliates | COMMENT |
| LOW | src/depth_anything_3/cfg.py | 1 | # Copyright (c) 2025 ByteDance Ltd. and/or its affiliates | COMMENT |
| LOW | src/depth_anything_3/registry.py | 1 | # Copyright (c) 2025 ByteDance Ltd. and/or its affiliates | COMMENT |
| LOW | src/depth_anything_3/api.py | 1 | # Copyright (c) 2025 ByteDance Ltd. and/or its affiliates | COMMENT |
| LOW | src/depth_anything_3/cli.py | 1 | # flake8: noqa: E402 | COMMENT |
| LOW | src/depth_anything_3/bench/__init__.py | 1 | # Copyright (c) 2025 ByteDance Ltd. and/or its affiliates | COMMENT |
| LOW | src/depth_anything_3/bench/dataset.py | 1 | # Copyright (c) 2025 ByteDance Ltd. and/or its affiliates | COMMENT |
| LOW | src/depth_anything_3/bench/print_metrics.py | 1 | # Copyright (c) 2025 ByteDance Ltd. and/or its affiliates | COMMENT |
| LOW | src/depth_anything_3/bench/utils.py | 1 | # Copyright (c) 2025 ByteDance Ltd. and/or its affiliates | COMMENT |
| LOW | src/depth_anything_3/bench/evaluator.py | 1 | # Copyright (c) 2025 ByteDance Ltd. and/or its affiliates | COMMENT |
| LOW | src/depth_anything_3/bench/registries.py | 1 | # Copyright (c) 2025 ByteDance Ltd. and/or its affiliates | COMMENT |
| LOW | src/depth_anything_3/bench/datasets/sevenscenes.py | 1 | # Copyright (c) 2025 ByteDance Ltd. and/or its affiliates | COMMENT |
| LOW | src/depth_anything_3/bench/datasets/dtu.py | 1 | # Copyright (c) 2025 ByteDance Ltd. and/or its affiliates | COMMENT |
| LOW | src/depth_anything_3/bench/datasets/scannetpp.py | 1 | # Copyright (c) 2025 ByteDance Ltd. and/or its affiliates | COMMENT |
| LOW | src/depth_anything_3/bench/datasets/__init__.py | 1 | # Copyright (c) 2025 ByteDance Ltd. and/or its affiliates | COMMENT |
| LOW | src/depth_anything_3/bench/datasets/eth3d.py | 1 | # Copyright (c) 2025 ByteDance Ltd. and/or its affiliates | COMMENT |
| LOW | src/depth_anything_3/bench/datasets/hiroom.py | 1 | # Copyright (c) 2025 ByteDance Ltd. and/or its affiliates | COMMENT |
| LOW | src/depth_anything_3/bench/datasets/dtu64.py | 1 | # Copyright (c) 2025 ByteDance Ltd. and/or its affiliates | COMMENT |
| LOW | src/depth_anything_3/bench/configs/eval_bench.yaml | 1 | # DepthAnything3 Benchmark Evaluation Configuration | COMMENT |
| LOW | src/depth_anything_3/app/gradio_app.py | 1 | # Copyright (c) 2025 ByteDance Ltd. and/or its affiliates | COMMENT |
| LOW | src/depth_anything_3/app/css_and_html.py | 1 | # flake8: noqa: E501 | COMMENT |
| LOW | src/depth_anything_3/app/modules/model_inference.py | 1 | # Copyright (c) 2025 ByteDance Ltd. and/or its affiliates | COMMENT |
| LOW | src/depth_anything_3/app/modules/event_handlers.py | 1 | # Copyright (c) 2025 ByteDance Ltd. and/or its affiliates | COMMENT |
| LOW | src/depth_anything_3/app/modules/__init__.py | 1 | # Copyright (c) 2025 ByteDance Ltd. and/or its affiliates | COMMENT |
| LOW | src/depth_anything_3/app/modules/visualization.py | 1 | # Copyright (c) 2025 ByteDance Ltd. and/or its affiliates | COMMENT |
| LOW | src/depth_anything_3/app/modules/utils.py | 1 | # Copyright (c) 2025 ByteDance Ltd. and/or its affiliates | COMMENT |
| LOW | src/depth_anything_3/app/modules/file_handlers.py | 1 | # Copyright (c) 2025 ByteDance Ltd. and/or its affiliates | COMMENT |
| LOW | src/depth_anything_3/app/modules/ui_components.py | 1 | # Copyright (c) 2025 ByteDance Ltd. and/or its affiliates | COMMENT |
| LOW | src/depth_anything_3/utils/layout_helpers.py | 1 | # Copyright (c) 2025 ByteDance Ltd. and/or its affiliates | COMMENT |
| LOW | src/depth_anything_3/utils/pca_utils.py | 1 | # Copyright (c) 2025 ByteDance Ltd. and/or its affiliates | COMMENT |
| LOW | src/depth_anything_3/utils/alignment.py | 1 | # Copyright (c) 2025 ByteDance Ltd. and/or its affiliates | COMMENT |
| LOW | src/depth_anything_3/utils/registry.py | 1 | # Copyright (c) 2025 ByteDance Ltd. and/or its affiliates | COMMENT |
| LOW | src/depth_anything_3/utils/constants.py | 1 | # Copyright (c) 2025 ByteDance Ltd. and/or its affiliates | COMMENT |
| LOW | src/depth_anything_3/utils/constants.py | 21 | # ============================================================================= | COMMENT |
| LOW | src/depth_anything_3/utils/parallel_utils.py | 1 | # Copyright (c) 2025 ByteDance Ltd. and/or its affiliates | COMMENT |
| LOW | src/depth_anything_3/utils/visualize.py | 1 | # Copyright (c) 2025 ByteDance Ltd. and/or its affiliates | COMMENT |
| LOW | src/depth_anything_3/utils/logger.py | 1 | # Copyright (c) 2025 ByteDance Ltd. and/or its affiliates | COMMENT |
| LOW | src/depth_anything_3/utils/model_loading.py | 1 | # Copyright (c) 2025 ByteDance Ltd. and/or its affiliates | COMMENT |
| LOW | src/depth_anything_3/utils/camera_trj_helpers.py | 1 | # Copyright (c) 2025 ByteDance Ltd. and/or its affiliates | COMMENT |
| LOW | src/depth_anything_3/utils/read_write_model.py | 1 | # Copyright (c), ETH Zurich and UNC Chapel Hill. | COMMENT |
| LOW | src/depth_anything_3/utils/read_write_model.py | 21 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" | COMMENT |
| LOW | src/depth_anything_3/utils/ray_utils.py | 1 | # Copyright (c) 2025 ByteDance Ltd. and/or its affiliates | COMMENT |
| LOW | src/depth_anything_3/utils/geometry.py | 1 | # flake8: noqa: F722 | COMMENT |
| LOW | src/depth_anything_3/utils/pose_align.py | 1 | # Copyright (c) 2025 ByteDance Ltd. and/or its affiliates | COMMENT |
| LOW | src/depth_anything_3/utils/pose_align.py | 201 | # Returns rotation, translation, and scale. | COMMENT |
| LOW | src/depth_anything_3/utils/gsply_helpers.py | 1 | # Copyright (c) 2025 ByteDance Ltd. and/or its affiliates | COMMENT |
| 37 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | da3_streaming/da3_streaming.py | 53 | def depth_to_point_cloud_vectorized(depth, intrinsics, extrinsics, device=None): | CODE |
| LOW | da3_streaming/loop_utils/alignment_triton.py | 24 | def apply_transformation_residual_kernel( | CODE |
| LOW | da3_streaming/loop_utils/alignment_triton.py | 74 | def weighted_covariance_kernel( | CODE |
| LOW | da3_streaming/loop_utils/alignment_triton.py | 143 | def compute_huber_weights_kernel( | CODE |
| LOW | da3_streaming/loop_utils/alignment_triton.py | 188 | def apply_transformation_residual_triton(src, tgt, s, R, t): | CODE |
| LOW | da3_streaming/loop_utils/alignment_triton.py | 225 | def compute_weighted_mean_triton(points, weights): | CODE |
| LOW | da3_streaming/loop_utils/alignment_triton.py | 245 | def compute_weighted_covariance_triton(src, tgt, weights, mu_src, mu_tgt): | CODE |
| LOW | da3_streaming/loop_utils/alignment_triton.py | 274 | def compute_huber_weights_triton(residuals, delta): | CODE |
| LOW | da3_streaming/loop_utils/alignment_torch.py | 141 | def compute_huber_weights_torch(residuals, delta): | CODE |
| LOW | da3_streaming/loop_utils/alignment_torch.py | 153 | def apply_transformation_torch(src, s, R, t): | CODE |
| LOW | da3_streaming/loop_utils/alignment_torch.py | 256 | def depth_to_point_cloud_optimized_torch(depth, intrinsics, extrinsics, device=None): | CODE |
| LOW | da3_streaming/loop_utils/sim3utils.py | 327 | # def vectorized_reservoir_sampling(new_pts, new_cls, current_count, reservoir_pts, reservoir_clr): | COMMENT |
| LOW | da3_streaming/loop_utils/sim3utils.py | 201 | def save_confident_pointcloud( | CODE |
| LOW | da3_streaming/loop_utils/sim3utils.py | 237 | def save_confident_pointcloud_batch( | CODE |
| LOW | da3_streaming/loop_utils/sim3utils.py | 363 | def optimized_vectorized_reservoir_sampling( | CODE |
| LOW | da3_streaming/loop_utils/sim3utils.py | 850 | def compute_huber_weights_numba(residuals, delta): | CODE |
| LOW | da3_streaming/loop_utils/sim3utils.py | 860 | def apply_transformation_numba(src, s, R, t): | CODE |
| LOW | da3_streaming/loop_utils/sim3utils.py | 1107 | def compute_chunk_scale_advanced(depth1, depth2, conf1, conf2, method="auto"): | CODE |
| LOW | da3_streaming/loop_utils/sim3utils.py | 1143 | def precompute_scale_chunks_with_depth( | CODE |
| LOW | da3_streaming/loop_utils/sim3utils.py | 1167 | def weighted_align_point_maps( | CODE |
| LOW | da3_streaming/loop_utils/sim3loop.py | 76 | def sequential_to_absolute_poses( | CODE |
| LOW | da3_streaming/loop_utils/sim3loop.py | 100 | def absolute_to_sequential_transforms( | CODE |
| LOW | src/depth_anything_3/api.py | 341 | def _align_to_input_extrinsics_intrinsics( | CODE |
| LOW | src/depth_anything_3/bench/utils.py | 407 | def compare_translation_by_angle( | CODE |
| LOW | src/depth_anything_3/bench/registries.py | 35 | def _import_all_datasets_once(): | CODE |
| LOW⚡ | src/depth_anything_3/bench/datasets/dtu.py | 244 | def _generate_points_from_depth( | CODE |
| LOW | src/depth_anything_3/app/gradio_app.py | 457 | def _setup_visualization_handlers( | CODE |
| LOW | src/depth_anything_3/app/gradio_app.py | 487 | def _setup_navigation_handlers( | CODE |
| LOW | src/depth_anything_3/app/gradio_app.py | 537 | def _setup_example_scene_handlers( | CODE |
| LOW | src/depth_anything_3/app/css_and_html.py | 481 | def get_acknowledgements_html(): | STRING |
| LOW | src/depth_anything_3/app/modules/event_handlers.py | 58 | def save_current_visualization( | CODE |
| LOW | src/depth_anything_3/app/modules/visualization.py | 219 | def populate_visualization_tabs( | CODE |
| LOW | src/depth_anything_3/app/modules/utils.py | 30 | def create_depth_visualization(depth: np.ndarray) -> Optional[np.ndarray]: | CODE |
| LOW | src/depth_anything_3/app/modules/ui_components.py | 198 | def create_inference_control_section(self) -> Tuple[gr.Dropdown, gr.Checkbox, gr.Dropdown]: | CODE |
| LOW | src/depth_anything_3/app/modules/ui_components.py | 233 | def create_display_control_section( | CODE |
| LOW | src/depth_anything_3/app/modules/ui_components.py | 387 | def create_example_scenes_section(self) -> List[Dict[str, Any]]: | CODE |
| LOW | src/depth_anything_3/app/modules/ui_components.py | 403 | def create_example_scene_grid(self, scenes: List[Dict[str, Any]]) -> List[gr.Image]: | CODE |
| LOW | src/depth_anything_3/app/modules/ui_components.py | 457 | def create_description_section(self) -> gr.HTML: | CODE |
| LOW | src/depth_anything_3/app/modules/ui_components.py | 468 | def create_acknowledgements_section(self) -> gr.HTML: | CODE |
| LOW | src/depth_anything_3/utils/pca_utils.py | 207 | def _project_with_stable_colors(self, X: torch.Tensor) -> torch.Tensor: | CODE |
| LOW | src/depth_anything_3/utils/memory.py | 78 | def check_memory_availability(required_gb: float = 2.0) -> tuple[bool, str]: | CODE |
| LOW | src/depth_anything_3/utils/memory.py | 110 | def estimate_memory_requirement(num_images: int, process_res: int) -> float: | CODE |
| LOW | src/depth_anything_3/utils/alignment.py | 23 | def least_squares_scale_scalar( | CODE |
| LOW | src/depth_anything_3/utils/alignment.py | 100 | def sample_tensor_for_quantile(tensor: torch.Tensor, max_samples: int = 100000) -> torch.Tensor: | CODE |
| LOW | src/depth_anything_3/utils/alignment.py | 136 | def set_sky_regions_to_max_depth( | CODE |
| LOW | src/depth_anything_3/utils/model_loading.py | 25 | def convert_general_state_dict(state_dict: Dict[str, torch.Tensor]) -> Dict[str, torch.Tensor]: | CODE |
| LOW | src/depth_anything_3/utils/model_loading.py | 75 | def convert_metric_state_dict(state_dict: Dict[str, torch.Tensor]) -> Dict[str, torch.Tensor]: | CODE |
| LOW | src/depth_anything_3/utils/model_loading.py | 116 | def load_pretrained_nested_weights( | CODE |
| LOW | src/depth_anything_3/utils/camera_trj_helpers.py | 32 | def render_stabilization_path(poses, k_size=45): | CODE |
| LOW | src/depth_anything_3/utils/camera_trj_helpers.py | 205 | def generate_coordinate_frame( | CODE |
| LOW | src/depth_anything_3/utils/camera_trj_helpers.py | 214 | def generate_rotation_coordinate_frame( | CODE |
| LOW | src/depth_anything_3/utils/camera_trj_helpers.py | 257 | def extrinsics_to_pivot_parameters( | CODE |
| LOW | src/depth_anything_3/utils/camera_trj_helpers.py | 286 | def pivot_parameters_to_extrinsics( | CODE |
| LOW | src/depth_anything_3/utils/camera_trj_helpers.py | 340 | def interpolate_pivot_parameters( | CODE |
| LOW | src/depth_anything_3/utils/camera_trj_helpers.py | 409 | def generate_wobble_transformation( | CODE |
| LOW | src/depth_anything_3/utils/ray_utils.py | 20 | def compute_optimal_rotation_intrinsics_batch( | CODE |
| LOW | src/depth_anything_3/utils/ray_utils.py | 112 | def find_homography_least_squares_weighted_torch(src_pts, dst_pts, confident_weight): | CODE |
| LOW | src/depth_anything_3/utils/ray_utils.py | 147 | def ransac_find_homography_weighted( | CODE |
| LOW | src/depth_anything_3/utils/ray_utils.py | 208 | def find_homography_least_squares_weighted_torch_batch( | CODE |
| LOW | src/depth_anything_3/utils/ray_utils.py | 235 | def ransac_find_homography_weighted_fast( | CODE |
| 26 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | src/depth_anything_3/services/backend.py | 526 | "if(location.pathname!=\"/\")history.replaceState(null,'','/'+location.search)", | CODE |
| HIGH | src/depth_anything_3/services/backend.py | 527 | "if(!location.pathname.startsWith(\"/gallery\"))history.replaceState(null,'','/gallery/'+location.search)", | CODE |
| HIGH⚡ | src/depth_anything_3/services/gallery.py | 554 | let GROUPS=[],SCENES=[],currentGroup=null,currentScene=null,currentPage=1,currentScenePage=1; | CODE |
| HIGH⚡ | src/depth_anything_3/services/gallery.py | 560 | function renderScenes(list,page=1){topPager.innerHTML='';grid.innerHTML='';const q=searchInput.value.trim().toLowerCase( | CODE |
| HIGH⚡ | src/depth_anything_3/services/gallery.py | 561 | function enterLevel1({push=false}={}){currentGroup=null;pageTitle.textContent='Depth Anything 3 Gallery';crumb.textConte | CODE |
| HIGH⚡ | src/depth_anything_3/services/gallery.py | 562 | async function enterLevel2(g,{push=false}={}){currentGroup=g;pageTitle.textContent=g;crumb.textContent='(group)';backBtn | CODE |
| HIGH⚡ | src/depth_anything_3/services/gallery.py | 613 | function openViewer(i,{push=false}={}){currentScene=i;viewerTitle.textContent=i.title;mv.src=i.model;overlay.classList.a | CODE |
| HIGH⚡ | src/depth_anything_3/services/gallery.py | 615 | function closeViewer(){const hasId=!!qs().get('id');if(hasId&&history.length>1){history.back();return;}const u=new URL(l | CODE |
| HIGH⚡ | src/depth_anything_3/services/gallery.py | 619 | async function routeFromURL(){if(location.pathname!="/")history.replaceState(null,'','/'+location.search);const g=qs().g | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/depth_anything_3/specs.py | 15 | CODE | |
| LOW | src/depth_anything_3/api.py | 21 | CODE | |
| LOW | src/depth_anything_3/cli.py | 20 | CODE | |
| LOW | src/depth_anything_3/bench/__init__.py | 33 | CODE | |
| LOW | src/depth_anything_3/bench/__init__.py | 33 | CODE | |
| LOW | src/depth_anything_3/bench/print_metrics.py | 26 | CODE | |
| LOW | src/depth_anything_3/bench/utils.py | 24 | CODE | |
| LOW | src/depth_anything_3/bench/evaluator.py | 537 | CODE | |
| LOW | src/depth_anything_3/bench/datasets/eth3d.py | 27 | CODE | |
| LOW | src/depth_anything_3/bench/datasets/eth3d.py | 29 | CODE | |
| LOW | src/depth_anything_3/bench/datasets/eth3d.py | 29 | CODE | |
| LOW | src/depth_anything_3/bench/datasets/eth3d.py | 34 | CODE | |
| LOW | src/depth_anything_3/bench/datasets/eth3d.py | 35 | CODE | |
| LOW | src/depth_anything_3/bench/datasets/eth3d.py | 37 | CODE | |
| LOW | src/depth_anything_3/app/modules/model_inference.py | 24 | CODE | |
| LOW | src/depth_anything_3/app/modules/__init__.py | 21 | CODE | |
| LOW | src/depth_anything_3/app/modules/__init__.py | 22 | CODE | |
| LOW | src/depth_anything_3/app/modules/__init__.py | 23 | CODE | |
| LOW | src/depth_anything_3/app/modules/__init__.py | 24 | CODE | |
| LOW | src/depth_anything_3/app/modules/__init__.py | 25 | CODE | |
| LOW | src/depth_anything_3/app/modules/__init__.py | 25 | CODE | |
| LOW | src/depth_anything_3/app/modules/__init__.py | 25 | CODE | |
| LOW | src/depth_anything_3/app/modules/__init__.py | 25 | CODE | |
| LOW | src/depth_anything_3/app/modules/__init__.py | 31 | CODE | |
| LOW | src/depth_anything_3/utils/memory.py | 7 | CODE | |
| LOW | src/depth_anything_3/utils/io/output_processor.py | 22 | CODE | |
| LOW | src/depth_anything_3/utils/io/input_processor.py | 22 | CODE | |
| LOW | src/depth_anything_3/utils/export/glb.py | 15 | CODE | |
| LOW | src/depth_anything_3/utils/export/colmap.py | 17 | CODE | |
| LOW | src/depth_anything_3/model/da3.py | 15 | CODE | |
| LOW | src/depth_anything_3/model/dinov2/vision_transformer.py | 20 | CODE | |
| LOW | src/depth_anything_3/model/dinov2/vision_transformer.py | 29 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | da3_streaming/npz_output_process.py | 10 | CODE | |
| LOW | da3_streaming/loop_utils/sim3utils.py | 237 | CODE | |
| LOW | da3_streaming/loop_utils/sim3utils.py | 546 | CODE | |
| LOW | da3_streaming/loop_utils/sim3utils.py | 1107 | CODE | |
| LOW | da3_streaming/loop_utils/sim3utils.py | 1167 | CODE | |
| LOW | da3_streaming/loop_utils/loop_detector.py | 242 | CODE | |
| LOW | da3_streaming/loop_utils/sim3loop.py | 205 | CODE | |
| LOW | src/depth_anything_3/api.py | 133 | CODE | |
| LOW | src/depth_anything_3/cli.py | 57 | CODE | |
| LOW | src/depth_anything_3/cli.py | 112 | CODE | |
| LOW | src/depth_anything_3/bench/print_metrics.py | 536 | CODE | |
| LOW | src/depth_anything_3/bench/print_metrics.py | 141 | CODE | |
| LOW | src/depth_anything_3/bench/print_metrics.py | 271 | CODE | |
| LOW | src/depth_anything_3/bench/evaluator.py | 260 | CODE | |
| LOW | src/depth_anything_3/bench/evaluator.py | 510 | CODE | |
| LOW | src/depth_anything_3/bench/datasets/eth3d.py | 133 | CODE | |
| LOW | src/depth_anything_3/app/gradio_app.py | 64 | CODE | |
| LOW | src/depth_anything_3/app/gradio_app.py | 158 | CODE | |
| LOW | src/depth_anything_3/app/modules/event_handlers.py | 353 | CODE | |
| LOW | src/depth_anything_3/app/modules/event_handlers.py | 547 | CODE | |
| LOW | src/depth_anything_3/app/modules/visualization.py | 259 | CODE | |
| LOW | src/depth_anything_3/app/modules/file_handlers.py | 148 | CODE | |
| LOW | src/depth_anything_3/app/modules/ui_components.py | 403 | CODE | |
| LOW | src/depth_anything_3/utils/geometry.py | 23 | CODE | |
| LOW | src/depth_anything_3/utils/export/__init__.py | 41 | CODE | |
| LOW | src/depth_anything_3/utils/export/glb.py | 418 | CODE | |
| LOW | src/depth_anything_3/model/utils/gs_renderer.py | 156 | CODE | |
| LOW | src/depth_anything_3/model/utils/head_utils.py | 25 | CODE | |
| LOW | src/depth_anything_3/services/backend.py | 546 | CODE | |
| LOW | src/depth_anything_3/services/backend.py | 574 | CODE | |
| LOW | src/depth_anything_3/services/gallery.py | 641 | CODE | |
| LOW | src/depth_anything_3/services/gallery.py | 668 | CODE | |
| LOW | src/depth_anything_3/services/input_handlers.py | 110 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/depth_anything_3/app/modules/utils.py | 98 | # Create the gallery directory | COMMENT |
| MEDIUM | src/depth_anything_3/app/modules/file_handlers.py | 118 | # Create a unique folder name within input_images | COMMENT |
| MEDIUM | src/depth_anything_3/app/modules/file_handlers.py | 307 | # Create a fixed folder name based on scene name | COMMENT |
| MEDIUM | src/depth_anything_3/utils/layout_helpers.py | 138 | # Create an empty image with the correct size. | COMMENT |
| MEDIUM | src/depth_anything_3/utils/geometry.py | 33 | # Create a new homogeneous matrix | COMMENT |
| MEDIUM | src/depth_anything_3/utils/gsply_helpers.py | 132 | # Create a mask to filter the Gaussians. | COMMENT |
| MEDIUM | src/depth_anything_3/model/reference_view_selector.py | 149 | # Create the reordering indices | COMMENT |
| MEDIUM | src/depth_anything_3/model/reference_view_selector.py | 203 | # Create the restore indices | COMMENT |
| MEDIUM | src/depth_anything_3/model/gs_adapter.py | 46 | # Create a mask for the spherical harmonics coefficients. This ensures that at | COMMENT |
| MEDIUM | src/depth_anything_3/model/dinov2/layers/rope.py | 9 | # This module provides a clean implementation of 2D Rotary Position Embeddings, | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | src/depth_anything_3/bench/datasets/sevenscenes.py | 0 | evaluate fused point cloud against hiroom ground truth point cloud. args: scene: scene identifier fuse_path: path to fus | STRING |
| HIGH | src/depth_anything_3/bench/datasets/eth3d.py | 0 | evaluate fused point cloud against hiroom ground truth point cloud. args: scene: scene identifier fuse_path: path to fus | STRING |
| HIGH | src/depth_anything_3/bench/datasets/hiroom.py | 0 | evaluate fused point cloud against hiroom ground truth point cloud. args: scene: scene identifier fuse_path: path to fus | STRING |
| HIGH | src/depth_anything_3/bench/datasets/sevenscenes.py | 0 | fuse per-view depths into a point cloud using tsdf fusion. args: scene: scene identifier result_path: path to npz file w | STRING |
| HIGH | src/depth_anything_3/bench/datasets/scannetpp.py | 0 | fuse per-view depths into a point cloud using tsdf fusion. args: scene: scene identifier result_path: path to npz file w | STRING |
| HIGH | src/depth_anything_3/bench/datasets/hiroom.py | 0 | fuse per-view depths into a point cloud using tsdf fusion. args: scene: scene identifier result_path: path to npz file w | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | da3_streaming/loop_utils/loop_refinement.py | 268 | CODE | |
| LOW | src/depth_anything_3/api.py | 133 | CODE | |
| LOW | src/depth_anything_3/cli.py | 112 | CODE | |
| LOW | src/depth_anything_3/cli.py | 316 | CODE | |
| LOW | src/depth_anything_3/cli.py | 392 | CODE | |
| LOW | src/depth_anything_3/cli.py | 471 | CODE | |
| LOW | src/depth_anything_3/cli.py | 558 | CODE | |
| LOW | src/depth_anything_3/cli.py | 707 | CODE | |
| LOW | src/depth_anything_3/bench/evaluator.py | 59 | CODE | |
| LOW | src/depth_anything_3/app/gradio_app.py | 64 | CODE | |
| LOW | src/depth_anything_3/app/modules/model_inference.py | 62 | CODE | |
| LOW | src/depth_anything_3/app/modules/event_handlers.py | 135 | CODE | |
| LOW | src/depth_anything_3/utils/pca_utils.py | 135 | CODE | |
| LOW | src/depth_anything_3/utils/geometry.py | 186 | CODE | |
| LOW | src/depth_anything_3/utils/io/input_processor.py | 65 | CODE | |
| LOW | src/depth_anything_3/utils/export/glb.py | 53 | CODE | |
| LOW | src/depth_anything_3/utils/export/gs.py | 61 | CODE | |
| LOW | src/depth_anything_3/model/dpt.py | 42 | CODE | |
| LOW | src/depth_anything_3/model/dpt.py | 284 | CODE | |
| LOW | src/depth_anything_3/model/dualdpt.py | 44 | CODE | |
| LOW | src/depth_anything_3/model/da3.py | 372 | CODE | |
| LOW | src/depth_anything_3/model/gsdpt.py | 26 | CODE | |
| LOW | src/depth_anything_3/model/utils/attention.py | 24 | CODE | |
| LOW | src/depth_anything_3/model/utils/transform.py | 152 | CODE | |
| LOW | src/depth_anything_3/model/utils/block.py | 23 | CODE | |
| LOW | src/depth_anything_3/model/dinov2/vision_transformer.py | 84 | CODE | |
| LOW | src/depth_anything_3/model/dinov2/layers/attention.py | 19 | CODE | |
| LOW | src/depth_anything_3/model/dinov2/layers/block.py | 27 | CODE | |
| LOW | src/depth_anything_3/model/dinov2/layers/drop_path.py | 24 | CODE | |
| LOW | src/depth_anything_3/services/inference_service.py | 187 | CODE | |
| LOW | src/depth_anything_3/services/inference_service.py | 45 | CODE | |
| LOW | src/depth_anything_3/services/inference_service.py | 101 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | src/depth_anything_3/utils/memory.py | 59 | except Exception: | CODE |
| HIGH | src/depth_anything_3/utils/api_helpers.py | 17 | except Exception: | CODE |
| HIGH | src/depth_anything_3/model/utils/gs_renderer.py | 147 | except Exception: | CODE |
| HIGH | src/depth_anything_3/services/backend.py | 565 | except Exception: | CODE |
| HIGH | src/depth_anything_3/services/gallery.py | 659 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | src/depth_anything_3/cfg.py | 36 | # Check if path is a module path (contains dots but no slashes and doesn't end with .yaml) | COMMENT |
| LOW⚡ | src/depth_anything_3/cli.py | 71 | # Check if it's a file | COMMENT |
| LOW⚡ | src/depth_anything_3/cli.py | 80 | # Check if it's a directory | COMMENT |
| LOW⚡ | src/depth_anything_3/cli.py | 89 | # Check if directory contains image files | COMMENT |
| LOW | src/depth_anything_3/bench/evaluator.py | 273 | # Check if result file exists and is valid | COMMENT |
| LOW | src/depth_anything_3/bench/evaluator.py | 552 | # Check if user provides custom config | COMMENT |
| LOW | src/depth_anything_3/app/gradio_app.py | 107 | # Check if scene name matches the gs tag for high-res+3DGS caching | COMMENT |
| LOW | src/depth_anything_3/app/gradio_app.py | 141 | # Check if successful | COMMENT |
| LOW | src/depth_anything_3/app/modules/event_handlers.py | 293 | # Check if GLB exists (could be cached example or reconstructed scene) | COMMENT |
| LOW | src/depth_anything_3/app/modules/utils.py | 94 | # Check if directory already exists | COMMENT |
| LOW | src/depth_anything_3/app/modules/file_handlers.py | 172 | # Check if the file is a HEIC image | COMMENT |
| LOW | src/depth_anything_3/app/modules/file_handlers.py | 311 | # Check if already cached (GLB file exists) | COMMENT |
| LOW | src/depth_anything_3/services/backend.py | 1307 | # Add task to queue | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | da3_streaming/README.md | 36 | #### Step 1: Dependency Installation | COMMENT |
| LOW | da3_streaming/README.md | 44 | #### Step 2: Weights Download | COMMENT |
| LOW⚡ | src/depth_anything_3/bench/datasets/scannetpp.py | 455 | # Step 1: nearest resize to original image size | COMMENT |
| LOW⚡ | src/depth_anything_3/bench/datasets/scannetpp.py | 462 | # Step 2: linear resize to target resolution | COMMENT |
| LOW⚡ | src/depth_anything_3/bench/datasets/scannetpp.py | 514 | # Step 1: nearest resize to original image size | COMMENT |
| LOW⚡ | src/depth_anything_3/bench/datasets/scannetpp.py | 521 | # Step 2: linear resize to target resolution | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | src/depth_anything_3/utils/alignment.py | 26 | Compute least squares scale factor s such that a ≈ s * b. Args: a: First tensor b: Second tens | STRING |
| HIGH | src/depth_anything_3/model/dinov2/layers/rope.py | 159 | Applies 2D rotary position embeddings to input tokens. Args: tokens: Input tensor of shape (batch_s | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | src/depth_anything_3/bench/datasets/scannetpp.py | 455 | # Step 1: nearest resize to original image size | COMMENT |
| LOW⚡ | src/depth_anything_3/bench/datasets/scannetpp.py | 462 | # Step 2: linear resize to target resolution | COMMENT |
| LOW⚡ | src/depth_anything_3/bench/datasets/scannetpp.py | 514 | # Step 1: nearest resize to original image size | COMMENT |
| LOW⚡ | src/depth_anything_3/bench/datasets/scannetpp.py | 521 | # Step 2: linear resize to target resolution | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/depth_anything_3/bench/__init__.py | 44 | __all__ = ["Evaluator", "MV_REGISTRY", "MONO_REGISTRY"] | CODE |
| LOW | src/depth_anything_3/bench/registries.py | 28 | __all__ = ["METRIC_REGISTRY", "MONO_REGISTRY", "MV_REGISTRY", "NVS_REGISTRY"] | CODE |
| LOW | src/depth_anything_3/app/modules/__init__.py | 33 | __all__ = [ | CODE |
| LOW | src/depth_anything_3/utils/logger.py | 76 | __all__ = ["logger"] | CODE |
| LOW | src/depth_anything_3/utils/export/__init__.py | 73 | __all__ = [ | CODE |
| LOW | src/depth_anything_3/model/dinov2/layers/__init__.py | 15 | __all__ = [ | CODE |
| LOW | src/depth_anything_3/services/__init__.py | 21 | __all__ = [ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | src/depth_anything_3/cfg.py | 27 | # if eval is not available, we can just pass | COMMENT |
| MEDIUM | src/depth_anything_3/utils/memory.py | 43 | """Perform a robust GPU cleanup sequence. | STRING |