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
Update preprocessor_config.json
#1
by yonigozlan HF Staff - opened
- 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,
|