/ Модель

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

Лицензия
MIT
Базовая модель
renderformer-v1-base
Библиотека
gaussianformer
Опубликована
29 сен 2026

gaussianformer-v20

Преобразование изображенийИзображение, текст → изображение3 профессии
46скачиваний за 30 дней0лайковвеса обновлены9 ноя 2026

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

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

GaussianFormer рендерит новые ракурсы из сцен 3D Gaussian Splatting с помощью трансформера без оптимизации для каждой сцены.

GaussianFormer — трансформерная модель Shahaf Vardi для рендеринга сцен 3D Gaussian Splatting без отдельной оптимизации для каждой сцены. Она адаптирует RenderFormer: параметры каждой гауссианы кодируются как токен сцены, а двухэтапная архитектура включает независимый от ракурса энкодер сцены и декодер лучей с учётом ракурса и DPT-головой. Веса инициализированы из microsoft/renderformer-v1-base; модель обучалась на Objaverse_Splats и принимает сцены примерно из 20 тысяч гауссиан, выдавая изображения новых ракурсов.

Модель предназначена для синтеза новых видов изолированных 3D-объектов. В тесте на 300 объектах из обучающего распределения она достигла PSNR 37,08 дБ; тонкие детали, гравировки и мелкий текст получаются мягче, чем при растеризации исходной сцены. Обучение рассчитано на центрированные одиночные объекты с заданным полем зрения и расстояниями камеры; многобъектные сцены и реальные захваты не оценивались. Цвет гауссиан считается независимым от ракурса. Для запуска README указывает Linux и NVIDIA GPU; распространяется по лицензии MIT.

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

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

Ограничения

Модель обучена на центрированных одиночных объектах; многобъектные сцены и реальные захваты не оценивались. Она использует только DC-цвет гауссиан, требует около 20 тысяч гауссиан на входе, а тонкие детали и мелкий текст могут выглядеть мягче растеризованного исходника.

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

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

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

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

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

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

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

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

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

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

Открыть на Hugging Face

GaussianFormer

GaussianFormer renders 3D Gaussian Splatting scenes with a transformer, without per-scene optimization. It adapts RenderFormer (SIGGRAPH 2025), a transformer renderer for triangle meshes: each Gaussian's 14 parameters [pos(3), scale(3), quat(4), rgb(3), opacity(1)] become one scene token, and the two-stage architecture (view-independent scene encoder, view-dependent ray decoder with a DPT head) is kept and warm-started from RenderFormer's weights.

Eight objects never seen in training: ground truth (full splat) and GaussianFormer, PSNR per view.

Two held-out objects, rasterized (left) and rendered by GaussianFormer (right): a camera orbit and a tumbling object.

Code: github.com/SVLwoof/gaussianformer

How to use

Install the code with uv (Linux, NVIDIA GPU, Python 3.12); this also brings PyTorch for CUDA 12.8 and a prebuilt Flash Attention wheel:

uv add "gaussianformer[flash] @ git+https://github.com/SVLwoof/gaussianformer"   # or: uv pip install "..."

