Instructions to use FriedParrot/fish-segmentation-simple with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use FriedParrot/fish-segmentation-simple with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-segmentation", model="FriedParrot/fish-segmentation-simple")# Load model directly from transformers import AutoImageProcessor, AutoModelForImageSegmentation processor = AutoImageProcessor.from_pretrained("FriedParrot/fish-segmentation-simple") model = AutoModelForImageSegmentation.from_pretrained("FriedParrot/fish-segmentation-simple") - Notebooks
- Google Colab
- Kaggle
Add image processor at 2025-10-05 07:06:58
Browse files- preprocessor_config.json +1 -1
preprocessor_config.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
| 4 |
"do_pad": true,
|
| 5 |
"do_rescale": true,
|
| 6 |
"do_resize": true,
|
| 7 |
-
"format": "
|
| 8 |
"image_mean": [
|
| 9 |
0.485,
|
| 10 |
0.456,
|
|
|
|
| 4 |
"do_pad": true,
|
| 5 |
"do_rescale": true,
|
| 6 |
"do_resize": true,
|
| 7 |
+
"format": "coco_panoptic",
|
| 8 |
"image_mean": [
|
| 9 |
0.485,
|
| 10 |
0.456,
|