|
Download README.md from amine0110/fennecseg: direct link, hf CLI and curl.
- Browser
- Download file 4.53 kB
-
https://huggingface.co/amine0110/fennecseg/resolve/main/README.md
- Command line
-
hf download hf://amine0110/fennecseg/README.md
-
curl -L -o README.md https://huggingface.co/amine0110/fennecseg/resolve/main/README.md
4.53 kB
| license: apache-2.0 | |
| library_name: fennecseg | |
| tags: [medical-imaging, ct, segmentation, 3d, arxiv:2611.38223] | |
| # FennecSeg models | |
| <p align="center"><img src="https://huggingface.co/amine0110/fennecseg/resolve/main/assets/hero.png" alt="FennecSeg predictions on a test CT: 3D render, coronal and sagittal slices" width="100%"></p> | |
| Compact, fast 3D CT segmentation models for the [fennecseg](https://github.com/pycadd/FennecSeg) library. | |
| Paper: [FennecSeg: Compact CT Segmentation Models that Match TotalSegmentator at a Fraction of the Compute](https://arxiv.org/abs/2611.38223) (arXiv:2611.38223). | |
| Each organ set (family) has its own version line; every release is an immutable tag `<family>-v<version>`. | |
| fennecseg predict scan.nii.gz -o seg.nii.gz --model abdomen14 # latest abdomen14 | |
| fennecseg predict scan.nii.gz -o seg.nii.gz --model abdomen14@0.1.0 # exact version | |
| Training data: TotalSegmentator dataset v3.0.0 (Wasserthal et al., CC BY 4.0), official train split. | |
| Benchmarks use scans from the official test split, which no model saw in training. | |
| Licence of these weights: Apache-2.0, © 2026 PYCAD. Please also credit the TotalSegmentator dataset. | |
| Research use: these models are not medical devices and must not be used for diagnosis or treatment decisions. | |
| Install the library: `pip install "fennecseg[hub] @ git+https://github.com/pycadd/FennecSeg"` | |
| <p align="center"><img src="https://huggingface.co/amine0110/fennecseg/resolve/main/assets/models.png" alt="abdomen14, thorax7 and spine26 predictions with their benchmark scores" width="100%"></p> | |
| <p align="center"><img src="https://huggingface.co/amine0110/fennecseg/resolve/main/assets/turntable.gif" alt="Rotating 3D view of the three models' predictions" width="280"></p> | |
| ## Released versions | |
| | tag | structures | Dice | NSD 2 mm | s/scan | benchmark | notes | | |
| |---|---|---|---|---|---|---| | |
| | `abdomen14-v0.1.0` | 14 (abdomen14) | 0.886 | 0.893 | 1.50 | 30 scans, 30 CTs from the TotalSegmentator v3 test split, RTX 4070 | First model: about 4.5 h of training (57k iterations), still improving when stopped. | | |
| | `abdomen14-v0.2.0` | 14 (abdomen14) | 0.901 | 0.915 | 1.52 | 30 scans, 30 CTs from the TotalSegmentator v3 test split, RTX 4070 | v0 + one more night (150k iterations), weak organs sampled 2x; +0.015 Dice over 0.1.0 | | |
| | `abdomen14-v0.3.0` | 14 (abdomen14) | 0.884 | 0.900 | 1.16 | 109 scans, all 109 CTs of the TotalSegmentator v3 test split, RTX 4070; run with the fennecseg library (identical to the benchmark predictions); time includes reading, filtering and writing | 0.2.0 fine-tuned one more night (256k iterations) with the Dice loss over the classes present in the batch, plus removal of pieces under 337.5 mm3 (100 voxels at 1.5 mm; size chosen on validation scans; needs fennecseg >= 0.2.0; turn off with --min-mm3 0 to keep very small structures such as small adrenal glands). +0.017 Dice over 0.2.0 on 109 test CTs | | |
| | `spine26-v0.1.0` | 26 (spine26) | 0.894 | 0.934 | 1.22 | 109 scans, all 109 CTs of the TotalSegmentator v3 test split, RTX 4070; run with the fennecseg library (identical to the benchmark predictions); vertebrae_L6 (in 1 test scan) left out of the mean | first spine model: vertebrae C1-L6 and sacrum (the structures of TotalSegmentator's vertebrae network); 178k iterations warm-started from abdomen14 0.2.0, Dice loss over the classes present in the batch; no post-processing | | |
| | `thorax7-v0.1.0` | 7 (thorax7) | 0.917 | 0.903 | 1.10 | 109 scans, all 109 CTs of the TotalSegmentator v3 test split, RTX 4070; run with the fennecseg library (identical to the benchmark predictions) | first chest model: five lung lobes, trachea and heart; 262k iterations (19.5 GPU hours) warm-started from abdomen14 0.3.0, Dice loss over the classes present in the batch; no post-processing | | |
| ## Citation | |
| ```bibtex | |
| @misc{mokhtari2026fennecseg, | |
| title = {FennecSeg: Compact CT Segmentation Models that Match TotalSegmentator at a Fraction of the Compute}, | |
| author = {Mokhtari, Mohammed El Amine and Mokhtari, Nour Islam}, | |
| year = {2026}, | |
| eprint = {2611.38223}, | |
| archivePrefix = {arXiv}, | |
| primaryClass = {cs.CV}, | |
| doi = {10.48550/arXiv.2611.38223}, | |
| url = {https://arxiv.org/abs/2611.38223} | |
| } | |
| ``` | |
| Please also cite the TotalSegmentator dataset the models are trained on: Wasserthal J. et al., *TotalSegmentator: Robust Segmentation of 104 Anatomic Structures in CT Images*, Radiology: Artificial Intelligence, 2023, doi:10.1148/ryai.230024. | |