Skip to content
3D

DeltaRegion

локальное редактирование 3D-головы по тексту

2 min readupdated

DeltaRegion — модель от исследователей из UPC и IRI CSIC-UPC (часть работы ManifoldSplat, GCPR 2026), которая меняет геометрию 3D-модели головы FLAME 2020 по короткому текстовому запросу на английском языке. На вход подаются исходные 300 коэффициентов формы и команда вроде "make the nose long", а на выходе за один прямой проход получается обновлённая форма и вероятности выбора области лица. В основе лежит условный VAE (вариационный автоэнкодер) на 348M параметров, где текстовым энкодером выступает замороженный Flan-T5-Large (341,2M), а за прогнозирование дельты формы отвечают обученные модули на 6,8M параметров. В отличие от глобальных модификаций, встроенный механизм гейтинга удерживает изменения строго внутри указанной зоны — лица, носа, губ, ушей, шеи или глаз — не затрагивая мимику, позу и текстуры. Пригодится разработчикам 3D-аватаров, исследователям компьютерного зрения и тем, кто работает с анимируемыми 3D Gaussian Splatting моделями.

Ключевые особенности

  • Точечная локализация: изменения применяются только к одной из 6 выбранных областей (face, nose, lips, ears, neck, eyes) без деформации соседних черт.
  • Регулировка силы эффекта: интенсивность правки можно менять как словами в промпте (slightly, very), так и непрерывным параметром prior_scale.
  • Быстрый инференс: работает детерминированно за один проход, а веса Flan-T5-Large уже вшиты в чекпоинт (1,39 ГБ в fp32) и не требуют отдельных загрузок.
  • 129 прототипов правок: модель обучена на 580 500 синтетических триплетах, охватывающих разные формы носа, подбородка, скул, разреза глаз и губ.

Что можно сделать

  • Кастомизировать 3D-аватары: пошагово менять черты лица (например, сначала форму носа, затем толщину губ) для подготовки геометрии перед рендерингом в 3D Gaussian Splatting.
  • Дорабатывать трекинг лица: корректировать 300-мерные коэффициенты формы FLAME, полученные из трекеров вроде MICA, сохраняя исходную мимику и поворот головы.
  • Генерировать вариации датасетов: программно создавать серии морфологических изменений на базе нейтральной или пользовательской 3D-головы с разной степенью выраженности.

Пример

import torch
from transformers import AutoModel

model = AutoModel.from_pretrained("a-canela/DeltaRegion", revision="v1.0", trust_remote_code=True).eval()
out = model.edit("make the nose long", prior_scale=1.2)
edited_betas = out.pred_shape  # (1, 300) коэффициенты формы FLAME 2020
print(model.region_probabilities(out.gate))
ПодробнееПараметры: 348,0M (341,2M замороженный Flan-T5-Large + 6,8M обучаемые головы), вес файла 1,39 ГБ (fp32).
Обучение: 100 эпох (лучший чекпоинт на 71-й) на одной NVIDIA RTX 5090 за ~40 часов на 580 500 синтетических примерах (база LYHM + MICA).
Ограничения: только английский язык; один регион за один вызов (составные запросы нужно применять последовательно); значение prior_scale рекомендуется держать в пределах [0.5, 2].
Лицензия: CC BY-NC 4.0 (только некоммерческое использование; для перевода коэффициентов в 3D-меш требуются файлы FLAME 2020 с отдельной регистрацией).
Discuss Telegram 0 38

Will it run?

Runs in F32

Fits without quantisation.

  • F32weights 1.3 GB · ready files1.9 GB
  • BF16weights 0.6 GB1.2 GB
  • FP8 / INT8recommendedweights 0.3 GB0.9 GB
  • 4-bitweights 0.2 GB0.7 GB

Tip: go 8-bit.FP8 / INT8 is within about a percent of full precision in quality, takes half the memory and runs faster on RTX 40/50 and H100. Full precision only pays off for fine-tuning.

What to get for this model

Massed ComputeOpen Massed Compute

Your own GPU: FP8 / INT8 — from RTX 2060 · F32 — from RTX 2060

Massed Compute hourly prices, November 2026. The discounted price applies with the coupon at checkout.

Estimate: weights plus working memory. Long videos, high resolutions and long contexts need more.

Run it on Massed Compute

The script downloads the model to the rented machine. How to run it is in the model card.

  1. 1. Rent a machine with a fitting GPU

    Open Massed Compute
  2. 2. Paste the script into the machine's terminal

    Connect over SSH (the Massed Compute panel shows the command) or open a terminal on the machine's desktop.

    HF_TOKEN / CIVITAI_TOKENThe script starts with token lines: paste yours between the quotes. The Hugging Face token is for gated models, the Civitai one for Civitai models.

    # a-canela/DeltaRegion
    mkdir -p ~/models
    curl -LsSf https://astral.sh/uv/install.sh | sh
    source "$HOME/.local/bin/env"
    uv tool install "huggingface_hub[cli]"
    hf download a-canela/DeltaRegion --local-dir ~/models/DeltaRegion
    # The model is in ~/models. How to run it is in the model card (link above).
    Add more LoRAs to DeltaRegion
  3. 3. Use it

    The model is in ~/models. How to run it is in the model card (link above).

Stop the machine in the panel when you are done: it bills by the minute while it runs.

How to speed it up

Picked for this model type. Choose your hardware above to see what fits you exactly.

  • FlashAttention 44.0.0b40from November 18, 2026new release

    fastest exact attention on B200

    Kernels for Blackwell (beta). Exact attention without quantisation — fine for everything, LLMs included.

    How to enable: pip install flash-attn-4; vLLM and SGLang pick it up themselves.

    Earlier generations (2)
    • FlashAttention 3 — The Hopper (H100/H200) version with FP8.
    • FlashAttention 2 — The standard for RTX 30/40/50 and A100: exact attention without the memory cost of long contexts.
  • torch.compile2.15.0from October 28, 2026new release

    10–30% for free

    Compiles the model for your GPU. Slower first run, faster afterwards.

    How to enable: model = torch.compile(model); in ComfyUI the TorchCompileModel node.

Model family

New posts about versions of DeltaRegion (quants, finetunes, LoRAs) will show up under the bell.

No known relatives of this model yet. All derivatives on Hugging Face

About the model

a-canela/DeltaRegion
Author
a-canela
Category
3D
Released
Posted

On NeyroLearn

Hugging Face

380

Ask AI about this model

Answered by Gemini 4 · the chat is kept only in this tab

Comments

3D

Eco3R

Eco3R
3D

EcoVGGT

EcoVGGT