Instructions to use Roboflow/rf-detr-segmentation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Roboflow/rf-detr-segmentation with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-segmentation", model="Roboflow/rf-detr-segmentation")# Load model directly from transformers import AutoImageProcessor, RfDetrForInstanceSegmentation processor = AutoImageProcessor.from_pretrained("Roboflow/rf-detr-segmentation") model = RfDetrForInstanceSegmentation.from_pretrained("Roboflow/rf-detr-segmentation") - Notebooks
- Google Colab
- Kaggle
Commit ·
4c7844e
1
Parent(s): 4b871e5
Update preprocessor_config.json (#1)
Browse files- Update preprocessor_config.json (8bbff204c7bd0434a65da13ca01a584646219ad0)
Co-authored-by: Yoni Gozlan <yonigozlan@users.noreply.huggingface.co>
- preprocessor_config.json +1 -1
preprocessor_config.json
CHANGED
|
@@ -10,7 +10,7 @@
|
|
| 10 |
0.456,
|
| 11 |
0.406
|
| 12 |
],
|
| 13 |
-
"image_processor_type": "
|
| 14 |
"image_std": [
|
| 15 |
0.229,
|
| 16 |
0.224,
|
|
|
|
| 10 |
0.456,
|
| 11 |
0.406
|
| 12 |
],
|
| 13 |
+
"image_processor_type": "RfDetrImageProcessor",
|
| 14 |
"image_std": [
|
| 15 |
0.229,
|
| 16 |
0.224,
|