Instructions to use rishabh063/detrSubject with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use rishabh063/detrSubject with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("object-detection", model="rishabh063/detrSubject")# Load model directly from transformers import AutoImageProcessor, AutoModelForObjectDetection processor = AutoImageProcessor.from_pretrained("rishabh063/detrSubject") model = AutoModelForObjectDetection.from_pretrained("rishabh063/detrSubject") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +2 -2
config.json
CHANGED
|
@@ -14,7 +14,7 @@
|
|
| 14 |
"hidden_dropout_prob": 0.0,
|
| 15 |
"hidden_size": 384,
|
| 16 |
"id2label": {
|
| 17 |
-
"0": "Subject"
|
| 18 |
},
|
| 19 |
"image_size": [
|
| 20 |
512,
|
|
@@ -23,7 +23,7 @@
|
|
| 23 |
"initializer_range": 0.02,
|
| 24 |
"intermediate_size": 1536,
|
| 25 |
"label2id": {
|
| 26 |
-
"Subject": 0
|
| 27 |
},
|
| 28 |
"layer_norm_eps": 1e-12,
|
| 29 |
"model_type": "yolos",
|
|
|
|
| 14 |
"hidden_dropout_prob": 0.0,
|
| 15 |
"hidden_size": 384,
|
| 16 |
"id2label": {
|
| 17 |
+
"0": "Subject"
|
| 18 |
},
|
| 19 |
"image_size": [
|
| 20 |
512,
|
|
|
|
| 23 |
"initializer_range": 0.02,
|
| 24 |
"intermediate_size": 1536,
|
| 25 |
"label2id": {
|
| 26 |
+
"Subject": 0
|
| 27 |
},
|
| 28 |
"layer_norm_eps": 1e-12,
|
| 29 |
"model_type": "yolos",
|