Commit
·
873e8c1
1
Parent(s):
13b8d53
Upload model weights
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- .gitignore +3 -0
- .pre-commit-config.yaml +71 -0
- README.md +92 -3
- finetuned/classification_cvd/acdc_sax.yaml +21 -0
- finetuned/classification_cvd/acdc_sax_0.safetensors +3 -0
- finetuned/classification_cvd/acdc_sax_1.safetensors +3 -0
- finetuned/classification_cvd/acdc_sax_2.safetensors +3 -0
- finetuned/classification_cvd/mnms2_lax_4c.yaml +21 -0
- finetuned/classification_cvd/mnms2_lax_4c_0.safetensors +3 -0
- finetuned/classification_cvd/mnms2_lax_4c_1.safetensors +3 -0
- finetuned/classification_cvd/mnms2_lax_4c_2.safetensors +3 -0
- finetuned/classification_cvd/mnms2_sax.yaml +21 -0
- finetuned/classification_cvd/mnms2_sax_0.safetensors +3 -0
- finetuned/classification_cvd/mnms2_sax_1.safetensors +3 -0
- finetuned/classification_cvd/mnms2_sax_2.safetensors +3 -0
- finetuned/classification_cvd/mnms_sax.yaml +21 -0
- finetuned/classification_cvd/mnms_sax_0.safetensors +3 -0
- finetuned/classification_cvd/mnms_sax_1.safetensors +3 -0
- finetuned/classification_cvd/mnms_sax_2.safetensors +3 -0
- finetuned/classification_sex/mnms_sax.yaml +21 -0
- finetuned/classification_sex/mnms_sax_0.safetensors +3 -0
- finetuned/classification_sex/mnms_sax_1.safetensors +3 -0
- finetuned/classification_sex/mnms_sax_2.safetensors +3 -0
- finetuned/classification_vendor/mnms2_lax_4c.yaml +21 -0
- finetuned/classification_vendor/mnms2_lax_4c_0.safetensors +3 -0
- finetuned/classification_vendor/mnms2_lax_4c_1.safetensors +3 -0
- finetuned/classification_vendor/mnms2_lax_4c_2.safetensors +3 -0
- finetuned/classification_vendor/mnms2_sax.yaml +21 -0
- finetuned/classification_vendor/mnms2_sax_0.safetensors +3 -0
- finetuned/classification_vendor/mnms2_sax_1.safetensors +3 -0
- finetuned/classification_vendor/mnms2_sax_2.safetensors +3 -0
- finetuned/landmark_coordinate/lax_2c.yaml +19 -0
- finetuned/landmark_coordinate/lax_2c_0.safetensors +3 -0
- finetuned/landmark_coordinate/lax_2c_1.safetensors +3 -0
- finetuned/landmark_coordinate/lax_2c_2.safetensors +3 -0
- finetuned/landmark_coordinate/lax_4c.yaml +19 -0
- finetuned/landmark_coordinate/lax_4c_0.safetensors +3 -0
- finetuned/landmark_coordinate/lax_4c_1.safetensors +3 -0
- finetuned/landmark_coordinate/lax_4c_2.safetensors +3 -0
- finetuned/landmark_heatmap/lax_2c.yaml +21 -0
- finetuned/landmark_heatmap/lax_2c_0.safetensors +3 -0
- finetuned/landmark_heatmap/lax_2c_1.safetensors +3 -0
- finetuned/landmark_heatmap/lax_2c_2.safetensors +3 -0
- finetuned/landmark_heatmap/lax_4c.yaml +21 -0
- finetuned/landmark_heatmap/lax_4c_0.safetensors +3 -0
- finetuned/landmark_heatmap/lax_4c_1.safetensors +3 -0
- finetuned/landmark_heatmap/lax_4c_2.safetensors +3 -0
- finetuned/regression_age/mnms_sax.yaml +23 -0
- finetuned/regression_age/mnms_sax_0.safetensors +3 -0
- finetuned/regression_age/mnms_sax_1.safetensors +3 -0
.gitignore
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
.idea/
|
2 |
+
.DS_Store
|
3 |
+
node_modules/
|
.pre-commit-config.yaml
ADDED
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
default_language_version:
|
2 |
+
python: python3
|
3 |
+
repos:
|
4 |
+
- repo: https://github.com/pre-commit/pre-commit-hooks
|
5 |
+
rev: v5.0.0
|
6 |
+
hooks:
|
7 |
+
- id: check-added-large-files
|
8 |
+
args: ["--maxkb=30000"]
|
9 |
+
- id: check-ast
|
10 |
+
- id: check-byte-order-marker
|
11 |
+
- id: check-builtin-literals
|
12 |
+
- id: check-case-conflict
|
13 |
+
- id: check-docstring-first
|
14 |
+
- id: check-merge-conflict
|
15 |
+
- id: check-symlinks
|
16 |
+
- id: check-toml
|
17 |
+
- id: check-yaml
|
18 |
+
- id: debug-statements
|
19 |
+
- id: destroyed-symlinks
|
20 |
+
- id: end-of-file-fixer
|
21 |
+
- id: fix-byte-order-marker
|
22 |
+
- id: mixed-line-ending
|
23 |
+
- id: file-contents-sorter
|
24 |
+
files: "envs/requirements*.txt"
|
25 |
+
- id: trailing-whitespace
|
26 |
+
- repo: https://github.com/astral-sh/ruff-pre-commit
|
27 |
+
rev: v0.11.8
|
28 |
+
hooks:
|
29 |
+
# run the linter
|
30 |
+
- id: ruff
|
31 |
+
args: [--fix]
|
32 |
+
# run the formatter
|
33 |
+
- id: ruff-format
|
34 |
+
- repo: https://github.com/pre-commit/mirrors-mypy
|
35 |
+
rev: v1.15.0
|
36 |
+
hooks: # https://github.com/python/mypy/issues/4008#issuecomment-582458665
|
37 |
+
- id: mypy
|
38 |
+
name: mypy
|
39 |
+
pass_filenames: false
|
40 |
+
args:
|
41 |
+
[
|
42 |
+
--strict-equality,
|
43 |
+
--disallow-untyped-calls,
|
44 |
+
--disallow-untyped-defs,
|
45 |
+
--disallow-incomplete-defs,
|
46 |
+
--disallow-any-generics,
|
47 |
+
--check-untyped-defs,
|
48 |
+
--disallow-untyped-decorators,
|
49 |
+
--warn-redundant-casts,
|
50 |
+
--warn-unused-ignores,
|
51 |
+
--no-warn-no-return,
|
52 |
+
--warn-unreachable,
|
53 |
+
]
|
54 |
+
additional_dependencies: ["types-requests"]
|
55 |
+
- repo: https://github.com/pre-commit/mirrors-prettier
|
56 |
+
rev: v4.0.0-alpha.8
|
57 |
+
hooks:
|
58 |
+
- id: prettier
|
59 |
+
args:
|
60 |
+
- --print-width=120
|
61 |
+
- --prose-wrap=always
|
62 |
+
- --tab-width=2
|
63 |
+
- repo: https://github.com/codespell-project/codespell
|
64 |
+
rev: v2.4.1
|
65 |
+
hooks:
|
66 |
+
- id: codespell
|
67 |
+
name: codespell
|
68 |
+
description: Checks for common misspellings in text files.
|
69 |
+
entry: codespell
|
70 |
+
language: python
|
71 |
+
types: [text]
|
README.md
CHANGED
@@ -1,3 +1,92 @@
|
|
1 |
-
---
|
2 |
-
license: mit
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
language:
|
4 |
+
- en
|
5 |
+
---
|
6 |
+
|
7 |
+
# CineMA - A Foundation Model for Cine Cardiac Magnetic Resonance Images 🎥🫀
|
8 |
+
|
9 |
+
This repository contains the weights for **CineMA**, a foundation model for **Cine** cardiac magnetic resonance (CMR)
|
10 |
+
imaging based on **M**asked-**A**utoencoder. The model was pre-trained on over 74,000 pairs of short-axis and long-axis
|
11 |
+
cine CMR images from the UK Biobank.
|
12 |
+
|
13 |
+
CineMA was evaluated across a diverse range of clinically relevant downstream tasks, including
|
14 |
+
|
15 |
+
- Ventricle and myocardium segmentation
|
16 |
+
- Cardiovascular disease (CVD) detection and classification
|
17 |
+
- Patient sex classification
|
18 |
+
- CMR machine vendor classification
|
19 |
+
- Ejection fraction (EF) regression
|
20 |
+
- Patient body mass index (BMI) regression
|
21 |
+
- Patient age regression
|
22 |
+
- Mid-ventricular and apical landmark localization
|
23 |
+
|
24 |
+
These tasks were studied across multiple datasets:
|
25 |
+
|
26 |
+
- [ACDC](https://www.creatis.insa-lyon.fr/Challenge/acdc/)
|
27 |
+
- [M&Ms](https://www.ub.edu/mnms/)
|
28 |
+
- [M&Ms2](https://www.ub.edu/mnms-2/)
|
29 |
+
- [Kaggle](https://www.kaggle.com/c/second-annual-data-science-bowl/data)
|
30 |
+
- [Rescan](https://www.ahajournals.org/doi/full/10.1161/CIRCIMAGING.119.009214)
|
31 |
+
- [Landmark](https://pubs.rsna.org/doi/10.1148/ryai.2021200197)
|
32 |
+
|
33 |
+
Compared to convolutional neural network baselines such as UNet and ResNet, CineMA demonstrated superior or comparable
|
34 |
+
performance, especially in sample efficiency and generalization to out-of-distribution data not seen during pretraining
|
35 |
+
or fine-tuning.
|
36 |
+
|
37 |
+
By releasing the model weights and code for pretraining, fine-tuning, and inference, CineMA aims to lower the barrier to
|
38 |
+
entry for cardiac imaging research, foster reproducibility, and encourage broader adoption across institutions.
|
39 |
+
|
40 |
+
➡️ **Manuscript:** [TBD](https://arxiv.org/)
|
41 |
+
|
42 |
+
➡️ **Code:** [mathpluscode/CineMA](https://github.com/mathpluscode/CineMA)
|
43 |
+
|
44 |
+
## Fine-tuned CineMA Models
|
45 |
+
|
46 |
+
The filenames of fine-tuned model weights follow the convention of `finetuned/<task>/<data>_<view>_<seed>.safetensors`
|
47 |
+
where number 0, 1, and 2 correspond to the different training seeds.
|
48 |
+
|
49 |
+
Check the "Inference Example" column to see example inference scripts using these trained models.
|
50 |
+
|
51 |
+
| Training Task | Training Data | Input View | Input Timeframes | Model Weights and Configurations | Inference Example |
|
52 |
+
| ----------------------------------------------- | ------------- | ---------- | ---------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |
|
53 |
+
| Ventricle and myocardium segmentation | ACDC | SAX | 1 | [finetuned/segmentation/acdc_sax_0.safetensors](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/segmentation/acdc_sax_0.safetensors)<br>[finetuned/segmentation/acdc_sax_1.safetensors](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/segmentation/acdc_sax_1.safetensors)<br>[finetuned/segmentation/acdc_sax_2.safetensors](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/segmentation/acdc_sax_2.safetensors)<br>[finetuned/segmentation/sax.yaml](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/segmentation/sax.yaml) | [segmentation_sax.py](https://github.com/mathpluscode/CineMA/blob/main/examples/inference/segmentation_sax.py) |
|
54 |
+
| Ventricle and myocardium segmentation | M&Ms | SAX | 1 | [finetuned/segmentation/mnms_sax_0.safetensors](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/segmentation/mnms_sax_0.safetensors)<br>[finetuned/segmentation/mnms_sax_1.safetensors](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/segmentation/mnms_sax_1.safetensors)<br>[finetuned/segmentation/mnms_sax_2.safetensors](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/segmentation/mnms_sax_2.safetensors)<br>[finetuned/segmentation/sax.yaml](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/segmentation/sax.yaml) | [segmentation_sax.py](https://github.com/mathpluscode/CineMA/blob/main/examples/inference/segmentation_sax.py) |
|
55 |
+
| Ventricle and myocardium segmentation | M&Ms2 | SAX | 1 | [finetuned/segmentation/mnms2_sax_0.safetensors](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/segmentation/mnms2_sax_0.safetensors)<br>[finetuned/segmentation/mnms2_sax_1.safetensors](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/segmentation/mnms2_sax_1.safetensors)<br>[finetuned/segmentation/mnms2_sax_2.safetensors](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/segmentation/mnms2_sax_2.safetensors)<br>[finetuned/segmentation/sax.yaml](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/segmentation/sax.yaml) | [segmentation_sax.py](https://github.com/mathpluscode/CineMA/blob/main/examples/inference/segmentation_sax.py) |
|
56 |
+
| Ventricle and myocardium segmentation | M&Ms2 | LAX 4C | 1 | [finetuned/segmentation/mnms2_lax_4c_0.safetensors](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/segmentation/mnms2_lax_4c_0.safetensors)<br>[finetuned/segmentation/mnms2_lax_4c_1.safetensors](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/segmentation/mnms2_lax_4c_1.safetensors)<br>[finetuned/segmentation/mnms2_lax_4c_2.safetensors](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/segmentation/mnms2_lax_4c_2.safetensors)<br>[finetuned/segmentation/lax_4c.yaml](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/segmentation/lax_4c.yaml) | [segmentation_lax_4c.py](https://github.com/mathpluscode/CineMA/blob/main/examples/inference/segmentation_lax_4c.py) |
|
57 |
+
| CVD classification | ACDC | SAX | 2 (ED and ES) | [finetuned/classification_cvd/acdc_sax_0.safetensors](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/classification_cvd/acdc_sax_0.safetensors)<br>[finetuned/classification_cvd/acdc_sax_1.safetensors](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/classification_cvd/acdc_sax_1.safetensors)<br>[finetuned/classification_cvd/acdc_sax_2.safetensors](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/classification_cvd/acdc_sax_2.safetensors)<br>[finetuned/classification_cvd/acdc_sax.yaml](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/classification_cvd/acdc_sax.yaml) | [classification_cvd.py](https://github.com/mathpluscode/CineMA/blob/main/examples/inference/classification_cvd.py) |
|
58 |
+
| CVD classification | M&Ms | SAX | 2 (ED and ES) | [finetuned/classification_cvd/mnms_sax_0.safetensors](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/classification_cvd/mnms_sax_0.safetensors)<br>[finetuned/classification_cvd/mnms_sax_1.safetensors](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/classification_cvd/mnms_sax_1.safetensors)<br>[finetuned/classification_cvd/mnms_sax_2.safetensors](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/classification_cvd/mnms_sax_2.safetensors)<br>[finetuned/classification_cvd/mnms_sax.yaml](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/classification_cvd/mnms_sax.yaml) | [classification_cvd.py](https://github.com/mathpluscode/CineMA/blob/main/examples/inference/classification_cvd.py) |
|
59 |
+
| CVD classification | M&Ms2 | SAX | 2 (ED and ES) | [finetuned/classification_cvd/mnms2_sax_0.safetensors](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/classification_cvd/mnms2_sax_0.safetensors)<br>[finetuned/classification_cvd/mnms2_sax_1.safetensors](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/classification_cvd/mnms2_sax_1.safetensors)<br>[finetuned/classification_cvd/mnms2_sax_2.safetensors](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/classification_cvd/mnms2_sax_2.safetensors)<br>[finetuned/classification_cvd/mnms2_sax.yaml](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/classification_cvd/mnms2_sax.yaml) | [classification_cvd.py](https://github.com/mathpluscode/CineMA/blob/main/examples/inference/classification_cvd.py) |
|
60 |
+
| CVD classification | M&Ms2 | LAX 4C | 2 (ED and ES) | [finetuned/classification_cvd/mnms2_lax_4c_0.safetensors](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/classification_cvd/mnms2_lax_4c_0.safetensors)<br>[finetuned/classification_cvd/mnms2_lax_4c_1.safetensors](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/classification_cvd/mnms2_lax_4c_1.safetensors)<br>[finetuned/classification_cvd/mnms2_lax_4c_2.safetensors](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/classification_cvd/mnms2_lax_4c_2.safetensors)<br>[finetuned/classification_cvd/mnms2_lax_4c.yaml](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/classification_cvd/mnms2_lax_4c.yaml) | [classification_cvd.py](https://github.com/mathpluscode/CineMA/blob/main/examples/inference/classification_cvd.py) |
|
61 |
+
| Patient sex classification | M&Ms | SAX | 2 (ED and ES) | [finetuned/classification_sex/mnms_sax_0.safetensors](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/classification_sex/mnms_sax_0.safetensors)<br>[finetuned/classification_sex/mnms_sax_1.safetensors](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/classification_sex/mnms_sax_1.safetensors)<br>[finetuned/classification_sex/mnms_sax_2.safetensors](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/classification_sex/mnms_sax_2.safetensors)<br>[finetuned/classification_sex/mnms_sax.yaml](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/classification_sex/mnms_sax.yaml) | [classification_sex.py](https://github.com/mathpluscode/CineMA/blob/main/examples/inference/classification_sex.py) |
|
62 |
+
| CMR machine vendor classification | M&Ms2 | SAX | 2 (ED and ES) | [finetuned/classification_vendor/mnms2_sax_0.safetensors](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/classification_vendor/mnms2_sax_0.safetensors)<br>[finetuned/classification_vendor/mnms2_sax_1.safetensors](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/classification_vendor/mnms2_sax_1.safetensors)<br>[finetuned/classification_vendor/mnms2_sax_2.safetensors](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/classification_vendor/mnms2_sax_2.safetensors)<br>[finetuned/classification_vendor/mnms2_sax.yaml](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/classification_vendor/mnms2_sax.yaml) | [classification_vendor.py](https://github.com/mathpluscode/CineMA/blob/main/examples/inference/classification_vendor.py) |
|
63 |
+
| CMR machine vendor classification | M&Ms2 | LAX 4C | 2 (ED and ES) | [finetuned/classification_vendor/mnms2_lax_4c_0.safetensors](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/classification_vendor/mnms2_lax_4c_0.safetensors)<br>[finetuned/classification_vendor/mnms2_lax_4c_1.safetensors](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/classification_vendor/mnms2_lax_4c_1.safetensors)<br>[finetuned/classification_vendor/mnms2_lax_4c_2.safetensors](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/classification_vendor/mnms2_lax_4c_2.safetensors)<br>[finetuned/classification_vendor/mnms2_lax_4c.yaml](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/classification_vendor/mnms2_lax_4c.yaml) | [classification_vendor.py](https://github.com/mathpluscode/CineMA/blob/main/examples/inference/classification_vendor.py) |
|
64 |
+
| EF regression | ACDC | SAX | 2 (ED and ES) | [finetuned/regression_ef/acdc_sax_0.safetensors](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/regression_ef/acdc_sax_0.safetensors)<br>[finetuned/regression_ef/acdc_sax_1.safetensors](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/regression_ef/acdc_sax_1.safetensors)<br>[finetuned/regression_ef/acdc_sax_2.safetensors](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/regression_ef/acdc_sax_2.safetensors)<br>[finetuned/regression_ef/acdc_sax.yaml](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/regression_ef/acdc_sax.yaml) | [regression_ef.py](https://github.com/mathpluscode/CineMA/blob/main/examples/inference/regression_ef.py) |
|
65 |
+
| EF regression | M&Ms | SAX | 2 (ED and ES) | [finetuned/regression_ef/mnms_sax_0.safetensors](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/regression_ef/mnms_sax_0.safetensors)<br>[finetuned/regression_ef/mnms_sax_1.safetensors](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/regression_ef/mnms_sax_1.safetensors)<br>[finetuned/regression_ef/mnms_sax_2.safetensors](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/regression_ef/mnms_sax_2.safetensors)<br>[finetuned/regression_ef/mnms_sax.yaml](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/regression_ef/mnms_sax.yaml) | [regression_ef.py](https://github.com/mathpluscode/CineMA/blob/main/examples/inference/regression_ef.py) |
|
66 |
+
| EF regression | M&Ms2 | SAX | 2 (ED and ES) | [finetuned/regression_ef/mnms2_sax_0.safetensors](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/regression_ef/mnms2_sax_0.safetensors)<br>[finetuned/regression_ef/mnms2_sax_1.safetensors](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/regression_ef/mnms2_sax_1.safetensors)<br>[finetuned/regression_ef/mnms2_sax_2.safetensors](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/regression_ef/mnms2_sax_2.safetensors)<br>[finetuned/regression_ef/mnms2_sax.yaml](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/regression_ef/mnms2_sax.yaml) | [regression_ef.py](https://github.com/mathpluscode/CineMA/blob/main/examples/inference/regression_ef.py) |
|
67 |
+
| EF regression | M&Ms2 | LAX 4C | 2 (ED and ES) | [finetuned/regression_ef/mnms2_lax_4c_0.safetensors](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/regression_ef/mnms2_lax_4c_0.safetensors)<br>[finetuned/regression_ef/mnms2_lax_4c_1.safetensors](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/regression_ef/mnms2_lax_4c_1.safetensors)<br>[finetuned/regression_ef/mnms2_lax_4c_2.safetensors](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/regression_ef/mnms2_lax_4c_2.safetensors)<br>[finetuned/regression_ef/mnms2_lax_4c.yaml](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/regression_ef/mnms2_lax_4c.yaml) | [regression_ef.py](https://github.com/mathpluscode/CineMA/blob/main/examples/inference/regression_ef.py) |
|
68 |
+
| Patient BMI regression | ACDC | SAX | 2 (ED and ES) | [finetuned/regression_bmi/acdc_sax_0.safetensors](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/regression_bmi/acdc_sax_0.safetensors)<br>[finetuned/regression_bmi/acdc_sax_1.safetensors](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/regression_bmi/acdc_sax_1.safetensors)<br>[finetuned/regression_bmi/acdc_sax_2.safetensors](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/regression_bmi/acdc_sax_2.safetensors)<br>[finetuned/regression_bmi/acdc_sax.yaml](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/regression_bmi/acdc_sax.yaml) | [regression_bmi.py](https://github.com/mathpluscode/CineMA/blob/main/examples/inference/regression_bmi.py) |
|
69 |
+
| Patient age regression | M&Ms | SAX | 2 (ED and ES) | [finetuned/regression_age/mnms_sax_0.safetensors](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/regression_age/mnms_sax_0.safetensors)<br>[finetuned/regression_age/mnms_sax_1.safetensors](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/regression_age/mnms_sax_1.safetensors)<br>[finetuned/regression_age/mnms_sax_2.safetensors](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/regression_age/mnms_sax_2.safetensors)<br>[finetuned/regression_age/mnms_sax.yaml](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/regression_age/mnms_sax.yaml) | [regression_age.py](https://github.com/mathpluscode/CineMA/blob/main/examples/inference/regression_age.py) |
|
70 |
+
| Landmark localization by heatmap regression | Landmark | LAX 2C | 1 | [finetuned/landmark_heatmap/lax_2c_0.safetensors](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/landmark_heatmap/lax_2c_0.safetensors)<br>[finetuned/landmark_heatmap/lax_2c_1.safetensors](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/landmark_heatmap/lax_2c_1.safetensors)<br>[finetuned/landmark_heatmap/lax_2c_2.safetensors](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/landmark_heatmap/lax_2c_2.safetensors)<br>[finetuned/landmark_heatmap/lax_2c.yaml](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/landmark_heatmap/lax_2c.yaml) | [landmark_heatmap.py](https://github.com/mathpluscode/CineMA/blob/main/examples/inference/landmark_heatmap.py) |
|
71 |
+
| Landmark localization by heatmap regression | Landmark | LAX 4C | 1 | [finetuned/landmark_heatmap/lax_4c_0.safetensors](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/landmark_heatmap/lax_4c_0.safetensors)<br>[finetuned/landmark_heatmap/lax_4c_1.safetensors](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/landmark_heatmap/lax_4c_1.safetensors)<br>[finetuned/landmark_heatmap/lax_4c_2.safetensors](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/landmark_heatmap/lax_4c_2.safetensors)<br>[finetuned/landmark_heatmap/lax_4c.yaml](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/landmark_heatmap/lax_4c.yaml) | [landmark_heatmap.py](https://github.com/mathpluscode/CineMA/blob/main/examples/inference/landmark_heatmap.py) |
|
72 |
+
| Landmark localization by coordinates regression | Landmark | LAX 2C | 1 | [finetuned/landmark_coordinate/lax_2c_0.safetensors](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/landmark_coordinate/lax_2c_0.safetensors)<br>[finetuned/landmark_coordinate/lax_2c_1.safetensors](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/landmark_coordinate/lax_2c_1.safetensors)<br>[finetuned/landmark_coordinate/lax_2c_2.safetensors](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/landmark_coordinate/lax_2c_2.safetensors)<br>[finetuned/landmark_coordinate/lax_2c.yaml](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/landmark_coordinate/lax_2c.yaml) | [landmark_coordinate.py](https://github.com/mathpluscode/CineMA/blob/main/examples/inference/landmark_coordinate.py) |
|
73 |
+
| Landmark localization by coordinates regression | Landmark | LAX 4C | 1 | [finetuned/landmark_coordinate/lax_4c_0.safetensors](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/landmark_coordinate/lax_4c_0.safetensors)<br>[finetuned/landmark_coordinate/lax_4c_1.safetensors](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/landmark_coordinate/lax_4c_1.safetensors)<br>[finetuned/landmark_coordinate/lax_4c_2.safetensors](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/landmark_coordinate/lax_4c_2.safetensors)<br>[finetuned/landmark_coordinate/lax_4c.yaml](https://huggingface.co/mathpluscode/CineMA/blob/main/finetuned/landmark_coordinate/lax_4c.yaml) | [landmark_coordinate.py](https://github.com/mathpluscode/CineMA/blob/main/examples/inference/landmark_coordinate.py) |
|
74 |
+
|
75 |
+
## Pre-trained CineMA Model
|
76 |
+
|
77 |
+
The pre-trained CineMA model backbone is available at
|
78 |
+
[pretrained/cinema.safetensors](https://huggingface.co/mathpluscode/CineMA/blob/main/pretrained/cinema.safetensors) with
|
79 |
+
configuration [pretrained/cinema.yaml](https://huggingface.co/mathpluscode/CineMA/blob/main/pretrained/cinema.yaml).
|
80 |
+
|
81 |
+
Following scripts demonstrated how to fine-tune this backbone using
|
82 |
+
[a preprocessed version of ACDC dataset](https://huggingface.co/datasets/mathpluscode/ACDC):
|
83 |
+
|
84 |
+
- [Ventricle and myocardium segmentation](https://github.com/mathpluscode/CineMA/blob/main/examples/train/segmentation.py)
|
85 |
+
- [Cardiovascular disease classification](https://github.com/mathpluscode/CineMA/blob/main/examples/train/classification.py)
|
86 |
+
- [Ejection fraction regression](https://github.com/mathpluscode/CineMA/blob/main/examples/train/regression.py)
|
87 |
+
|
88 |
+
## Citation
|
89 |
+
|
90 |
+
## Contact
|
91 |
+
|
92 |
+
For questions or collaborations, please contact Yunguan Fu (yunguan.fu.18@ucl.ac.uk).
|
finetuned/classification_cvd/acdc_sax.yaml
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
grad_ckpt: True
|
2 |
+
data:
|
3 |
+
sax:
|
4 |
+
spacing: [1.0, 1.0, 10.0]
|
5 |
+
patch_size: [192, 192, 16]
|
6 |
+
in_chans: 1
|
7 |
+
class_column: "pathology"
|
8 |
+
pathology: ["DCM", "HCM", "MINF", "NOR", "RV"]
|
9 |
+
model:
|
10 |
+
name: convvit
|
11 |
+
views: sax
|
12 |
+
n_frames: 2
|
13 |
+
out_chans: null
|
14 |
+
convvit:
|
15 |
+
size: base
|
16 |
+
enc_patch_size: [4, 4, 1]
|
17 |
+
enc_scale_factor: [2, 2, 1]
|
18 |
+
enc_conv_chans: [64, 128]
|
19 |
+
enc_conv_n_blocks: 2
|
20 |
+
dropout: 0.1
|
21 |
+
drop_path: 0.1
|
finetuned/classification_cvd/acdc_sax_0.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:96fe4d1d53d62db0b4aa05ed7c67ff0de8c866d6969f07e14019ecfd3aaa3ce8
|
3 |
+
size 358021664
|
finetuned/classification_cvd/acdc_sax_1.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2bf42e0792ee184a8b984c88783bdf64155def9d3329ce904f933f636dd2a400
|
3 |
+
size 358021664
|
finetuned/classification_cvd/acdc_sax_2.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:88b4abe1fb39a846d9e77ec16141dd1067a200eb074625bd21d94644d0b7d45e
|
3 |
+
size 358021664
|
finetuned/classification_cvd/mnms2_lax_4c.yaml
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
grad_ckpt: True
|
2 |
+
data:
|
3 |
+
lax:
|
4 |
+
spacing: [1.0, 1.0]
|
5 |
+
patch_size: [256, 256]
|
6 |
+
in_chans: 1
|
7 |
+
class_column: pathology
|
8 |
+
pathology: ["ARR", "CIA", "FALL", "HCM", "LV", "NOR"]
|
9 |
+
model:
|
10 |
+
name: convvit
|
11 |
+
views: lax_4c
|
12 |
+
n_frames: 2
|
13 |
+
out_chans: null
|
14 |
+
convvit:
|
15 |
+
size: base
|
16 |
+
enc_patch_size: [4, 4, 1]
|
17 |
+
enc_scale_factor: [2, 2, 1]
|
18 |
+
enc_conv_chans: [64, 128]
|
19 |
+
enc_conv_n_blocks: 2
|
20 |
+
dropout: 0.1
|
21 |
+
drop_path: 0.1
|
finetuned/classification_cvd/mnms2_lax_4c_0.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2e4a638f5d02b58d88ef883cd9b71d9142008d955ec3ee2bcfeb1d49f8e9e778
|
3 |
+
size 351582920
|
finetuned/classification_cvd/mnms2_lax_4c_1.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7b25a6586a02b934f224d4645348b1f595cbfe67c8bec3a0eaed56c344bea7e7
|
3 |
+
size 351582920
|
finetuned/classification_cvd/mnms2_lax_4c_2.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4f44c9a5eb7df4d15610ebdc95c88159fc9b2a55165a5df9f48483ea7a59a5f7
|
3 |
+
size 351582920
|
finetuned/classification_cvd/mnms2_sax.yaml
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
grad_ckpt: True
|
2 |
+
data:
|
3 |
+
sax:
|
4 |
+
spacing: [1.0, 1.0, 10.0]
|
5 |
+
patch_size: [192, 192, 16]
|
6 |
+
in_chans: 1
|
7 |
+
class_column: pathology
|
8 |
+
pathology: ["ARR", "CIA", "FALL", "HCM", "LV", "NOR"]
|
9 |
+
model:
|
10 |
+
name: convvit
|
11 |
+
views: sax
|
12 |
+
n_frames: 2
|
13 |
+
out_chans: null
|
14 |
+
convvit:
|
15 |
+
size: base
|
16 |
+
enc_patch_size: [4, 4, 1]
|
17 |
+
enc_scale_factor: [2, 2, 1]
|
18 |
+
enc_conv_chans: [64, 128]
|
19 |
+
enc_conv_n_blocks: 2
|
20 |
+
dropout: 0.1
|
21 |
+
drop_path: 0.1
|
finetuned/classification_cvd/mnms2_sax_0.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bb20c515b04da96b51b5ab7c4a30c390f452cc482d90831d98a123d2374dfe72
|
3 |
+
size 358027816
|
finetuned/classification_cvd/mnms2_sax_1.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8c4960f390763d90b451e4d207656e22b30c4ddd1646856dc5ac04c854145133
|
3 |
+
size 358027816
|
finetuned/classification_cvd/mnms2_sax_2.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:15fe03beeb0f31dd86e14645b934a8bad175498eaaff879e05f6395e8fae10cd
|
3 |
+
size 358027816
|
finetuned/classification_cvd/mnms_sax.yaml
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
grad_ckpt: True
|
2 |
+
data:
|
3 |
+
sax:
|
4 |
+
spacing: [1.0, 1.0, 10.0]
|
5 |
+
patch_size: [192, 192, 16]
|
6 |
+
in_chans: 1
|
7 |
+
class_column: pathology
|
8 |
+
pathology: ["DCM", "HCM", "NOR", "ARV", "HHD"]
|
9 |
+
model:
|
10 |
+
name: convvit
|
11 |
+
views: sax
|
12 |
+
n_frames: 2
|
13 |
+
out_chans: null
|
14 |
+
convvit:
|
15 |
+
size: base
|
16 |
+
enc_patch_size: [4, 4, 1]
|
17 |
+
enc_scale_factor: [2, 2, 1]
|
18 |
+
enc_conv_chans: [64, 128]
|
19 |
+
enc_conv_n_blocks: 2
|
20 |
+
dropout: 0.1
|
21 |
+
drop_path: 0.1
|
finetuned/classification_cvd/mnms_sax_0.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:908388500d58a2472a5a522bf27a879b1e850240ae35cc35309cc750dbab6c7e
|
3 |
+
size 358021664
|
finetuned/classification_cvd/mnms_sax_1.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0680208ae403eb33d69783f47f83c1fd2e49616cbfa52b1a922b4d5f4fc13777
|
3 |
+
size 358021664
|
finetuned/classification_cvd/mnms_sax_2.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:141fd35196c036ac53d6aaf7a1eb7e9e1d15a599b8f0b7a8ee3bbc81b43659cb
|
3 |
+
size 358021664
|
finetuned/classification_sex/mnms_sax.yaml
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
grad_ckpt: True
|
2 |
+
data:
|
3 |
+
sax:
|
4 |
+
spacing: [1.0, 1.0, 10.0]
|
5 |
+
patch_size: [192, 192, 16]
|
6 |
+
in_chans: 1
|
7 |
+
class_column: sex
|
8 |
+
sex: ["M", "F"]
|
9 |
+
model:
|
10 |
+
name: convvit
|
11 |
+
views: sax
|
12 |
+
n_frames: 2
|
13 |
+
out_chans: null
|
14 |
+
convvit:
|
15 |
+
size: base
|
16 |
+
enc_patch_size: [4, 4, 1]
|
17 |
+
enc_scale_factor: [2, 2, 1]
|
18 |
+
enc_conv_chans: [64, 128]
|
19 |
+
enc_conv_n_blocks: 2
|
20 |
+
dropout: 0.1
|
21 |
+
drop_path: 0.1
|
finetuned/classification_sex/mnms_sax_0.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8ba1b146e38f3acd572a31748b418fa84097687c9d71bd8a1bdbf9c08ec56c2d
|
3 |
+
size 358003208
|
finetuned/classification_sex/mnms_sax_1.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cfeb6a936014892da54ca48452778434524fedc3c9f559f14bf07580e3c0752f
|
3 |
+
size 358003208
|
finetuned/classification_sex/mnms_sax_2.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:91fd123e9fd3b85f659f2fdb1da97b1a5339d77d92ca8a710ceaaf8c9f10d701
|
3 |
+
size 358003208
|
finetuned/classification_vendor/mnms2_lax_4c.yaml
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
grad_ckpt: True
|
2 |
+
data:
|
3 |
+
lax:
|
4 |
+
spacing: [1.0, 1.0]
|
5 |
+
patch_size: [256, 256]
|
6 |
+
in_chans: 1
|
7 |
+
class_column: vendor
|
8 |
+
vendor: ["GE MEDICAL SYSTEMS", "Philips Medical Systems", "SIEMENS"]
|
9 |
+
model:
|
10 |
+
name: convvit
|
11 |
+
views: lax_4c
|
12 |
+
n_frames: 2
|
13 |
+
out_chans: null
|
14 |
+
convvit:
|
15 |
+
size: base
|
16 |
+
enc_patch_size: [4, 4, 1]
|
17 |
+
enc_scale_factor: [2, 2, 1]
|
18 |
+
enc_conv_chans: [64, 128]
|
19 |
+
enc_conv_n_blocks: 2
|
20 |
+
dropout: 0.1
|
21 |
+
drop_path: 0.1
|
finetuned/classification_vendor/mnms2_lax_4c_0.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e9a38ae99f0742b63b6249f6256aff86688670a18e771306ce51b5eec7c95066
|
3 |
+
size 351564464
|
finetuned/classification_vendor/mnms2_lax_4c_1.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2f34d47d3c7a212bba140fed63ebe30f0944ac98ceed52b35feea32187e859b6
|
3 |
+
size 351564464
|
finetuned/classification_vendor/mnms2_lax_4c_2.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1fc4509b761d24bf2e0796fac241499fec2aff3aff15abf71d47d80223a94888
|
3 |
+
size 351564464
|
finetuned/classification_vendor/mnms2_sax.yaml
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
grad_ckpt: True
|
2 |
+
data:
|
3 |
+
sax:
|
4 |
+
spacing: [1.0, 1.0, 10.0]
|
5 |
+
patch_size: [192, 192, 16]
|
6 |
+
in_chans: 1
|
7 |
+
class_column: vendor
|
8 |
+
vendor: ["GE MEDICAL SYSTEMS", "Philips Medical Systems", "SIEMENS"]
|
9 |
+
model:
|
10 |
+
name: convvit
|
11 |
+
views: sax
|
12 |
+
n_frames: 2
|
13 |
+
out_chans: null
|
14 |
+
convvit:
|
15 |
+
size: base
|
16 |
+
enc_patch_size: [4, 4, 1]
|
17 |
+
enc_scale_factor: [2, 2, 1]
|
18 |
+
enc_conv_chans: [64, 128]
|
19 |
+
enc_conv_n_blocks: 2
|
20 |
+
dropout: 0.1
|
21 |
+
drop_path: 0.1
|
finetuned/classification_vendor/mnms2_sax_0.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:99c4f2c147d9b20f524d2dbde136e5deca43d7366d0719cc9c2149e0c664701c
|
3 |
+
size 358009360
|
finetuned/classification_vendor/mnms2_sax_1.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cbec586d6df41c6e123dcef77c26a06907c8b88f5bb8c4d0f2fc3da18d7c6af3
|
3 |
+
size 358009360
|
finetuned/classification_vendor/mnms2_sax_2.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4d1e03d3fac9822e4d05d37b699d3b418628fecb67ffa4414b2ee2344ca45889
|
3 |
+
size 358009360
|
finetuned/landmark_coordinate/lax_2c.yaml
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
grad_ckpt: True
|
2 |
+
data:
|
3 |
+
lax:
|
4 |
+
spacing: [1.0, 1.0]
|
5 |
+
patch_size: [256, 256]
|
6 |
+
in_chans: 1
|
7 |
+
model:
|
8 |
+
name: convvit
|
9 |
+
views: "lax_2c"
|
10 |
+
n_frames: 1
|
11 |
+
out_chans: 6
|
12 |
+
convvit:
|
13 |
+
size: base
|
14 |
+
enc_patch_size: [4, 4, 1]
|
15 |
+
enc_scale_factor: [2, 2, 1]
|
16 |
+
enc_conv_chans: [64, 128]
|
17 |
+
enc_conv_n_blocks: 2
|
18 |
+
dropout: 0.1
|
19 |
+
drop_path: 0.1
|
finetuned/landmark_coordinate/lax_2c_0.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:afa8fe63817a104a58f387f19287b3dd849acced5329a451e93399ba76dc1463
|
3 |
+
size 351578824
|
finetuned/landmark_coordinate/lax_2c_1.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:de76757bafeec980e52b63d6e22e89bac61b2a0b3e0b1dab0c09f22f8e28eb0d
|
3 |
+
size 351578824
|
finetuned/landmark_coordinate/lax_2c_2.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b98f3c340a76f3331e36baccd6aaa47efa3e9abdb4e177231fea1cd7aafea917
|
3 |
+
size 351578824
|
finetuned/landmark_coordinate/lax_4c.yaml
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
grad_ckpt: True
|
2 |
+
data:
|
3 |
+
lax:
|
4 |
+
spacing: [1.0, 1.0]
|
5 |
+
patch_size: [256, 256]
|
6 |
+
in_chans: 1
|
7 |
+
model:
|
8 |
+
name: convvit
|
9 |
+
views: "lax_4c"
|
10 |
+
n_frames: 1
|
11 |
+
out_chans: 6
|
12 |
+
convvit:
|
13 |
+
size: base
|
14 |
+
enc_patch_size: [4, 4, 1]
|
15 |
+
enc_scale_factor: [2, 2, 1]
|
16 |
+
enc_conv_chans: [64, 128]
|
17 |
+
enc_conv_n_blocks: 2
|
18 |
+
dropout: 0.1
|
19 |
+
drop_path: 0.1
|
finetuned/landmark_coordinate/lax_4c_0.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dd54124e1c9341d5a106be4a5cc4d39cbf7045b511909ad31a90704842549d0b
|
3 |
+
size 351578824
|
finetuned/landmark_coordinate/lax_4c_1.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:21b1ba5825445f78620618934bc233eebf3dcbe31f559a22bff54c6d8dde3504
|
3 |
+
size 351578824
|
finetuned/landmark_coordinate/lax_4c_2.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e2a77ff1e2fc8c65a3805f07d2db3152aae82cced99e3be5d77d32292dc9d6b8
|
3 |
+
size 351578824
|
finetuned/landmark_heatmap/lax_2c.yaml
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
grad_ckpt: True
|
2 |
+
data:
|
3 |
+
lax:
|
4 |
+
spacing: [1.0, 1.0]
|
5 |
+
patch_size: [256, 256]
|
6 |
+
in_chans: 1
|
7 |
+
model:
|
8 |
+
name: convunetr
|
9 |
+
views: "lax_2c"
|
10 |
+
out_chans: 3
|
11 |
+
convunetr:
|
12 |
+
size: base
|
13 |
+
enc_patch_size: [4, 4, 1]
|
14 |
+
enc_scale_factor: [2, 2, 1]
|
15 |
+
enc_conv_chans: [64, 128]
|
16 |
+
enc_conv_n_blocks: 2
|
17 |
+
dec_chans: [32, 64, 128, 256, 512]
|
18 |
+
dec_patch_size: [2, 2, 1]
|
19 |
+
dec_scale_factor: [2, 2, 1]
|
20 |
+
dropout: 0.1
|
21 |
+
drop_path: 0.1
|
finetuned/landmark_heatmap/lax_2c_0.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:69b825f64ffbb98b86a8b5f84b14c6d2daf02c67a595bab340ad790261496e15
|
3 |
+
size 408711372
|
finetuned/landmark_heatmap/lax_2c_1.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:87181c76bf0b395a5544973bed839247ca6d29cb4bb545dd80a113a35c90097d
|
3 |
+
size 408711372
|
finetuned/landmark_heatmap/lax_2c_2.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9a42b8f87a675f92763dde735e7f565c3fab1d99b231e2489cb794dd6fd0020a
|
3 |
+
size 408711372
|
finetuned/landmark_heatmap/lax_4c.yaml
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
grad_ckpt: True
|
2 |
+
data:
|
3 |
+
lax:
|
4 |
+
spacing: [1.0, 1.0]
|
5 |
+
patch_size: [256, 256]
|
6 |
+
in_chans: 1
|
7 |
+
model:
|
8 |
+
name: convunetr
|
9 |
+
views: "lax_4c"
|
10 |
+
out_chans: 3
|
11 |
+
convunetr:
|
12 |
+
size: base
|
13 |
+
enc_patch_size: [4, 4, 1]
|
14 |
+
enc_scale_factor: [2, 2, 1]
|
15 |
+
enc_conv_chans: [64, 128]
|
16 |
+
enc_conv_n_blocks: 2
|
17 |
+
dec_chans: [32, 64, 128, 256, 512]
|
18 |
+
dec_patch_size: [2, 2, 1]
|
19 |
+
dec_scale_factor: [2, 2, 1]
|
20 |
+
dropout: 0.1
|
21 |
+
drop_path: 0.1
|
finetuned/landmark_heatmap/lax_4c_0.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:83f2b6f2455c2aeb10e84ebce0dc63a46648b6c3fc391259cdb945425d1e76ca
|
3 |
+
size 408711372
|
finetuned/landmark_heatmap/lax_4c_1.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5014a6e6464eb89b01f5064043a10ca37a9a1debff266f42c139680f0a929b30
|
3 |
+
size 408711372
|
finetuned/landmark_heatmap/lax_4c_2.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:44a845a0bbacd18e8b474eab54a5205314f71578764eb6e9c1fab47871c5705b
|
3 |
+
size 408711372
|
finetuned/regression_age/mnms_sax.yaml
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
grad_ckpt: True
|
2 |
+
data:
|
3 |
+
sax:
|
4 |
+
spacing: [1.0, 1.0, 10.0]
|
5 |
+
patch_size: [192, 192, 16]
|
6 |
+
in_chans: 1
|
7 |
+
regression_column: "age"
|
8 |
+
age:
|
9 |
+
mean: 52.026666666666664
|
10 |
+
std: 18.760570771166726
|
11 |
+
model:
|
12 |
+
name: convvit
|
13 |
+
views: sax
|
14 |
+
n_frames: 2
|
15 |
+
out_chans: 1
|
16 |
+
convvit:
|
17 |
+
size: base
|
18 |
+
enc_patch_size: [4, 4, 1]
|
19 |
+
enc_scale_factor: [2, 2, 1]
|
20 |
+
enc_conv_chans: [64, 128]
|
21 |
+
enc_conv_n_blocks: 2
|
22 |
+
dropout: 0.1
|
23 |
+
drop_path: 0.1
|
finetuned/regression_age/mnms_sax_0.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e0896b7751850053152e7d09c012821af7ec27aa7d3b62310056801aa7036c94
|
3 |
+
size 357997056
|
finetuned/regression_age/mnms_sax_1.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:459e890a9b94298f03b3374daf7eb2929be89f424902b68a1888add9a82156ed
|
3 |
+
size 357997056
|