Instructions to use HCedric/IMPACTSeg with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- KonfAI
How to use HCedric/IMPACTSeg with KonfAI:
pip install "konfai[imaging]" konfai-apps
# List the apps this repository holds konfai-apps list HCedric/IMPACTSeg # Run one of them on an image konfai-apps infer HCedric/IMPACTSeg:<app> -i image.nii.gz -o Output
- Notebooks
- Google Colab
- Kaggle
Download coarse/app.json from HCedric/IMPACTSeg: direct link, hf CLI and curl.
- Browser
- Download file 2.78 kB
-
https://huggingface.co/HCedric/IMPACTSeg/resolve/main/coarse/app.json
- Command line
-
hf download hf://HCedric/IMPACTSeg/coarse/app.json
-
curl -L -o app.json https://huggingface.co/HCedric/IMPACTSeg/resolve/main/coarse/app.json
2.78 kB
| { | |
| "display_name": "Segmentation: IMPACT-Seg Coarse", | |
| "short_description": "<b>Description:</b><br>The light <a href='https://github.com/HEMONCedric/IMPACTSeg'>IMPACT-Seg</a> network: <b>11 body regions and tissues</b> (subcutaneous tissue, muscle, abdominal and thoracic cavities, bones, glands, pericardium, breast implant, mediastinum, spinal cord, brain) on <b>CT, CBCT and MR</b> scans.", | |
| "description": "<b>Description:</b><br>The light <a href='https://github.com/HEMONCedric/IMPACTSeg'>IMPACT-Seg</a> network: <b>11 body regions and tissues</b> (subcutaneous tissue, muscle, abdominal and thoracic cavities, bones, glands, pericardium, breast implant, mediastinum, spinal cord, brain) on <b>CT, CBCT and MR</b> scans.<br><br><b>Models:</b><br>3D residual-encoder U-Net of 7 M parameters, patch 128 x 128 x 128 at 3 mm, one model.<br><br><b>How to cite:</b><br>The manuscript is in preparation (C. H\u00e9mon, V. Boussot, M. McCormick, L. Zimmermann, C. Kurz, G. Landry); until then, cite the <a href='https://github.com/HEMONCedric/IMPACTSeg'>IMPACT-Seg</a> repository.<br><br>Research use only, not a clinically validated device.", | |
| "tta": 0, | |
| "mc_dropout": 0, | |
| "inputs": { | |
| "Volume": { | |
| "display_name": "Input Volume", | |
| "volume_type": "VOLUME", | |
| "required": true | |
| } | |
| }, | |
| "outputs": { | |
| "Segmentation": { | |
| "display_name": "Segmentation", | |
| "volume_type": "SEGMENTATION", | |
| "required": true | |
| } | |
| }, | |
| "inputs_evaluations": { | |
| "Image": { | |
| "Evaluation.yml": { | |
| "Segmentation": { | |
| "display_name": "Output Segmentation", | |
| "volume_type": "VOLUME", | |
| "required": true | |
| }, | |
| "GT_Segmentation": { | |
| "display_name": "GT Segmentation", | |
| "volume_type": "VOLUME", | |
| "required": true | |
| } | |
| } | |
| } | |
| }, | |
| "terminology": { | |
| "1": { | |
| "name": "subcutaneous_tissue", | |
| "color": "#F4A261" | |
| }, | |
| "2": { | |
| "name": "muscle", | |
| "color": "#E76F51" | |
| }, | |
| "3": { | |
| "name": "abdominal_cavity", | |
| "color": "#2A9D8F" | |
| }, | |
| "4": { | |
| "name": "thoracic_cavity", | |
| "color": "#264653" | |
| }, | |
| "5": { | |
| "name": "bones", | |
| "color": "#E9C46A" | |
| }, | |
| "6": { | |
| "name": "gland_structure", | |
| "color": "#8AB17D" | |
| }, | |
| "7": { | |
| "name": "pericardium", | |
| "color": "#C8553D" | |
| }, | |
| "8": { | |
| "name": "prosthetic_breast_implant", | |
| "color": "#B56576" | |
| }, | |
| "9": { | |
| "name": "mediastinum", | |
| "color": "#577590" | |
| }, | |
| "10": { | |
| "name": "spinal_cord", | |
| "color": "#6D597A" | |
| }, | |
| "11": { | |
| "name": "brain", | |
| "color": "#43AA8B" | |
| } | |
| }, | |
| "task": "segmentation", | |
| "models": [ | |
| "coarse.safetensors" | |
| ], | |
| "support_files": [ | |
| "model.py" | |
| ] | |
| } |