MCPcopy Create free account

hub / github.com/ByteDance-Seed/Depth-Anything-3 / types & classes

Types & classes70 in github.com/ByteDance-Seed/Depth-Anything-3

↓ 4 callersClassAutoRegistry
Registry that ensures all datasets are auto-discovered and imported on first use.
src/depth_anything_3/bench/registries.py:64
↓ 4 callersClassDinoVisionTransformer
src/depth_anything_3/model/dinov2/vision_transformer.py:83
↓ 4 callersClassPermute
nn.Module wrapper around Tensor.permute for cleaner nn.Sequential usage.
src/depth_anything_3/model/utils/head_utils.py:83
↓ 2 callersClassDepthAnything3App
Main application class for Depth Anything 3 Gradio app.
src/depth_anything_3/app/gradio_app.py:35
↓ 2 callersClassDropPath
Drop paths (Stochastic Depth) per sample (when applied in main path of residual blocks).
src/depth_anything_3/model/dinov2/layers/drop_path.py:27
↓ 2 callersClassImage
src/depth_anything_3/utils/read_write_model.py:50
↓ 2 callersClassInputProcessor
Prepares a batch of images for model inference. This processor converts a list of image file paths into a single, model-ready tensor. The proc
src/depth_anything_3/utils/io/input_processor.py:35
↓ 2 callersClassLayerScale
src/depth_anything_3/model/utils/attention.py:70
↓ 2 callersClassLayerScale
src/depth_anything_3/model/dinov2/layers/layer_scale.py:14
↓ 2 callersClassLoopDetector
Loop detector class for detecting loop closures in image sequences
da3_streaming/loop_utils/loop_detector.py:74
↓ 2 callersClassMetricsPrinter
Beautiful tabular metrics printer with color support. Features: - Colorized best/worst values - Grouped by dataset and evaluation mo
src/depth_anything_3/bench/print_metrics.py:94
↓ 2 callersClassResidualConvUnit
Lightweight residual convolution block for fusion
src/depth_anything_3/model/dpt.py:379
↓ 2 callersClassSim3LoopOptimizer
Loop closure optimizer for sequences of Sim3 transformations Input: - sequential_transforms: List[Tuple[float, np.ndarray, np.ndarray]]
da3_streaming/loop_utils/sim3loop.py:34
↓ 1 callersClassBlock
src/depth_anything_3/model/utils/block.py:22
↓ 1 callersClassDA3_Streaming
da3_streaming/da3_streaming.py:132
↓ 1 callersClassDepthAnything3
Depth Anything 3 main API class. This class provides a high-level interface for depth estimation using Depth Anything 3. It supports bot
src/depth_anything_3/api.py:48
↓ 1 callersClassEvaluator
Main evaluation orchestrator for DepthAnything3 benchmarks. Usage: evaluator = Evaluator( work_dir="./eval_workspace",
src/depth_anything_3/bench/evaluator.py:41
↓ 1 callersClassEventHandlers
Handles all event callbacks and user interactions for the Gradio app.
src/depth_anything_3/app/modules/event_handlers.py:35
↓ 1 callersClassFeatureFusionBlock
Top-down fusion block: (optional) residual merge + upsampling + 1x1 contraction
src/depth_anything_3/model/dpt.py:407
↓ 1 callersClassFileHandler
Handles file uploads and processing for the Gradio app.
src/depth_anything_3/app/modules/file_handlers.py:33
↓ 1 callersClassGaussians
3DGS parameters, all in world space
src/depth_anything_3/specs.py:24
↓ 1 callersClassInferenceResponse
Response model for inference API.
src/depth_anything_3/services/backend.py:65
↓ 1 callersClassInferenceService
Unified inference service class
src/depth_anything_3/services/inference_service.py:28
↓ 1 callersClassLogger
src/depth_anything_3/utils/logger.py:37
↓ 1 callersClassMlp
src/depth_anything_3/model/utils/attention.py:85
↓ 1 callersClassModelBackend
Model backend service with persistent model loading.
src/depth_anything_3/services/backend.py:96
↓ 1 callersClassModelInference
Handles model inference and data processing for Depth Anything 3.
src/depth_anything_3/app/modules/model_inference.py:34
↓ 1 callersClassOutputProcessor
Output processor for converting model outputs to Prediction objects. Handles tensor-to-numpy conversion, batch dimension removal, and cr
src/depth_anything_3/utils/io/output_processor.py:31
↓ 1 callersClassPCARGBVisualizer
Stable PCA→RGB for video features shaped (T, H, W, D) or a single frame (H, W, D). - Global mean/V3 reference for stable colors - Per-fra
src/depth_anything_3/utils/pca_utils.py:127
↓ 1 callersClassPositionGetter
Generates and caches 2D spatial positions for patches in a grid. This class efficiently manages the generation of spatial coordinates for patches
src/depth_anything_3/model/dinov2/layers/rope.py:23
↓ 1 callersClassPrediction
src/depth_anything_3/specs.py:35
↓ 1 callersClassRotaryPositionEmbedding2D
2D Rotary Position Embedding implementation. This module applies rotary position embeddings to input tokens based on their 2D spatial positio
src/depth_anything_3/model/dinov2/layers/rope.py:63
↓ 1 callersClassTaskStatus
Task status model.
src/depth_anything_3/services/backend.py:76
↓ 1 callersClassUIComponents
Handles UI component creation and layout for the Gradio app.
src/depth_anything_3/app/modules/ui_components.py:28
↓ 1 callersClassVPRModel
This is the main model for Visual Place Recognition we use Pytorch Lightning for modularity purposes. Args: pl (_type_): _description
da3_streaming/loop_utils/loop_detector.py:35
↓ 1 callersClassVisualizationHandler
Handles visualization updates and navigation for the Gradio app.
src/depth_anything_3/app/modules/visualization.py:28
ClassAttention
src/depth_anything_3/model/utils/attention.py:23
ClassAttention
src/depth_anything_3/model/dinov2/layers/attention.py:18
ClassBlock
src/depth_anything_3/model/dinov2/layers/block.py:26
ClassBlockChunk
src/depth_anything_3/model/dinov2/vision_transformer.py:76
ClassCameraDec
src/depth_anything_3/model/cam_dec.py:19
ClassCameraEnc
CameraHead predicts camera parameters from token representations using iterative refinement. It applies a series of transformer blocks (the
src/depth_anything_3/model/cam_enc.py:23
ClassColmapHandler
COLMAP data handler
src/depth_anything_3/services/input_handlers.py:106
ClassColor
src/depth_anything_3/utils/logger.py:19
ClassColors
ANSI escape codes for terminal colors.
src/depth_anything_3/bench/print_metrics.py:30
ClassDPT
DPT for dense prediction (main head + optional sky head, sky always 1 channel). Returns: - Main head: * If output_dim>1: { hea
src/depth_anything_3/model/dpt.py:31
ClassDTU
DTU Benchmark dataset wrapper for DepthAnything3 evaluation. Supports: - Camera pose estimation evaluation (AUC metrics) - 3
src/depth_anything_3/bench/datasets/dtu.py:53
ClassDTU64
DTU-64 Dataset wrapper for DepthAnything3 POSE EVALUATION ONLY. This dataset is a subset of DTU with 64 images per scene. It is specific
src/depth_anything_3/bench/datasets/dtu64.py:42
ClassDataset
Base class for all benchmark datasets. Subclasses must implement: - SCENES: List of scene identifiers - data_root: Path to d
src/depth_anything_3/bench/dataset.py:52
ClassDepthAnything3Net
Depth Anything 3 network for depth estimation and camera pose estimation. This network consists of: - Backbone: DinoV2 feature extractor
src/depth_anything_3/model/da3.py:40
ClassDinoV2
src/depth_anything_3/model/dinov2/dinov2.py:22
ClassDualDPT
Dual-head DPT for dense prediction with an always-on auxiliary head. Architectural notes: - Sky/object branches are removed. - `
src/depth_anything_3/model/dualdpt.py:30
ClassETH3D
ETH3D Benchmark dataset wrapper for DepthAnything3 evaluation. Supports: - Camera pose estimation evaluation (AUC metrics) -
src/depth_anything_3/bench/datasets/eth3d.py:64
ClassGSDPT
src/depth_anything_3/model/gsdpt.py:24
ClassGalleryHandler
src/depth_anything_3/services/gallery.py:704
ClassGaussianAdapter
src/depth_anything_3/model/gs_adapter.py:27
ClassHiRoomDataset
HiRoom Dataset wrapper for DepthAnything3 evaluation. Supports: - Camera pose estimation evaluation (AUC metrics) - 3D recon
src/depth_anything_3/bench/datasets/hiroom.py:66
ClassImageHandler
Single image handler
src/depth_anything_3/services/input_handlers.py:66
ClassImagesHandler
Image directory handler
src/depth_anything_3/services/input_handlers.py:76
ClassInferenceRequest
Request model for inference API.
src/depth_anything_3/services/backend.py:45
ClassInputHandler
Base input handler class
src/depth_anything_3/services/input_handlers.py:30
ClassMlp
src/depth_anything_3/model/dinov2/layers/mlp.py:16
ClassNestedDepthAnything3Net
Nested Depth Anything 3 network with metric scaling capabilities. This network combines two DepthAnything3Net branches: - Main branch: S
src/depth_anything_3/model/da3.py:308
ClassPatchEmbed
2D image to patch embedding: (B,C,H,W) -> (B,N,D) Args: img_size: Image size. patch_size: Patch token size. in_chans
src/depth_anything_3/model/dinov2/layers/patch_embed.py:25
ClassRegistry
src/depth_anything_3/utils/registry.py:19
ClassScanNetPP
ScanNet++ Benchmark dataset wrapper for DepthAnything3 evaluation. Supports: - Camera pose estimation evaluation (AUC metrics)
src/depth_anything_3/bench/datasets/scannetpp.py:62
ClassSevenScenes
7Scenes Benchmark dataset wrapper for DepthAnything3 evaluation. Supports: - Camera pose estimation evaluation (AUC metrics)
src/depth_anything_3/bench/datasets/sevenscenes.py:61
ClassSwiGLUFFN
src/depth_anything_3/model/dinov2/layers/swiglu_ffn.py:12
ClassSwiGLUFFNFused
src/depth_anything_3/model/dinov2/layers/swiglu_ffn.py:44
ClassVideoHandler
Video handler
src/depth_anything_3/services/input_handlers.py:187