Instructions to use HichTala/DiffusionDet with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use HichTala/DiffusionDet with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("object-detection", model="HichTala/DiffusionDet", trust_remote_code=True)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("HichTala/DiffusionDet", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload config
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -24,7 +24,7 @@
|
|
| 24 |
"giou_weight": 2.0,
|
| 25 |
"hidden_dim": 256,
|
| 26 |
"l1_weight": 5.0,
|
| 27 |
-
"model_type": "
|
| 28 |
"no_object_weight": 0.1,
|
| 29 |
"num_attn_heads": 8,
|
| 30 |
"num_channels": 3,
|
|
|
|
| 24 |
"giou_weight": 2.0,
|
| 25 |
"hidden_dim": 256,
|
| 26 |
"l1_weight": 5.0,
|
| 27 |
+
"model_type": "diffusiondet",
|
| 28 |
"no_object_weight": 0.1,
|
| 29 |
"num_attn_heads": 8,
|
| 30 |
"num_channels": 3,
|