/ Модель

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

Лицензия
Своя лицензия
Базовая модель
vit_base_patch16_dinov3.lvd1689m
Библиотека
timm
Опубликована
25 ноя 2026

postgd-dinov3-student

Эмбеддинги изображенийИзображение → embedding3 профессии

PostGD — визуальный энкодер DINOv3 ViT-B/16 для извлечения признаков изображений глазного дна после фотокоагуляции и адаптации к офтальмологическим задачам.

17скачиваний за 30 дней0лайковвеса обновлены25 ноя 2026

Бенчмарки

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

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

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

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

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

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

PostGD — предварительно обученный визуальный backbone ViT-B/16, разработанный для переноса представлений изображений глазного дна после лазерной фотокоагуляции. Модель основана на DINOv3 ViT-Base и содержит около 85,6 млн параметров; она извлекает 768-мерные признаки изображений. В README описано обучение студента с дистилляцией от замороженного учителя: использовались синтетические изображения, без ручной разметки на этом этапе.

Модель предназначена для извлечения эмбеддингов и последующей адаптации к сегментации лазерных рубцов, сосудов, диска и чашки зрительного нерва, классификации наличия рубца, а также локализации диска и фовеа. Для таких прогнозов нужны отдельно обученные task heads и размеченные реальные изображения; сам backbone не выдаёт готовые клинические предсказания. Рекомендуемая предобработка — RGB-изображение 224 × 224 с нормализацией ImageNet; для иных разрешений следует применять предобработку из руководства задачи.

Релиз предназначен для исследований послеоперационных изображений глазного дна и few-shot адаптации. Требуются отдельная проверка для каждой задачи, камеры и популяции пациентов; модель не является валидированной системой диагностики или планирования лечения. Доступны веса Safetensors и PyTorch. Лицензия указана как other, а файлы лицензии и уведомления отсылают к условиям DINOv3 и атрибуции.

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

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

Ограничения

Backbone не включает обученные task heads и не выдаёт готовые сегментации, классификации или локализации; для каждой задачи нужны размеченные данные и отдельная валидация. Модель не валидирована для диагностики или планирования лечения.

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

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

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

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

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

Открыть на Hugging Face

PostGD: pretrained ViT-B/16 student

PostGD learns transferable representations of post-photocoagulation fundus images through prior-guided synthetic image generation and teacher–student distillation. This release provides the pretrained student backbone for downstream adaptation.

Code and task heads · Training and usage guides

Model details

PropertyValue
ArchitectureDINOv3 ViT-B/16
Parameters85,641,216
Patch size / embedding dimension16 / 768
TeacherFrozen DINOv3 ViT-L/16
InitializationReleased DINOv3 weights, pretrained on LVD-1689M
Pretraining images200,000 prior-guided synthetic postoperative fundus images
Training inputRGB, 224 × 224
Released artifactRaw student weights, without task-specific heads

The backbone supports adaptation to laser-scar, vessel, optic-disc and optic-cup segmentation, laser-scar presence classification, and optic-disc/fovea localization. Task heads require separate training on real annotated images; the backbone alone does not produce those task predictions.

Load and extract image embeddings

pip install "timm>=1.0.31" torch torchvision huggingface_hub safetensors Pillow
from PIL import Image
import timm
import torch

model = timm.create_model("hf-hub:Deliver0/postgd-dinov3-student", pretrained=True)
model.eval()
data_config = timm.data.resolve_model_data_config(model)
transform = timm.data.create_transform(**data_config, is_training=False)
image = Image.open("fundus.png").convert("RGB")
with torch.inference_mode():
    embedding = model(transform(image).unsqueeze(0))
print(embedding.shape)  # [1, 768]

To use the original PyTorch checkpoint with the PostGD downstream scripts:

from huggingface_hub import hf_hub_download

path = hf_hub_download("Deliver0/postgd-dinov3-student", "student_final.pth")
print(path)  # pass this file to --student-weights in the PostGD repository

Preprocessing resizes the RGB image to 224 × 224 with bilinear interpolation, then normalizes with mean (0.485, 0.456, 0.406) and standard deviation (0.229, 0.224, 0.225). Use the task guide's preprocessing when adapting at other resolutions.

Training

The student is aligned with a frozen teacher using feature MSE through a 768-to-1024 linear projection and cosine consistency between student embeddings of two augmented views. The student and teacher start from pretrained DINOv3 weights. Synthetic images supply the distillation data; manual task labels are not used during this stage.

The configuration associated with this checkpoint records:

SettingValue
Epochs / synthetic images200 / 200,000
Global batch size640
Optimizer / learning rateAdamW / 0.0002
Weight decay / warm-up0.05 / 500 steps
Layer-wise learning-rate decay0.75
EMA decay0.999
Seed42

This download is the raw student checkpoint; EMA and downstream head weights are not included. The source-associated configuration is provided in training_config.json.

The manuscript specifies β=0.1 for the method. The source configuration associated with this released candidate records β=0.01; these are separate descriptions and the candidate is not presented as a verified reproduction of all manuscript settings.

Files and verification

  • model.safetensors: the student state dict in Safetensors format for timm Hub loading.
  • student_final.pth: the original PyTorch state dict for the PostGD scripts.
  • config.json: architecture and inference preprocessing.
  • training_config.json: training settings without machine-specific paths.
  • SHA256SUMS: file checksums.
  • LICENSE.md and NOTICE.md: DINOv3 terms and attribution.

The original checkpoint SHA-256 is 3de942cfab4657d05c201207b4760ce07cd1537a49bccbb7565d930ed04d8544. Both weight formats contain the same tensors. Strict state-dict loading and finite 768-dimensional embeddings have been checked on CPU.

Intended use and limitations

This model is intended for research on postoperative fundus representations and few-shot adaptation. It requires task-specific annotations and validation for each new task, camera and patient population. It is not a validated diagnostic or treatment-planning system. This backbone release does not include clinical data or task heads, and its loading checks do not establish downstream clinical performance. See the PostGD manuscript and code for the evaluation protocols.

License and attribution

These DINOv3-derived weights are distributed under the DINOv3 License, which accompanies this release. They are not licensed under the MIT license used for the original PostGD source code. DINOv3 was developed by Meta; this model is a PostGD adaptation and is not an official Meta release. The student initialization is described in the upstream model card.

Citation

Please cite A Generation–Distillation Foundation Model for Post-Photocoagulation Fundus Images and acknowledge DINOv3. Citation information is maintained in the PostGD repository.

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

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

GPU в ailist

Универсальный рантайм · timm · image-feature-extraction

Можно запустить

Подбираем GPU…

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

0 моделей