Download inference.py from ianpan/ct-cspine-segmentation: direct link, hf CLI and curl.
- Browser
- Download file 123 Bytes
-
https://huggingface.co/ianpan/ct-cspine-segmentation/resolve/main/inference.py
- Command line
-
hf download hf://ianpan/ct-cspine-segmentation/inference.py
-
curl -L -o inference.py https://huggingface.co/ianpan/ct-cspine-segmentation/resolve/main/inference.py
123 Bytes
| from skp.cspine.pipeline import CervicalSpineSegmenter | |
| model = CervicalSpineSegmenter.from_pretrained('.', device='cuda') | |