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
File size: 117 Bytes
48c3280 | 1 2 3 4 5 6 | {
"preprocessor_config": {
" normalization": true,
"feature_extractor_type": "default"
}
} |