Instructions to use Transformers123/testing_303 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Transformers123/testing_303 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-segmentation", model="Transformers123/testing_303")# Load model directly from transformers import AutoImageProcessor, SegformerForSemanticSegmentation processor = AutoImageProcessor.from_pretrained("Transformers123/testing_303") model = SegformerForSemanticSegmentation.from_pretrained("Transformers123/testing_303") - Notebooks
- Google Colab
- Kaggle
Commit ·
326a6c6
1
Parent(s): d07ed77
Upload processor
Browse files- preprocessor_config.json +15 -0
preprocessor_config.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"do_normalize": true,
|
| 3 |
+
"do_reduce_labels": false,
|
| 4 |
+
"do_rescale": true,
|
| 5 |
+
"do_resize": true,
|
| 6 |
+
"image_mean": 0.5,
|
| 7 |
+
"image_processor_type": "SegformerImageProcessor",
|
| 8 |
+
"image_std": 0.5,
|
| 9 |
+
"resample": 2,
|
| 10 |
+
"rescale_factor": 0.00392156862745098,
|
| 11 |
+
"size": {
|
| 12 |
+
"height": 512,
|
| 13 |
+
"width": 512
|
| 14 |
+
}
|
| 15 |
+
}
|