Instructions to use IslemTouati/segmentation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use IslemTouati/segmentation with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, SegformerForSemanticSegmentation processor = AutoImageProcessor.from_pretrained("IslemTouati/segmentation") model = SegformerForSemanticSegmentation.from_pretrained("IslemTouati/segmentation", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download preprocessor_config.json from IslemTouati/segmentation: direct link, hf CLI and curl.
- Browser
- Download file 117 Bytes
-
https://huggingface.co/IslemTouati/segmentation/resolve/main/preprocessor_config.json
- Command line
-
hf download hf://IslemTouati/segmentation/preprocessor_config.json
-
curl -L -o preprocessor_config.json https://huggingface.co/IslemTouati/segmentation/resolve/main/preprocessor_config.json
117 Bytes
| { | |
| "preprocessor_config": { | |
| " normalization": true, | |
| "feature_extractor_type": "default" | |
| } | |
| } |