Instructions to use PekingU/rtdetr_r50vd with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use PekingU/rtdetr_r50vd with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("object-detection", model="PekingU/rtdetr_r50vd")# Load model directly from transformers import AutoImageProcessor, AutoModelForObjectDetection processor = AutoImageProcessor.from_pretrained("PekingU/rtdetr_r50vd") model = AutoModelForObjectDetection.from_pretrained("PekingU/rtdetr_r50vd", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update config.json (#1)
Browse files- Update config.json (c64496c82d6504a5be525bbbec2af1b80e09beca)
Co-authored-by: Pavel Iakubovskii <qubvel-hf@users.noreply.huggingface.co>
- config.json +1 -4
config.json
CHANGED
|
@@ -1,10 +1,7 @@
|
|
| 1 |
{
|
| 2 |
"activation_dropout": 0.0,
|
| 3 |
"activation_function": "silu",
|
| 4 |
-
"anchor_image_size":
|
| 5 |
-
640,
|
| 6 |
-
640
|
| 7 |
-
],
|
| 8 |
"architectures": [
|
| 9 |
"RTDetrForObjectDetection"
|
| 10 |
],
|
|
|
|
| 1 |
{
|
| 2 |
"activation_dropout": 0.0,
|
| 3 |
"activation_function": "silu",
|
| 4 |
+
"anchor_image_size": null,
|
|
|
|
|
|
|
|
|
|
| 5 |
"architectures": [
|
| 6 |
"RTDetrForObjectDetection"
|
| 7 |
],
|