/ Модель

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

Лицензия
Своя лицензия
Опубликована
16 сен 2026

deepcoro_clip_mace

Классификация видеоВидео → label3 профессии

Модель HeartWise оценивает годовой риск сердечно-сосудистых событий по многопроекционным видео коронарной ангиографии для исследовательской валидации.

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

Бенчмарки

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

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

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

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

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

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

DeepCORO-CLIP MACE — модель HeartWise для оценки риска крупных неблагоприятных сердечно-сосудистых событий в течение года по полному многопроекционному исследованию коронарной ангиографии. Она выдаёт оценки риска для девяти бинарных конечных точек, включая срочную реваскуляризацию, нефатальный инфаркт миокарда и сердечно-сосудистую смерть; отдельной головы для составной конечной точки core-events в этом чекпойнте нет.

Модель дообучена сквозным образом на видеокодировщике MViT-v2-S, предварительно обученном в составе DeepCORO-CLIP. Для исследования объединяются признаки до трёх видео с помощью многоэкземплярного pooling по cls_token. Каждое видео обрабатывается как 16 кадров размером 224×224 с шагом 1. На вход подаются видео коронарной ангиографии; на выходе — текстовые метки конечных точек и числовые оценки риска. Модель предназначена для анализа коронарной ангиографии, а не для общего медицинского прогнозирования.

В README приведены результаты на 350 исследованиях, но часть этой когорты могла пересекаться с обучающей или валидационной выборкой данного чекпойнта, поэтому эти показатели нельзя считать независимой внешней оценкой. Модель не прошла проспективную валидацию и не имеет регуляторного допуска; авторы предназначают её для исследований и внешней валидации, не для клинического применения. Лицензия указана в метаданных как other, без конкретных условий.

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

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

Ограничения

Модель не прошла проспективную валидацию и не имеет регуляторного допуска, поэтому не предназначена для клинического применения. Оценки на описанной когорте могут быть завышены из-за возможного пересечения с обучающей или валидационной выборкой; результаты для сердечно-сосудистой смерти ненадёжны из-за малого числа событий.

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

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

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

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

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

Открыть на Hugging Face

DeepCORO-CLIP MACE (transfer-learning heads)

One-year major adverse cardiovascular event (MACE) prediction from a complete multi-view coronary angiography study. The DeepCORO-CLIP video–language encoder is fine-tuned end-to-end with a multi-instance (study-level) pooling head and one sigmoid output per endpoint.

Research use only — not for clinical use. The model has not been prospectively validated and carries no regulatory clearance. Angiographic videos alone cannot capture the full clinical picture; outputs are risk scores for research and external-validation purposes.

Code, configs and the Docker external-validation pipeline: https://github.com/HeartWise-AI/DeepCORO_CLIP

Files

PathContent
11zt0zl5_20250723-162407/models/best_model_epoch_18.ptReleased checkpoint. Full fine-tuned model (linear_probing state dict: MViT encoder + MIL pooling + 9 heads), epoch 18 of run 11zt0zl5.
11zt0zl5_20250723-162407/config.yamlTraining configuration of the released checkpoint.
config.jsonArchitecture / preprocessing summary (mean, std, num_videos, pooling).
class_mapping.jsonHead names, task type and default 0.5 threshold.
inference_external_validation.yamlReady-to-run inference config for scripts/runner.sh in the GitHub repo.
m3wanj4z_20251201-225344/config.yamlW&B training config of the manuscript Table 4 model (weights not included, see Provenance).
7vhghgbs_20260112-132350/config.yamlW&B inference config that produced the manuscript Table 4 predictions.

Heads

HeadEndpoint
mace_urgent_revascularization_binaryUrgent revascularization within 1 year
mace_non_fatal_mi_binaryNon-fatal myocardial infarction within 1 year
mace_cv_death_binaryCardiovascular death within 1 year (very few events; unreliable)
complete_occlusion_coronary_disease_binaryComplete coronary occlusion on the index angiogram
mace_binaryComposite of any component below
mace_non_fatal_stroke_binary, mace_heart_failure_hosp_binary, mace_life_threatening_arrhythmia_binary, mace_cardiogenic_shock_binarySecondary components (few events; exploratory)

The manuscript's core-events composite (urgent revascularization, non-fatal MI, CV death) has no dedicated head in this checkpoint. Use mace_binary, or the maximum of the three component probabilities; both give equivalent discrimination (see below).

Architecture and preprocessing

  • Encoder: MViT-v2-S video backbone (DeepCORO-CLIP pretrained), 16 frames, stride 1, 224×224.
  • Study-level aggregation: cls_token multi-instance pooling over up to 3 videos per study (num_videos: 3); studies with more videos are subsampled, fewer are padded with a real-video mask.
  • Heads: 9 × linear (dim 1) with BCE-with-logits loss.
  • Normalization (training-set statistics of run 11zt0zl5, apply as-is on new data, do not recompute): mean = [107.362, 107.362, 107.362], std = [34.678, 34.678, 34.678] on 0–255 pixel values.
  • Input CSV: α-separated, one row per video, FileName (AVI/MP4 path), StudyInstanceUID, Split == "inference". Ground-truth columns are optional.

