Instructions to use onnx-community/yolov10n with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use onnx-community/yolov10n with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('object-detection', 'onnx-community/yolov10n');
Download preprocessor_config.json from onnx-community/yolov10n: direct link, hf CLI and curl.
- Browser
- Download file 259 Bytes
-
https://huggingface.co/onnx-community/yolov10n/resolve/main/preprocessor_config.json
- Command line
-
hf download hf://onnx-community/yolov10n/preprocessor_config.json
-
curl -L -o preprocessor_config.json https://huggingface.co/onnx-community/yolov10n/resolve/main/preprocessor_config.json
259 Bytes
| { | |
| "do_normalize": false, | |
| "do_pad": true, | |
| "do_rescale": true, | |
| "do_resize": true, | |
| "feature_extractor_type": "ImageFeatureExtractor", | |
| "pad_size": 640, | |
| "resample": 2, | |
| "rescale_factor": 0.00392156862745098, | |
| "size": { | |
| "longest_edge": 640 | |
| } | |
| } |