/ Модель

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

Лицензия
Apache 2.0
Библиотека
pytorch
Опубликована
21 ноя 2026

Kosmo-GFM

Языковая модель3 профессии
29скачиваний за 30 дней0лайковвеса обновлены21 ноя 2026

Описание модели

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

Производная модели Kosmo-Research/Kosmo-GFM. Kosmo-GFM — семейство моделей Kosmo Research для оценки глубины, камер и 3D-геометрии по нескольким изображениям или видеокадрам.

Карточка модели afafgafugkar9999/Kosmo-GFM на Hugging Face совпадает с карточкой Kosmo-Research/Kosmo-GFM, поэтому описание составлено по ней.

Kosmo-GFM — семейство геометрических моделей от Kosmo Research для восстановления 3D-сцены по изображениям и видеокадрам. Модели используют общий многовидовой энкодер на базе ViT-g и специализированные декодеры для геометрии, движения и сопоставления изображений. В репозитории представлены конфигурации GFM, Camera Condition GFM, GFM 4D и GFM с MVLoMA; для указанных геометрических чекпойнтов размер составляет примерно 1,65–1,77 млрд параметров, а голова сопоставления MVLoMA добавляет 75,9 млн параметров.

Модель оценивает глубину и параметры камер, строит облака точек, а версия GFM 4D также предсказывает движение 3D-точек между кадрами. Camera Condition GFM принимает параметры камер — внутренние и внешние матрицы — для реконструкции при известных позах; MVLoMA сопоставляет точки между изображениями. Входом служат изображения или видеокадры, результаты включают геометрию, камеры, движение и соответствия. Для инференса требуются Python 3.10 или новее и CUDA GPU; доступны PyTorch-чекпойнты. Лицензия — Apache-2.0.

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

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

Ограничения

Для инференса необходима CUDA-видеокарта; для Camera Condition GFM требуются корректные матрицы внутренних и внешних параметров камер. Полные конвейеры PoseEngine и Gaussian Splatting из технического отчёта в репозиторий не входят.

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus

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

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

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

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

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

Открыть на Hugging Face

Kosmo-GFM: A Production-Ready Geometry Foundation Model

Kosmo Research

Technical Report · Project · Code · Checkpoints

Kosmo-GFM: static scene reconstructions and dynamic 3D motion trajectories

Overview

Kosmo-GFM predicts camera parameters, depth, cross-view correspondences, and dynamic 3D points from images and videos. A shared multi-view encoder supports task-specific geometry, motion, and matching decoders, with optional camera conditioning for reconstruction from known poses.

The code repository provides standalone inference for GFM, Camera Condition GFM, GFM 4D, and MVLoMA. The full PoseEngine and Gaussian Splatting pipelines described in the technical report are not included.

Model Cards

All geometry models use a ViT-g backbone. Parameter counts are rounded for the provided checkpoints. ✅ indicates a supported capability; — indicates it is not part of that inference configuration.

ModelParamsDepthCamera Est.Camera Cond.4D MotionMatching
GFM1.66B✅✅———
Camera Condition GFM1.77B✅✅✅——
GFM 4D1.65B✅✅—✅—
GFM + MVLoMA1.73B✅✅——✅
  • Camera Condition GFM is the Camera-pose scale version and takes camera extrinsics and intrinsics as input.
  • GFM + MVLoMA shares the GFM encoder and adds a 75.9M-parameter matching head. It requires both the GFM and MVLoMA checkpoints.
  • GFM 4D predicts geometry and cross-frame motion for Dynamic Points and Scene Flow evaluation.
CheckpointInference configuration
gfm_3d.pthGFM: depth, cameras, and point clouds
gfm_3d_camera_cond.pthCamera Condition GFM: Camera-pose scale version
gfm_4d.pthGFM 4D: geometry and cross-frame motion
mvloma.pthMVLoMA matching head; requires gfm_3d.pth

Quick Start

Download the code and checkpoints, then run inference from the code repository root.

Installation

Requires Python 3.10+ and a CUDA GPU. Install a compatible PyTorch / torchvision build, then:

git clone https://github.com/KosmoResearch/Kosmo-GFM.git
cd Kosmo-GFM
pip install -e .
pip install -U huggingface_hub
# Optional PLY/GLB export
pip install -r requirements-optional.txt

Download Checkpoints

Download all four checkpoints into the weights/ directory. The checkpoint manifest maps each inference configuration to its required weight files:

import json
from pathlib import Path
from huggingface_hub import hf_hub_download, snapshot_download

repo_id = "KosmoResearch/Kosmo-GFM"
config_path = hf_hub_download(
    repo_id=repo_id, filename="config.json", local_dir="weights"
)
config = json.loads(Path(config_path).read_text())

