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, dtype="auto") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +0 -1
config.json
CHANGED
|
@@ -4,7 +4,6 @@
|
|
| 4 |
"alpha": 0.25,
|
| 5 |
"auto_map": {
|
| 6 |
"AutoConfig": "configuration_diffusiondet.DiffusionDetConfig",
|
| 7 |
-
"AutoImageProcessor": "image_processing_diffusiondet.DiffusionDetImageProcessor",
|
| 8 |
"AutoModelForObjectDetection": "modeling_diffusiondet.DiffusionDet"
|
| 9 |
},
|
| 10 |
"backbone": "resnet50",
|
|
|
|
| 4 |
"alpha": 0.25,
|
| 5 |
"auto_map": {
|
| 6 |
"AutoConfig": "configuration_diffusiondet.DiffusionDetConfig",
|
|
|
|
| 7 |
"AutoModelForObjectDetection": "modeling_diffusiondet.DiffusionDet"
|
| 8 |
},
|
| 9 |
"backbone": "resnet50",
|