/ Модель

Характеристики

Лицензия
Apache 2.0
Архитектура
depth_anything_3 · dense
Базовая модель
DA3METRIC-LARGE
Библиотека
transformers
Опубликована
27 окт 2026

DA3METRIC-LARGE

Оценка глубиныИзображение → depth_map3 профессии

Порт Depth Anything 3 для Transformers оценивает метрическую глубину и маску неба по изображению.

29скачиваний за 30 дней0лайковвеса обновлены27 окт 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

DA3METRIC-LARGE — неофициальный порт модели Depth Anything 3 в формате Transformers, подготовленный автором репозитория bigshanedogg на основе весов ByteDance Seed. Порт сохраняет тензоры исходного чекпойнта без изменений и предназначен для оценки метрической глубины по изображению; модель также формирует маску неба. Архитектура относится к семейству Depth Anything 3 и представлена классом DepthAnything3ForDepthEstimation.

Модель принимает изображение и выдаёт карту глубины, а также дополнительные выходы сети, включая маску неба. README сообщает о побитном совпадении предобработки и выходов с официальным пакетом на четырёх изображениях в fp32 и при autocast. Для воспроизводимости результатов с обработкой неба требуется фиксировать seed, поскольку там используется случайная выборка глубины. Для загрузки нужен Transformers с trust_remote_code; лицензия кода и весов — Apache-2.0.

Сценарии применения

  • построение метрической карты глубины по фотографии
  • оценка расстояний до объектов на изображении
  • выделение неба при анализе сцены
  • извлечение признаков визуальной сцены
  • подготовка геометрии сцены для многовидовых приложений

Ограничения

README не приводит численные метрики качества и сообщает, что часть выходов при обработке неба зависит от случайной выборки, поэтому для воспроизводимости нужно фиксировать seed. Для загрузки требуется включить trust_remote_code и установить дополнительные зависимости.

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

DA3METRIC-LARGE — transformers format

Unofficial transformers port of Depth Anything 3 DA3METRIC-LARGE (monocular metric model; metric monocular depth, sky mask). Loads with trust_remote_code; the depth_anything_3 package is not needed. model.safetensors holds the tensors of depth-anything/DA3METRIC-LARGE, unchanged (re-saved by save_pretrained; every tensor checked equal).

Not an official release. Depth Anything 3 was created by Haotong Lin, Sili Chen, Jun Hao Liew, Donny Y. Chen, Zhenyu Li, Guang Shi, Jiashi Feng and Bingyi Kang (ByteDance Seed) — https://github.com/ByteDance-Seed/depth-anything-3, paper "Depth Anything 3: Recovering the Visual Space from Any Views" (arXiv 2511.10647).

What it is

DepthAnything3ForDepthEstimation.model is the package's network, built from the checkpoint's own object graph (config.json → da3_config, identical to the package's configs/da3metric-large.yaml) the way depth_anything_3.cfg.create_object builds it; forward runs the network's forward and returns its outputs as a DepthAnything3Output (ModelOutput; the network's depth is named predicted_depth, the other keys keep their names). The network code is the official code (ByteDance-Seed/depth-anything-3 @ 3d835ec1) vendored into flat files (da3_*.py); the only edits are imports and one renamed logger. DepthAnything3Processor (processing_depth_anything_3.py, processor_config.json) wraps DepthAnything3ImageProcessor, which runs the package's InputProcessor.

Verified against the official package (same process and seeds, V100, 4 images): preprocessing and every output of the forward are bit-identical (also as a tuple), in fp32 and under the package API's autocast.

Usage

import torch
from PIL import Image
from transformers import AutoModelForDepthEstimation, AutoProcessor

model = AutoModelForDepthEstimation.from_pretrained("DA3METRIC-LARGE", trust_remote_code=True).eval().cuda()
processor = AutoProcessor.from_pretrained("DA3METRIC-LARGE", trust_remote_code=True)
inputs = processor(images=[Image.open(p) for p in paths], return_tensors="pt").to("cuda")  # pixel_values (1, N, 3, H, W)
dtype = torch.bfloat16 if torch.cuda.is_bf16_supported() else torch.float16  # the package API's autocast
with torch.no_grad(), torch.autocast("cuda", dtype=dtype):
    outputs = model(**inputs)  # outputs.predicted_depth (1, N, H, W), outputs.depth_conf, ...
  • AutoModel loads the same class; return_dict=False returns a tuple. Depth is at the processed resolution, as the package API returns it.
  • Backbone features: export_feat_layers=[i, ...] returns them in outputs.aux.
  • Some outputs use random sampling as in the original (sky handling samples depths): seed torch for reproducible runs.
  • Runtime packages beyond torch / transformers: addict, omegaconf, einops, opencv-python (as the original).

Licensing

  • Code and weights: Apache-2.0 — LICENSE (ByteDance-Seed/depth-anything-3), as published on depth-anything/DA3METRIC-LARGE.
  • Attribution, sources and the changes made here: NOTICE.

Citation

If you use this model, please cite the original work, as its authors ask:

@article{depthanything3,
  title={Depth Anything 3: Recovering the visual space from any views},
  author={Haotong Lin and Sili Chen and Jun Hao Liew and Donny Y. Chen and Zhenyu Li and Guang Shi and Jiashi Feng and Bingyi Kang},
  journal={arXiv preprint arXiv:2511.10647},
  year={2025}
}

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · transformers · depth-estimation

Нельзя запустить

Модели нужен код из репозитория; автор пока не в списке доверенных организаций.

Класс архитектуры
DepthAnything3ForDepthEstimation
Ревизия весов
b5f690d

0 моделей