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 ·
7eaf3be
1
Parent(s): 8314d99
Upload processor
Browse files- preprocessor_config.json +1 -1
preprocessor_config.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"do_normalize": true,
|
| 3 |
-
"do_reduce_labels":
|
| 4 |
"do_rescale": true,
|
| 5 |
"do_resize": true,
|
| 6 |
"image_mean": 0.5,
|
|
|
|
| 1 |
{
|
| 2 |
"do_normalize": true,
|
| 3 |
+
"do_reduce_labels": true,
|
| 4 |
"do_rescale": true,
|
| 5 |
"do_resize": true,
|
| 6 |
"image_mean": 0.5,
|