Instructions to use Roboflow/rf-detr-medium with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Roboflow/rf-detr-medium with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("object-detection", model="Roboflow/rf-detr-medium")# Load model directly from transformers import AutoImageProcessor, AutoModelForObjectDetection processor = AutoImageProcessor.from_pretrained("Roboflow/rf-detr-medium") model = AutoModelForObjectDetection.from_pretrained("Roboflow/rf-detr-medium") - Notebooks
- Google Colab
- Kaggle
Update preprocessor_config.json
#1
by yonigozlan - 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,
|