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