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
Upload preprocessor_config.json
Browse files- preprocessor_config.json +6 -0
preprocessor_config.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"preprocessor_config": {
|
| 3 |
+
" normalization": true,
|
| 4 |
+
"feature_extractor_type": "default"
|
| 5 |
+
}
|
| 6 |
+
}
|