Upload folder using huggingface_hub
Browse files- README.md +30 -3
- resenc_unet_b.ckpt +3 -0
README.md
CHANGED
|
@@ -1,3 +1,30 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: cc-by-nc-sa-4.0
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-nc-sa-4.0
|
| 3 |
+
datasets:
|
| 4 |
+
- FOMO-MRI/FOMO260K
|
| 5 |
+
pipeline_tag: image-segmentation
|
| 6 |
+
---
|
| 7 |
+
|
| 8 |
+
# ResEnc UNet pretrained on FOMO260K using AMAES
|
| 9 |
+
|
| 10 |
+
This repository contains the checkpoint of the model from the [FOMO260K paper](https://arxiv.org/abs/2506.14432v2).
|
| 11 |
+
|
| 12 |
+
* Network: Resenc Unet B with 102M parameters ([model definition](https://github.com/Sllambias/asparagus/blob/72f333b9b59cf9c2a5689995b72a06d689707fec/asparagus/modules/networks/resenc_unet.py#L119))
|
| 13 |
+
* Pretext Task: [AMAES](https://arxiv.org/abs/2408.00640).
|
| 14 |
+
* Dataset: [FOMO260K](https://huggingface.co/datasets/FOMO-MRI/FOMO260K).
|
| 15 |
+
* Code: [Asparagus](https://github.com/Sllambias/asparagus).
|
| 16 |
+
|
| 17 |
+
## Finetuning the model for Segmentation tasks
|
| 18 |
+
|
| 19 |
+
To finetune the model with the configs used in the paper, simply use the following command
|
| 20 |
+
```
|
| 21 |
+
asp_finetune_seg \
|
| 22 |
+
--config-name projects/datapaper/finetune/resenc_[dataset]_fewshot.yaml \
|
| 23 |
+
checkpoint_path=path/to/checkpoint.ckpt
|
| 24 |
+
```
|
| 25 |
+
where `[dataset]` is one of `{cerebrum, wmh, isles, atlas, sbm}`.
|
| 26 |
+
|
| 27 |
+
|
| 28 |
+
## Installing Asparagus
|
| 29 |
+
|
| 30 |
+
For instructions on how to install asparagus, preprocess your data, and make your own configs, please refer to the [Asparagus Readme](https://github.com/Sllambias/asparagus).
|
resenc_unet_b.ckpt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:115d509241ad3a421a851dda3a1e5d98ae8377973ea9b29bbb2c2a181c277749
|
| 3 |
+
size 1167183049
|