georgeyiasemis commited on
Commit
855c92e
·
verified ·
1 Parent(s): ac88ae7

Rewrite model card: clearer docs, dataset links, no checkpoint iters

Browse files
Files changed (1) hide show
  1. README.md +36 -33
README.md CHANGED
@@ -7,38 +7,35 @@ tags:
7
  - modulated-convolution
8
  - fastmri
9
  - conditional
 
10
  ---
11
 
12
  # DIRECT — Modulated Convolution for Conditional MRI Reconstruction
13
 
14
- Pretrained checkpoints and matching YAML configs for
15
- [Conditional Learned Reconstruction for Medical Imaging](https://proceedings.mlr.press/v315/moriakov26a.html)
16
- (Moriakov et al., MIDL 2026).
17
 
18
- ## Dataset
 
 
19
 
20
- | Anatomy | Dataset | Notes |
21
- |---|---|---|
22
- | **Knee** | [fastMRI](https://fastmri.med.nyu.edu/) knee | Multi-coil; conditioned on acceleration \(R\) and ACS fraction |
23
- | **Prostate** | [fastMRI](https://fastmri.med.nyu.edu/) prostate | Same conditioning |
24
 
25
- ## Paper
 
 
 
26
 
27
- - **MIDL 2026 (PMLR 315:754–780):** [proceedings](https://proceedings.mlr.press/v315/moriakov26a.html) · [OpenReview PDF](https://openreview.net/pdf?id=qNjleGZJis)
28
-
29
- ## Files
30
 
31
  ```text
32
- knee/<name>.yaml
33
- knee/<name>.pt
34
- prostate/<name>.yaml
35
- prostate/<name>.pt
36
  ```
37
 
38
  ### Knee
39
 
40
  | Name | Description |
41
- |---|---|
42
  | `vsharp_triang` | Non-modulated vSHARP baseline (triangular \(R\) sampling) |
43
  | `vsharp_modconv_features_triang` | ModConv features, triangular |
44
  | `vsharp_modconv_features_triang_32_16` | ModConv features, MLP 32→16 |
@@ -49,41 +46,47 @@ prostate/<name>.pt
49
  ### Prostate
50
 
51
  | Name | Description |
52
- |---|---|
53
  | `vsharp_triang` | Non-modulated baseline |
54
  | `vsharp_modconv_features_triang` | ModConv features |
55
  | `vsharp_modconv_features_triang_32_16` | ModConv features, MLP 32→16 |
56
  | `vsharp_modconv_features_triang_32_8` | ModConv features, MLP 32→8 |
57
 
58
- ## Training protocol & inference masking
59
 
60
- Trained on **fastMRI** knee / prostate multi-coil data. Training samples
61
- acceleration in a triangular / range schedule (typically `R ∈ [4, 16]`) with
62
- paired ACS `center_fractions` (e.g. `[0.08, 0.02]`) under
63
- `FastMRIEquispaced`.
64
 
65
- Released YAMLs pin **exactly one** R and **one** ACS (default validation 4×:
66
- `accelerations: [4]`, `center_fractions: [0.08]`). `MaskFunc` randomly draws
67
- from lists, so multi-R lists are for training only.
68
 
69
- Examples for other rates (keep lists length 1): 8× → `[8]` / `[0.04]`;
70
- 16× → `[16]` / `[0.02]`.
 
 
 
71
 
72
  ## Usage
73
 
74
  ```bash
 
75
  hf download NKI-AI/direct-modulated-convolution --local-dir ./modconv
76
 
77
  direct predict ./predictions \
78
  --cfg ./modconv/knee/vsharp_modconv_features_triang_32_8.yaml \
79
  --checkpoint ./modconv/knee/vsharp_modconv_features_triang_32_8.pt \
80
- --data-root /path/to/fastmri/knee/val \
81
  --num-gpus 1
82
  ```
83
 
84
- The first argument is the **output directory** (predictions), not an experiment folder.
85
-
86
 
87
- ## Framework
88
 
89
- [DIRECT](https://github.com/NKI-AI/direct) · project docs in `projects/modulated_convolution/` · [NKI-AI](https://huggingface.co/NKI-AI)
 
 
 
 
 
 
 
 
 
7
  - modulated-convolution
8
  - fastmri
9
  - conditional
10
+ pipeline_tag: image-to-image
11
  ---
12
 
13
  # DIRECT — Modulated Convolution for Conditional MRI Reconstruction
14
 
15
+ Pretrained vSHARP models with **modulated convolutions** (and baselines) that condition reconstruction on acceleration \(R\) and ACS fraction at inference time.
 
 
16
 
17
+ - Paper (MIDL 2026, PMLR 315): [Conditional Learned Reconstruction for Medical Imaging](https://proceedings.mlr.press/v315/moriakov26a.html)
18
+ - OpenReview: [PDF](https://openreview.net/pdf?id=qNjleGZJis)
19
+ - Project configs: [`projects/modulated_convolution`](https://github.com/NKI-AI/direct/tree/main/projects/modulated_convolution)
20
 
21
+ ## Datasets
 
 
 
22
 
23
+ | Anatomy | Dataset | Link |
24
+ |---------|---------|------|
25
+ | Knee | fastMRI knee (multi-coil) | [fastmri.med.nyu.edu](https://fastmri.med.nyu.edu/) |
26
+ | Prostate | fastMRI prostate (multi-coil) | [fastmri.med.nyu.edu](https://fastmri.med.nyu.edu/) |
27
 
28
+ ## Models
 
 
29
 
30
  ```text
31
+ knee/<name>.yaml + knee/<name>.pt
32
+ prostate/<name>.yaml + prostate/<name>.pt
 
 
33
  ```
34
 
35
  ### Knee
36
 
37
  | Name | Description |
38
+ |------|-------------|
39
  | `vsharp_triang` | Non-modulated vSHARP baseline (triangular \(R\) sampling) |
40
  | `vsharp_modconv_features_triang` | ModConv features, triangular |
41
  | `vsharp_modconv_features_triang_32_16` | ModConv features, MLP 32→16 |
 
46
  ### Prostate
47
 
48
  | Name | Description |
49
+ |------|-------------|
50
  | `vsharp_triang` | Non-modulated baseline |
51
  | `vsharp_modconv_features_triang` | ModConv features |
52
  | `vsharp_modconv_features_triang_32_16` | ModConv features, MLP 32→16 |
53
  | `vsharp_modconv_features_triang_32_8` | ModConv features, MLP 32→8 |
54
 
55
+ ## Training protocol
56
 
57
+ Training samples acceleration in a triangular / range schedule (typically \(R \in [4, 16]\)) with paired ACS `center_fractions` (e.g. `[0.08, 0.02]`) under `FastMRIEquispaced`. Models are conditioned on the realized \(R\) / ACS so a single checkpoint covers the training range.
 
 
 
58
 
59
+ Released inference YAMLs pin **exactly one** \(R\) and **one** ACS (default validation 4×: `accelerations: [4]`, `center_fractions: [0.08]`). Keep lists of length 1 when changing rate:
 
 
60
 
61
+ | Target \(R\) | `accelerations` | `center_fractions` |
62
+ |-------------|-----------------|--------------------|
63
+ | 4× | `[4]` | `[0.08]` |
64
+ | 8× | `[8]` | `[0.04]` |
65
+ | 16× | `[16]` | `[0.02]` |
66
 
67
  ## Usage
68
 
69
  ```bash
70
+ pip install direct-recon # or: https://github.com/NKI-AI/direct
71
  hf download NKI-AI/direct-modulated-convolution --local-dir ./modconv
72
 
73
  direct predict ./predictions \
74
  --cfg ./modconv/knee/vsharp_modconv_features_triang_32_8.yaml \
75
  --checkpoint ./modconv/knee/vsharp_modconv_features_triang_32_8.pt \
76
+ --data-root /path/to/fastmri/knee/multicoil_val \
77
  --num-gpus 1
78
  ```
79
 
80
+ The first argument is the **prediction output directory**.
 
81
 
82
+ ## Citation
83
 
84
+ ```bibtex
85
+ @inproceedings{moriakov2026modconv,
86
+ title={Conditional Learned Reconstruction for Medical Imaging},
87
+ author={Moriakov, Nikita and Yiasemis, George and Sonke, Jan-Jakob and Teuwen, Jonas},
88
+ booktitle={Medical Imaging with Deep Learning},
89
+ year={2026},
90
+ url={https://proceedings.mlr.press/v315/moriakov26a.html}
91
+ }
92
+ ```