Instructions to use HanzoHuang/YOLOv10-RKNN2-Ultralytics with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- YOLOv10
How to use HanzoHuang/YOLOv10-RKNN2-Ultralytics with YOLOv10:
from huggingface_hub import hf_hub_download from ultralytics import YOLOv10 # pick the weights file from this repo's "Files and versions" tab weights = hf_hub_download("HanzoHuang/YOLOv10-RKNN2-Ultralytics", "<weights>.pt") model = YOLOv10(weights) source = 'http://images.cocodataset.org/val2017/000000039769.jpg' model.predict(source=source, save=True) - Notebooks
- Google Colab
- Kaggle
Link related RKNN exports
Browse files
README.md
CHANGED
|
@@ -29,3 +29,7 @@ The [model manifest](manifest.json) records file hashes, precision, and input si
|
|
| 29 |
Use the `metadata.yaml` from the same INT8 model folder. The detector outputs normalized box coordinates, so the app needs `coordinates: normalized`. Import both files together in the warehouse. For the CLI, keep them in the same directory. Interpreting the coordinates as pixels can result in no boxes.
|
| 30 |
|
| 31 |
Models are organized by RKNN Toolkit2 version under `models/v<version>/`. Each model and its metadata share a folder.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
Use the `metadata.yaml` from the same INT8 model folder. The detector outputs normalized box coordinates, so the app needs `coordinates: normalized`. Import both files together in the warehouse. For the CLI, keep them in the same directory. Interpreting the coordinates as pixels can result in no boxes.
|
| 30 |
|
| 31 |
Models are organized by RKNN Toolkit2 version under `models/v<version>/`. Each model and its metadata share a folder.
|
| 32 |
+
|
| 33 |
+
## Related RKNN exports
|
| 34 |
+
|
| 35 |
+
This repository uses the Ultralytics export workflow. For the Rockchip Model Zoo conversion, see [YOLOv10-RKNN2](https://huggingface.co/HanzoHuang/YOLOv10-RKNN2).
|