File size: 2,082 Bytes
5ab0348 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | # Checkpoints
This directory holds all pretrained and finetuned model weights for DeepSparse.
> **Note**: This directory is excluded from the git repository. Checkpoints are hosted on HuggingFace:
> **[HajihajihaJimmy/DeepSparse](https://huggingface.co/HajihajihaJimmy/DeepSparse)**
## Naming Convention
```
logs/
pretrain/ep_700.pth Pretrained foundation model (AtlasAbdomenMini, ep 700)
{dataset}+{n}v+s2/ep_400.pth Finetuned model — dataset, n input views, Stage 2, epoch 400
```
## Checkpoint Map
| Folder | Anatomy | Views | Stage | Original training run |
|--------|---------|-------|-------|-----------------------|
| `pretrain/` | — (pretraining) | 6–24 | Pretrain | `atlas_7k+mv+rv` |
| `abdomen+6v+s2/` | Abdomen (PANORAMA) | 6 | S2 | `atlas_7k+mv+rv+s1+ep7+abdomen+6v+s2` |
| `abdomen+8v+s2/` | Abdomen (PANORAMA) | 8 | S2 | `atlas_7k+mv+rv+s1+ep7+abdomen+8v+s2` |
| `abdomen+10v+s2/` | Abdomen (PANORAMA) | 10 | S2 | `atlas_7k+mv+rv+s1+ep7+abdomen+10v+s2` |
| `pelvis+6v+s2/` | Pelvis (PENGWIN) | 6 | S2 | `atlas_7k+mv+rv+s1+ep7+pelvis+6v+s2` |
| `pelvis+8v+s2/` | Pelvis (PENGWIN) | 8 | S2 | `atlas_7k+mv+rv+s1+ep7+pelvis+8v+s2` |
| `pelvis+10v+s2/` | Pelvis (PENGWIN) | 10 | S2 | `atlas_7k+mv+rv+s1+ep7+pelvis+10v+s2` |
| `tooth+6v+s2/` | Tooth (ToothFairy) | 6 | S2 | `atlas_7k+mv+rv+s1+ep7+tooth+6v+s2` |
| `tooth+8v+s2/` | Tooth (ToothFairy) | 8 | S2 | `atlas_7k+mv+rv+s1+ep7+tooth+8v+s2` |
| `tooth+10v+s2/` | Tooth (ToothFairy) | 10 | S2 | `atlas_7k+mv+rv+s1+ep7+tooth+10v+s2` |
| `luna+6v+s2/` | Lung (LUNA16) | 6 | S2 | `atlas_7k+mv+rv+ft_s1+ep7+s2` (ep 800) |
| `luna+8v+s2/` | Lung (LUNA16) | 8 | S1\* | `atlas_7k+mv+rv+s1+ep7+8v` (ep 800) |
| `luna+10v+s2/` | Lung (LUNA16) | 10 | S1\* | `atlas_7k+mv+rv+s1+ep7+10v` (ep 800) |
\* Luna 8v and 10v use a single-stage training run (800 epochs) equivalent to the combined S1+S2 pipeline used for other anatomies.
## Usage
All evaluation scripts expect checkpoints at `logs/{name}/ep_{epoch}.pth`. The default epoch for inference is `400` (set via `--epoch 400` in `evaluate_s2.sh`).
|