Performance

Released checkpoint (11zt0zl5, epoch 18) on the manuscript MACE test cohort

350 studies (338 patients), Montreal Heart Institute, followed up to one year. Study-level AUROC with 1,000-resample bootstrap 95% CI. Predictions were regenerated with the public repository code (config/inference/mace_external_validation_inference.yaml).

EndpointEventsAUROC (95% CI)AUPRC
Urgent revascularization89/3500.82 (0.78–0.87)0.62
Non-fatal MI37/3500.78 (0.69–0.85)0.30
Complete coronary occlusion25/3500.81 (0.72–0.89)0.28
Composite (any component, mace_binary)134/3500.78 (0.73–0.83)0.68
Core-events composite, scored with mace_binary111/3500.82 (0.76–0.86)—
Core-events composite, max of component heads111/3500.81 (0.76–0.85)—
CV death4/3500.42 (0.11–0.83)0.01

Caveat. This cohort was the held-out test set of the manuscript model, not of this checkpoint: 49 of the 350 studies were in the validation split of run 11zt0zl5, and its training split file is no longer available, so training-set overlap cannot be excluded. Treat these numbers as internal performance, not as a clean held-out estimate. External validation on an independent cohort is the purpose of this release.

Validation-split AUROC logged during training (W&B, epoch 18): urgent revascularization 0.78, non-fatal MI 0.77, complete occlusion 0.87, composite 0.69.

Manuscript Table 4 (run m3wanj4z, same 350-study cohort, for reference)

EndpointAUROC (95% CI)
Urgent revascularization0.82 (0.77–0.87)
Non-fatal MI0.71 (0.63–0.80)
Complete coronary occlusion0.77 (0.64–0.87)
Composite core events0.79 (0.74–0.84)

Provenance

  • 11zt0zl5 (July 2025): 9 binary heads, cls_token pooling, num_videos 3, 20 epochs, best epoch 18 by validation loss. This is the checkpoint released here.
  • m3wanj4z (December 2025): 4 heads (urgent revascularization, non-fatal MI, complete occlusion, core-events composite), attention+cls_token pooling, num_videos 10, best epoch 1. Its epoch-1 checkpoint produced the manuscript Table 4 numbers via inference run 7vhghgbs (January 2026). The checkpoint lived in a working copy that has since been deleted and was not archived; only its W&B configs survive and are included so the recipe can be re-run.

Usage

git clone https://github.com/HeartWise-AI/DeepCORO_CLIP && cd DeepCORO_CLIP
# weights/deepcoro_clip_mace/ is populated by utils/download_pretrained_weights.py (needs api_key.json)
cp inference_external_validation.yaml config/inference/   # or use the copy shipped in the repo
bash scripts/runner.sh --base_config config/inference/mace_external_validation_inference.yaml \
     --run_mode inference --use_wandb false --selected_gpus 0

Docker external validation from DICOMs (DICOM → AVI → VasoVision view filtering → DeepCORO MACE):

docker run --rm --gpus all --ipc=host \
  -e EXTERNAL_VALIDATION_DATA_PATH=/app/data/input.csv \
  -e DEEPCORO_BASE_CONFIG=config/linear_probing/mace/docker_base_config_mace.yaml \
  -v /path/to/dicoms:/path/to/dicoms -v /path/to/input.csv:/app/data/input.csv \
  -v /path/to/results:/workspace/results deepcoro_clip-docker python scripts/external_validation.py

Outputs: inference_predictions_best_epoch_-1.csv with one row per study and a <head>_pred probability column per head.

Citation

DeepCORO-CLIP: a video–language foundation model for coronary angiography (HeartWise-AI, Montreal Heart Institute). See the GitHub repository for the current citation.

PACS-AI container

This checkpoint is served by the PACS-AI inference container built from HeartWise-AI/pacs-ai-backend. The container downloads the weights from a pinned revision of this repository and verifies their SHA-256.

FieldValue
Containermodel-examples/DeepCORO-MACE
Container version1.0.4
Imageheartwisehub/pacs-ai-deepcoro-mace@sha256:2df1d9513a5ffa29df44db9920c1fb7e1c6dcef22b089a6bca7e412d73afe93b
Release date2026-11-27
Weightsunchanged: 11zt0zl5_20250723-162407/models/best_model_epoch_18.pt, SHA-256 7edeb4743681afda4ce42254a257c81fb8bbaa7d2886329fbbd6bf298ac8a563, revision 7be030d1c7b62e41f45a4dd35adff9dae21d884f
PACS-AI statusLive on MHI

Changelog 1.0.4: Python dependency security update (torch 2.13.0 and torchvision 0.28.0, CUDA 12.6 wheels); weights unchanged. Also includes the already-merged input fix that converts high-bit (10/12-bit) and MONOCHROME1 angiograms correctly. The dependency update alone does not change outputs (max difference 0 against the same code on the previous dependencies, 10 inputs). Compared with the previous live container, outputs change on 12-bit and MONOCHROME1 studies, which are now read correctly; 8-bit studies are unchanged.

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

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

GPU в ailist

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

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

Не удалось определить, чем загружать веса модели (нет library_name и architectures).

Ревизия весов
626853c

0 моделей