selected_models = list(config["models"])  # All inference configurations.
# For GFM + MVLoMA only: selected_models = ["gfm_3d_with_mvloma"]
checkpoints = sorted({
    filename
    for name in selected_models
    for filename in config["models"][name]["checkpoints"]
})
snapshot_download(
    repo_id=repo_id, local_dir="weights", allow_patterns=checkpoints
)

To download a subset, set selected_models to any of gfm_3d, gfm_3d_camera_cond, gfm_4d, or gfm_3d_with_mvloma. The MVLoMA configuration includes both gfm_3d.pth and mvloma.pth. config.json is a checkpoint manifest for the standalone GFM scripts; it is not a Transformers AutoModel configuration.

See the Hugging Face download guide for authentication and download options.

These are PyTorch checkpoints loaded by the GFM inference scripts.

Inference

Run from the repository root with your own images or video frames.

GFM

python tools/infer_3d.py \
  --checkpoint weights/gfm_3d.pth --input /path/to/images \
  --output outputs/gfm --save-npz --no-ply --no-glb

Exports depth, confidence, cameras and point clouds to predictions.npz. The default backbone is vitg; use --model-size to match your checkpoint.

Camera Condition GFM

The provided checkpoint is the Camera-pose scale version.

python tools/infer_3d_camera_cond.py \
  --checkpoint weights/gfm_3d_camera_cond.pth --input /path/to/images \
  --camera-npz /path/to/cameras.npz --output outputs/gfm_camera \
  --save-npz --no-ply --no-glb

The camera NPZ requires extrinsics ([N,4,4] or [N,3,4], OpenCV world-to-camera) and intrinsics ([N,3,3], at original image resolution). Cameras follow filename-sorted image order unless image_names is supplied. Use --camera-convention c2w for camera-to-world matrices.

GFM 4D

python tools/infer_4d.py \
  --checkpoint weights/gfm_4d.pth --input /path/to/frames \
  --output outputs/gfm_4d --save-npz --no-ply --no-glb

Exports geometry, cameras and motion to predictions.npz at relative scene scale. Use --chunk-size to control query decoding memory.

GFM with MVLoMA

python tools/infer_3d_with_mvloma.py \
  --checkpoint weights/gfm_3d.pth --mvloma-checkpoint weights/mvloma.pth \
  --input /path/to/images --output outputs/gfm_with_mvloma --no-ply --no-glb

Exports geometry to predictions.npz and image matches to matches.npz. Requires at least two images. Use --all-pairs to export every image pair.

For PLY/GLB output, install the optional dependencies and omit --no-ply --no-glb. Each script provides additional options through --help.

Benchmarks

SpatialBench

GFM results on SpatialBench. Higher is better for ↑; lower is better for ↓. Accuracy and AUC values are reported on a 0–1 scale.

Depth

SettingAbsRel↓SqRel↓RMSE↓δ1.03↑δ1.05↑δ1.10↑
Sparse0.06300.10930.62070.66960.78100.8816
Medium0.05940.08840.58220.68950.80770.9025

Camera

SettingRAcc3↑RAcc5↑TAcc3↑TAcc5↑AUC@5↑AUC@15↑AUC@30↑
Sparse0.83580.90550.64570.73940.57260.74120.8226
Medium0.83100.89380.64680.73220.58200.74500.8281

See SpatialBench for evaluation usage.

GFM4DBench

GFM results on GFM4DBench.

DatasetPoint APD (%)↑Point EPE (m)↓Flow Accuracy (%)↑Flow EPE (m)↓
Panoptic Studio83.410.141150.150.1257
PointOdyssey85.730.147483.020.0521
Dynamic Replica80.760.201791.310.0279
Aria Digital Twin89.780.110296.340.0134
SynthVerse42.491.110534.560.7213
Mean76.430.342271.080.1881

Mean is the arithmetic average across all five datasets.

See GFM4DBench for Dynamic Points and Scene Flow evaluation on TapVid3D / WorldTrack and SynthVerse.

Acknowledgements

Thanks to VGGT, DINOv2, Depth Anything 3, DPT, DeDoDe, DaD, LightGlue, SpatialBench, and Open-d4rt.

Citation

@techreport{kosmo2026gfm,
  title={{Kosmo-GFM}: A Production-Ready Geometry Foundation Model},
  author={{Kosmo Research}},
  institution={Kosmo Research},
  year={2026},
  url={https://arxiv.org/abs/2611.16840}
}

License

Original code is licensed under Apache-2.0. Third-party terms, including the VGGT use restrictions, also apply; see NOTICE and provenance notes.

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

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

GPU в ailist

Универсальный рантайм · pytorch

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

3D-генерация пока не поддерживается рантаймом.

Ревизия весов
3c8f0fc

0 моделей