With pip, install Flash Attention separately (pip does not read uv's sources):

pip install "gaussianformer @ git+https://github.com/SVLwoof/gaussianformer"
pip install https://github.com/Dao-AILab/flash-attention/releases/download/v2.8.3/flash_attn-2.8.3+cu12torch2.9cxx11abiTRUE-cp312-cp312-linux_x86_64.whl

Then, from a 3D Gaussian Splatting PLY:

import torch
from gaussianformer import GaussianFormerRenderingPipeline, load_ply
from gaussianformer.utils.cameras import orbit

pipeline = GaussianFormerRenderingPipeline.from_pretrained("shahafvl/gaussianformer-v20").to("cuda")
gaussians = load_ply("object.ply", up="z")     # [N, 14]; up = the file's up axis
c2w = torch.from_numpy(orbit(8, 1.7))          # [V, 4, 4] camera-to-world (-Z forward, +Y up)
images = pipeline(gaussians, c2w, fov=45.0)    # [V, 512, 512, 3]

The model takes each Gaussian as 14 activated values, pos(3) | scale(3) | quat wxyz(4) | rgb(3) | opacity(1): linear scales, a unit quaternion, colors and opacity in [0, 1], for an object centered, Y-up and scaled into [-0.45, 0.45]^3, about 20k Gaussians. A PLY stores log scales, raw quaternions, spherical-harmonic coefficients and opacity logits; load_ply converts them, normalizes the object, prunes it to 20k Gaussians and fine-tunes the kept ones against the full splat (about a minute on a GPU).

From the command line, in a clone of the repository (uv sync):

uv run python -m tools.ply_to_h5 --ply object.ply --out object.h5 --up z
uv run python infer.py --model shahafvl/gaussianformer-v20 --h5 object.h5 --out renders/   # one PNG per camera

Results

300 objects held out from training, 4 views each (views 0, 4, 7 and 11 at camera distance 1.7), PSNR on the object's bounding box against the full-splat ground truth:

PSNR (dB)LPIPS
gsplat rasterization of the same 20k-Gaussian input44.97reference
GaussianFormer37.08+0.009 over rasterization
  • PSNR quantiles over the 300 objects (10 / 50 / 90 %): 33.3 / 37.5 / 40.9 dB.
  • Closer in (distance 1.15, the same four angles): 36.87 dB, against 42.24 dB for rasterization.
  • On 300 training objects the same metric is 37.19 dB, 0.11 dB above the held-out objects.

A held-out object up close: ground truth, rasterization of the 20k-Gaussian input, GaussianFormer, and its absolute error.

Changes over RenderFormer

Besides the Gaussian input tokens and the training data:

  • Projected 2D RoPE (proj_rope_2d): each Gaussian is projected into the view, and its image coordinates enter the view decoder's cross-attention as a 2D rotary embedding matched against each patch's position.
  • Windowed cross-attention (xattn_window=8): each tile of 8x8 patches attends only to the Gaussians whose projected footprint reaches it. Needs Flash Attention on GPU.
  • 4 px patches (patch_size=4, ray_embed_patch=8): RenderFormer uses 8 px patches; 4 px gives a 128x128 token grid at 512 px, affordable because of the windowing. The pretrained 8 px ray embedding is reused.

Training

  • Data: all 26,820 training objects of Objaverse_Splats, each pruned from ~50k to 20k Gaussians (LightGaussian importance score, then a short recovery fine-tune of the kept Gaussians). Targets are gsplat renders of the full, unpruned splat at 512 px: 28 views per object at camera distances 1.15, 1.7 and 2.45.
  • Schedule: initialized from RenderFormer's weights and trained at 256 px, then 385k steps at 512 px on 8 GPUs (one view per GPU per step; 4 passes over every view): a warmup-stable-decay learning rate at 5e-5, with a cosine decay to 5e-7 over the last 10k steps. About 4.5 days on 8 L40S.
  • Loss: log-HDR L1 (background pixels weighted 0.05) and LPIPS-VGG, 0.5 each.
  • The 256 px checkpoint the last two stages start from is published as gaussianformer-256px; scripts/train.sh in the code repository runs all stages.

Limitations

  • Trained on isolated single objects centered in [-0.45, 0.45]^3, 45° FOV, camera distances 1.15 to 2.45. The held-out objects come from the same distribution; multi-object scenes and real captures are not evaluated.
  • Colors are view-independent (only the DC color of each Gaussian is used).
  • Inputs of about 20k Gaussians; scene-encoder attention is quadratic in the number of Gaussians.
  • Fine detail (thin strokes, engravings, small text) is softer than rasterizing the same splat.

License

MIT, for the weights as for the code. The model is trained on Objaverse_Splats, splats fit to Objaverse objects, each of which keeps its creator's license.

Citation

A paper on GaussianFormer is in preparation and will be presented at a later date; its citation will be added here.

GaussianFormer builds on RenderFormer; please also cite:

@inproceedings{zeng2025renderformer,
  title     = {RenderFormer: Transformer-based Neural Rendering of Triangle Meshes with Global Illumination},
  author    = {Chong Zeng and Yue Dong and Pieter Peers and Hongzhi Wu and Xin Tong},
  booktitle = {ACM SIGGRAPH 2025 Conference Papers},
  year      = {2025}
}

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

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

GPU в ailist

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

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

Модели «картинка → картинка» пока не запускаются: нужен ввод изображения для diffusion.

Ревизия весов
ebd9180

0 моделей