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 preprocessing.json from HCedric/IMPACTSeg: direct link, hf CLI and curl.
- Browser
- Download file 474 Bytes
-
https://huggingface.co/HCedric/IMPACTSeg/resolve/21bb489657b2fe0525fbc1ed052d35ac342ef489/preprocessing.json
- Command line
-
hf download hf://HCedric/IMPACTSeg@21bb489657b2fe0525fbc1ed052d35ac342ef489/preprocessing.json
-
curl -L -o preprocessing.json https://huggingface.co/HCedric/IMPACTSeg/resolve/21bb489657b2fe0525fbc1ed052d35ac342ef489/preprocessing.json
474 Bytes
| { | |
| "orientation": "RAS", | |
| "order": [ | |
| "Canonical", | |
| "Standardize", | |
| "TensorCast", | |
| "Resample" | |
| ], | |
| "standardize": { | |
| "mean": null, | |
| "std": null, | |
| "mask": null, | |
| "scope": "whole raw volume" | |
| }, | |
| "dtype": "float32", | |
| "spacing_xyz_mm": [ | |
| 1.5, | |
| 1.5, | |
| 2.0 | |
| ], | |
| "align": "extent", | |
| "native_output": "nearest-neighbour resampling to original image geometry", | |
| "inference_reconstruction": "confidence_select", | |
| "default_overlap": 0.5 | |
| } | |