Zero-Shot Object Detection
Transformers.js
ONNX
grounding-dino
open-vocabulary-detection
onnxruntime-web
webgpu
Instructions to use CardAnvilModels/grounding-dino-tiny-ONNX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use CardAnvilModels/grounding-dino-tiny-ONNX with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('zero-shot-object-detection', 'CardAnvilModels/grounding-dino-tiny-ONNX');
Download preprocessor_config.json from CardAnvilModels/grounding-dino-tiny-ONNX: direct link, hf CLI and curl.
- Browser
- Download file 496 Bytes
-
https://huggingface.co/CardAnvilModels/grounding-dino-tiny-ONNX/resolve/main/preprocessor_config.json
- Command line
-
hf download hf://CardAnvilModels/grounding-dino-tiny-ONNX/preprocessor_config.json
-
curl -L -o preprocessor_config.json https://huggingface.co/CardAnvilModels/grounding-dino-tiny-ONNX/resolve/main/preprocessor_config.json
496 Bytes
| { | |
| "do_convert_annotations": true, | |
| "do_normalize": true, | |
| "do_pad": true, | |
| "do_rescale": true, | |
| "do_resize": true, | |
| "format": "coco_detection", | |
| "image_mean": [ | |
| 0.485, | |
| 0.456, | |
| 0.406 | |
| ], | |
| "image_processor_type": "GroundingDinoImageProcessor", | |
| "image_std": [ | |
| 0.229, | |
| 0.224, | |
| 0.225 | |
| ], | |
| "pad_size": null, | |
| "processor_class": "GroundingDinoProcessor", | |
| "resample": 2, | |
| "rescale_factor": 0.00392156862745098, | |
| "size": { | |
| "width": 800, | |
| "height": 800 | |
| } | |
| } | |