You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -154,7 +154,10 @@ docker run --rm \
154
154
ghcr.io/bic-mac-challenge/recon:latest
155
155
```
156
156
157
-
The reconstructed PET is written to `/data/output/pet.nii.
157
+
The reconstructed PET is written to `/data/output/pet.nii.gz`.
158
+
159
+
> [!WARNING]
160
+
> Running reconstruction requires **~20 GB of RAM** and takes **20–120 minutes** depending on CPU speed. The `intermediates/` folder uses **~50 GB** of additional disk space — consider deleting it after a successful reconstruction.
Copy file name to clipboardExpand all lines: docs/docker-packaging.md
+7-18Lines changed: 7 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
Your container is run once per subject with two volume mounts:
4
4
5
5
```bash
6
-
docker run --rm \
6
+
timeout 300 docker run --rm \
7
7
--memory 128g \
8
8
--network none \
9
9
--gpus all \
@@ -31,9 +31,8 @@ Your container must write the predicted CT to **`/data/output/ct.nii.gz`** — a
31
31
32
32
## Baseline as a Starting Point
33
33
34
-
The baseline Dockerfile lives at `src/baseline/v2/inference/docker/Dockerfile`. It uses a PyTorch base image, installs dependencies from `requirements.txt`, copies code and weights, and sets the inference script as the entrypoint. Use it as a template.
34
+
The baseline Dockerfile lives at `src/baseline/Dockerfile`. It uses a PyTorch base image, installs dependencies from `requirements.txt`, copies code and weights, and sets the inference script as the entrypoint. You can use it as a template.
35
35
36
-
The key adaptation for any submission is reading inputs from `/data/features/` and writing output to `/data/output/`:
Save your image and email it (or a download link) to **bic-mac-challenge@github.io**:
55
-
56
-
```bash
57
-
docker save my-model:latest | gzip > my-model.tar.gz
58
-
```
51
+
## Validating Before Submission
59
52
60
-
Subject line: `[DRY-RUN] <TeamName>` or `[FINAL] <TeamName>`
61
-
62
-
See [submission-guide.md](submission-guide.md) for phase details.
53
+
Before sending us your image, run it on the 4 validation subjects and upload the predictions to Codabench to confirm your container works end-to-end and your scores look reasonable. We cannot debug containers that fail silently on our infrastructure, so this step is required.
63
54
64
55
---
65
56
66
-
## Common Pitfalls
67
-
68
-
**Hardcoded paths** — make sure your container reads from `/data/features/`, not from training-time paths.
57
+
## Submitting
69
58
70
-
**Affine mismatch** — always copy the header from `features/nacpet.nii.gz` when saving output; don't derive it from an intermediate resampled volume.
59
+
See [submission-guide.md](submission-guide.md) for full submission instructions, including how to share your image via Docker Hub or a compressed archive.
71
60
72
-
**Network downloads at runtime** — `torch.hub`, `huggingface_hub`, etc. will fail. Bake weights in during `docker build`.
Copy file name to clipboardExpand all lines: docs/reconstruction.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,6 +23,9 @@ Intermediate outputs (μ-map, ACF sinogram, STIR-format files) are written to `o
23
23
24
24
---
25
25
26
+
> [!WARNING]
27
+
> Running reconstruction requires **~20 GB of RAM** and takes **20–120 minutes** depending on CPU speed. The `intermediates/` folder uses **~50 GB** of additional disk space — consider deleting it after a successful reconstruction.
Same as the dry run — email your container to **bic-mac-challenge@github.io** with subject:
107
-
108
-
```
109
-
[FINAL] <TeamName>
110
-
```
109
+
Same as the dry run — email your container to **bic-mac-challenge@github.io** with subject `[FINAL] <TeamName>`, using Docker Hub or a compressed archive with a file sharing link.
log.warning("Running reconstruction requires 20GB of RAM and takes 20-120 minutes depending on CPU. The intermediates folder takes up ~50GB of additional space. Consider deleting it after succesfull reconstruction")
0 commit comments