Add tested Rockchip RKOPT FP16 and INT8 detectors (Toolkit 2.3.2)
Browse files- .gitattributes +12 -0
- README.md +6 -1
- manifest.json +192 -0
- models/detect/yolov8m/rk3576/fp16/conversion.json +11 -0
- models/detect/yolov8m/rk3576/fp16/metadata.yaml +89 -0
- models/detect/yolov8m/rk3576/fp16/model.rknn +3 -0
- models/detect/yolov8m/rk3576/int8/conversion.json +11 -0
- models/detect/yolov8m/rk3576/int8/metadata.yaml +89 -0
- models/detect/yolov8m/rk3576/int8/model.rknn +3 -0
- models/detect/yolov8m/rk3588/fp16/conversion.json +11 -0
- models/detect/yolov8m/rk3588/fp16/metadata.yaml +89 -0
- models/detect/yolov8m/rk3588/fp16/model.rknn +3 -0
- models/detect/yolov8m/rk3588/int8/conversion.json +11 -0
- models/detect/yolov8m/rk3588/int8/metadata.yaml +89 -0
- models/detect/yolov8m/rk3588/int8/model.rknn +3 -0
- models/detect/yolov8n/rk3576/fp16/conversion.json +11 -0
- models/detect/yolov8n/rk3576/fp16/metadata.yaml +89 -0
- models/detect/yolov8n/rk3576/fp16/model.rknn +3 -0
- models/detect/yolov8n/rk3576/int8/conversion.json +11 -0
- models/detect/yolov8n/rk3576/int8/metadata.yaml +89 -0
- models/detect/yolov8n/rk3576/int8/model.rknn +3 -0
- models/detect/yolov8n/rk3588/fp16/conversion.json +11 -0
- models/detect/yolov8n/rk3588/fp16/metadata.yaml +89 -0
- models/detect/yolov8n/rk3588/fp16/model.rknn +3 -0
- models/detect/yolov8n/rk3588/int8/conversion.json +11 -0
- models/detect/yolov8n/rk3588/int8/metadata.yaml +89 -0
- models/detect/yolov8n/rk3588/int8/model.rknn +3 -0
- models/detect/yolov8s/rk3576/fp16/conversion.json +11 -0
- models/detect/yolov8s/rk3576/fp16/metadata.yaml +89 -0
- models/detect/yolov8s/rk3576/fp16/model.rknn +3 -0
- models/detect/yolov8s/rk3576/int8/conversion.json +11 -0
- models/detect/yolov8s/rk3576/int8/metadata.yaml +89 -0
- models/detect/yolov8s/rk3576/int8/model.rknn +3 -0
- models/detect/yolov8s/rk3588/fp16/conversion.json +11 -0
- models/detect/yolov8s/rk3588/fp16/metadata.yaml +89 -0
- models/detect/yolov8s/rk3588/fp16/model.rknn +3 -0
- models/detect/yolov8s/rk3588/int8/conversion.json +11 -0
- models/detect/yolov8s/rk3588/int8/metadata.yaml +89 -0
- models/detect/yolov8s/rk3588/int8/model.rknn +3 -0
- source/convert_official.py +194 -0
- source/onnx/yolov8m.onnx +3 -0
- source/onnx/yolov8n.onnx +3 -0
- source/onnx/yolov8s.onnx +3 -0
- source/rebuild-rockchip-detection.py +51 -0
- source/weights.json +33 -0
- source/weights/yolov8m.pt +3 -0
- source/weights/yolov8n.pt +3 -0
- source/weights/yolov8s.pt +3 -0
.gitattributes
CHANGED
|
@@ -61,3 +61,15 @@ models/obb/yolov8s-obb/rk3588/fp16/model.rknn filter=lfs diff=lfs merge=lfs -tex
|
|
| 61 |
models/obb/yolov8s-obb/rk3588/int8/model.rknn filter=lfs diff=lfs merge=lfs -text
|
| 62 |
models/pose/yolov8s-pose/rk3588/fp16/model.rknn filter=lfs diff=lfs merge=lfs -text
|
| 63 |
models/pose/yolov8s-pose/rk3588/int8/model.rknn filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 61 |
models/obb/yolov8s-obb/rk3588/int8/model.rknn filter=lfs diff=lfs merge=lfs -text
|
| 62 |
models/pose/yolov8s-pose/rk3588/fp16/model.rknn filter=lfs diff=lfs merge=lfs -text
|
| 63 |
models/pose/yolov8s-pose/rk3588/int8/model.rknn filter=lfs diff=lfs merge=lfs -text
|
| 64 |
+
models/detect/yolov8m/rk3576/fp16/model.rknn filter=lfs diff=lfs merge=lfs -text
|
| 65 |
+
models/detect/yolov8m/rk3576/int8/model.rknn filter=lfs diff=lfs merge=lfs -text
|
| 66 |
+
models/detect/yolov8m/rk3588/fp16/model.rknn filter=lfs diff=lfs merge=lfs -text
|
| 67 |
+
models/detect/yolov8m/rk3588/int8/model.rknn filter=lfs diff=lfs merge=lfs -text
|
| 68 |
+
models/detect/yolov8n/rk3576/fp16/model.rknn filter=lfs diff=lfs merge=lfs -text
|
| 69 |
+
models/detect/yolov8n/rk3576/int8/model.rknn filter=lfs diff=lfs merge=lfs -text
|
| 70 |
+
models/detect/yolov8n/rk3588/fp16/model.rknn filter=lfs diff=lfs merge=lfs -text
|
| 71 |
+
models/detect/yolov8n/rk3588/int8/model.rknn filter=lfs diff=lfs merge=lfs -text
|
| 72 |
+
models/detect/yolov8s/rk3576/fp16/model.rknn filter=lfs diff=lfs merge=lfs -text
|
| 73 |
+
models/detect/yolov8s/rk3576/int8/model.rknn filter=lfs diff=lfs merge=lfs -text
|
| 74 |
+
models/detect/yolov8s/rk3588/fp16/model.rknn filter=lfs diff=lfs merge=lfs -text
|
| 75 |
+
models/detect/yolov8s/rk3588/int8/model.rknn filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
|
@@ -13,10 +13,15 @@ tags:
|
|
| 13 |
Rockchip-guided and custom YOLO exports for RK3576 and RK3588.
|
| 14 |
Converted with RKNN Toolkit2 2.3.2.
|
| 15 |
|
| 16 |
-
Available tasks: classify, obb, pose.
|
| 17 |
|
| 18 |
Download `model.rknn` and `metadata.yaml` from the same folder under `models/<task>/<variant>/<chip>/<precision>/`.
|
| 19 |
|
| 20 |
The manifest records model and metadata checksums. Original checkpoints, conversion scripts, and their provenance are in `source/`.
|
| 21 |
|
| 22 |
The models and checkpoints are distributed under AGPL-3.0. See `LICENSE` and `source/weights.json`.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
Rockchip-guided and custom YOLO exports for RK3576 and RK3588.
|
| 14 |
Converted with RKNN Toolkit2 2.3.2.
|
| 15 |
|
| 16 |
+
Available tasks: detect, classify, obb, pose.
|
| 17 |
|
| 18 |
Download `model.rknn` and `metadata.yaml` from the same folder under `models/<task>/<variant>/<chip>/<precision>/`.
|
| 19 |
|
| 20 |
The manifest records model and metadata checksums. Original checkpoints, conversion scripts, and their provenance are in `source/`.
|
| 21 |
|
| 22 |
The models and checkpoints are distributed under AGPL-3.0. See `LICENSE` and `source/weights.json`.
|
| 23 |
+
|
| 24 |
+
Detection includes the n, s, and m sizes in FP16 and INT8 for both chips.
|
| 25 |
+
The checkpoints were exported with Rockchip's RKOPT detector head and
|
| 26 |
+
compiled with the Model Zoo converter. The exact checkpoint URLs, exporter
|
| 27 |
+
commits, scripts, and ONNX graphs are under `source/`.
|
manifest.json
CHANGED
|
@@ -350,5 +350,197 @@
|
|
| 350 |
"onnx_sha256": "9331aa2e49adefb04f88eec55360e3a5cfed082c3a138f336e81494c26a8a663",
|
| 351 |
"metadata_sha256": "a5baf2163963cfb9d221b5fd248b43d504c3f816b91e6375a21b9d4fc4ae471b",
|
| 352 |
"conversion": "rockchip-guided"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 353 |
}
|
| 354 |
]
|
|
|
|
| 350 |
"onnx_sha256": "9331aa2e49adefb04f88eec55360e3a5cfed082c3a138f336e81494c26a8a663",
|
| 351 |
"metadata_sha256": "a5baf2163963cfb9d221b5fd248b43d504c3f816b91e6375a21b9d4fc4ae471b",
|
| 352 |
"conversion": "rockchip-guided"
|
| 353 |
+
},
|
| 354 |
+
{
|
| 355 |
+
"name": "yolov8m",
|
| 356 |
+
"family": "yolov8",
|
| 357 |
+
"task": "detect",
|
| 358 |
+
"chip": "rk3576",
|
| 359 |
+
"precision": "fp16",
|
| 360 |
+
"path": "models/detect/yolov8m/rk3576/fp16",
|
| 361 |
+
"sha256": "66650ced5c0fefa87c89e6e9c7b0a43d4b808a34d215dad5eb872ff4a82d8ce0",
|
| 362 |
+
"metadata_sha256": "794322a84d2a3c8e00957284acd9cedc84a74ffbcc962e152f6529f9d2c1cc86",
|
| 363 |
+
"source_onnx": "source/onnx/yolov8m.onnx",
|
| 364 |
+
"onnx_sha256": "cacf45350c81d4e367aa57bd4cf6b9c49f77b6f62f1b7235a2186893241fbb2e",
|
| 365 |
+
"weights": "source/weights/yolov8m.pt",
|
| 366 |
+
"source_url": "https://github.com/ultralytics/assets/releases/download/v8.4.0/yolov8m.pt",
|
| 367 |
+
"toolkit_version": "2.3.2",
|
| 368 |
+
"conversion": "rockchip-rkopt"
|
| 369 |
+
},
|
| 370 |
+
{
|
| 371 |
+
"name": "yolov8m",
|
| 372 |
+
"family": "yolov8",
|
| 373 |
+
"task": "detect",
|
| 374 |
+
"chip": "rk3576",
|
| 375 |
+
"precision": "int8",
|
| 376 |
+
"path": "models/detect/yolov8m/rk3576/int8",
|
| 377 |
+
"sha256": "71f5574f03aa58dd0ede450c5713b8676e1777d49f2ba2c6dc73c16ae3b60118",
|
| 378 |
+
"metadata_sha256": "794322a84d2a3c8e00957284acd9cedc84a74ffbcc962e152f6529f9d2c1cc86",
|
| 379 |
+
"source_onnx": "source/onnx/yolov8m.onnx",
|
| 380 |
+
"onnx_sha256": "cacf45350c81d4e367aa57bd4cf6b9c49f77b6f62f1b7235a2186893241fbb2e",
|
| 381 |
+
"weights": "source/weights/yolov8m.pt",
|
| 382 |
+
"source_url": "https://github.com/ultralytics/assets/releases/download/v8.4.0/yolov8m.pt",
|
| 383 |
+
"toolkit_version": "2.3.2",
|
| 384 |
+
"conversion": "rockchip-rkopt"
|
| 385 |
+
},
|
| 386 |
+
{
|
| 387 |
+
"name": "yolov8n",
|
| 388 |
+
"family": "yolov8",
|
| 389 |
+
"task": "detect",
|
| 390 |
+
"chip": "rk3576",
|
| 391 |
+
"precision": "fp16",
|
| 392 |
+
"path": "models/detect/yolov8n/rk3576/fp16",
|
| 393 |
+
"sha256": "fe19393941429eb24ed40d3961f0d497d0c178e5e2ed670f3bde11fc137615ea",
|
| 394 |
+
"metadata_sha256": "794322a84d2a3c8e00957284acd9cedc84a74ffbcc962e152f6529f9d2c1cc86",
|
| 395 |
+
"source_onnx": "source/onnx/yolov8n.onnx",
|
| 396 |
+
"onnx_sha256": "7feb33de8924ec21346fc60c16c5a85bfbe128efdd3d65b45a8dfe3691ddc244",
|
| 397 |
+
"weights": "source/weights/yolov8n.pt",
|
| 398 |
+
"source_url": "https://github.com/ultralytics/assets/releases/download/v8.4.0/yolov8n.pt",
|
| 399 |
+
"toolkit_version": "2.3.2",
|
| 400 |
+
"conversion": "rockchip-rkopt"
|
| 401 |
+
},
|
| 402 |
+
{
|
| 403 |
+
"name": "yolov8n",
|
| 404 |
+
"family": "yolov8",
|
| 405 |
+
"task": "detect",
|
| 406 |
+
"chip": "rk3576",
|
| 407 |
+
"precision": "int8",
|
| 408 |
+
"path": "models/detect/yolov8n/rk3576/int8",
|
| 409 |
+
"sha256": "0976df062fbf15d8cec0214b0d817ac46164a2048f268cdf7cabe81173e785bd",
|
| 410 |
+
"metadata_sha256": "794322a84d2a3c8e00957284acd9cedc84a74ffbcc962e152f6529f9d2c1cc86",
|
| 411 |
+
"source_onnx": "source/onnx/yolov8n.onnx",
|
| 412 |
+
"onnx_sha256": "7feb33de8924ec21346fc60c16c5a85bfbe128efdd3d65b45a8dfe3691ddc244",
|
| 413 |
+
"weights": "source/weights/yolov8n.pt",
|
| 414 |
+
"source_url": "https://github.com/ultralytics/assets/releases/download/v8.4.0/yolov8n.pt",
|
| 415 |
+
"toolkit_version": "2.3.2",
|
| 416 |
+
"conversion": "rockchip-rkopt"
|
| 417 |
+
},
|
| 418 |
+
{
|
| 419 |
+
"name": "yolov8s",
|
| 420 |
+
"family": "yolov8",
|
| 421 |
+
"task": "detect",
|
| 422 |
+
"chip": "rk3576",
|
| 423 |
+
"precision": "fp16",
|
| 424 |
+
"path": "models/detect/yolov8s/rk3576/fp16",
|
| 425 |
+
"sha256": "5929453f335f22f3f9744c3500f41cb210797998e1748730d76a43af6a42f7db",
|
| 426 |
+
"metadata_sha256": "794322a84d2a3c8e00957284acd9cedc84a74ffbcc962e152f6529f9d2c1cc86",
|
| 427 |
+
"source_onnx": "source/onnx/yolov8s.onnx",
|
| 428 |
+
"onnx_sha256": "e3cb174a72bd791640f8ccfad79c681519079c07b190ed42740f744f20ddd49f",
|
| 429 |
+
"weights": "source/weights/yolov8s.pt",
|
| 430 |
+
"source_url": "https://github.com/ultralytics/assets/releases/download/v8.4.0/yolov8s.pt",
|
| 431 |
+
"toolkit_version": "2.3.2",
|
| 432 |
+
"conversion": "rockchip-rkopt"
|
| 433 |
+
},
|
| 434 |
+
{
|
| 435 |
+
"name": "yolov8s",
|
| 436 |
+
"family": "yolov8",
|
| 437 |
+
"task": "detect",
|
| 438 |
+
"chip": "rk3576",
|
| 439 |
+
"precision": "int8",
|
| 440 |
+
"path": "models/detect/yolov8s/rk3576/int8",
|
| 441 |
+
"sha256": "9d22ad44ab042daf1d7a92a9a144be8493e994b535091835e6e6516223c8718d",
|
| 442 |
+
"metadata_sha256": "794322a84d2a3c8e00957284acd9cedc84a74ffbcc962e152f6529f9d2c1cc86",
|
| 443 |
+
"source_onnx": "source/onnx/yolov8s.onnx",
|
| 444 |
+
"onnx_sha256": "e3cb174a72bd791640f8ccfad79c681519079c07b190ed42740f744f20ddd49f",
|
| 445 |
+
"weights": "source/weights/yolov8s.pt",
|
| 446 |
+
"source_url": "https://github.com/ultralytics/assets/releases/download/v8.4.0/yolov8s.pt",
|
| 447 |
+
"toolkit_version": "2.3.2",
|
| 448 |
+
"conversion": "rockchip-rkopt"
|
| 449 |
+
},
|
| 450 |
+
{
|
| 451 |
+
"name": "yolov8m",
|
| 452 |
+
"family": "yolov8",
|
| 453 |
+
"task": "detect",
|
| 454 |
+
"chip": "rk3588",
|
| 455 |
+
"precision": "fp16",
|
| 456 |
+
"path": "models/detect/yolov8m/rk3588/fp16",
|
| 457 |
+
"sha256": "a164a9e5748d9ead9cb608f2136c83212b2f24ffaa9cdb06ed713c8e4d1b689b",
|
| 458 |
+
"metadata_sha256": "48afa4c902e0f020d5ffafdadcf3b7e799e9986cdb16e2787114908da2f4e5b5",
|
| 459 |
+
"source_onnx": "source/onnx/yolov8m.onnx",
|
| 460 |
+
"onnx_sha256": "cacf45350c81d4e367aa57bd4cf6b9c49f77b6f62f1b7235a2186893241fbb2e",
|
| 461 |
+
"weights": "source/weights/yolov8m.pt",
|
| 462 |
+
"source_url": "https://github.com/ultralytics/assets/releases/download/v8.4.0/yolov8m.pt",
|
| 463 |
+
"toolkit_version": "2.3.2",
|
| 464 |
+
"conversion": "rockchip-rkopt"
|
| 465 |
+
},
|
| 466 |
+
{
|
| 467 |
+
"name": "yolov8m",
|
| 468 |
+
"family": "yolov8",
|
| 469 |
+
"task": "detect",
|
| 470 |
+
"chip": "rk3588",
|
| 471 |
+
"precision": "int8",
|
| 472 |
+
"path": "models/detect/yolov8m/rk3588/int8",
|
| 473 |
+
"sha256": "4bd91e9d41a1c0efe3ef70efbb7865098b09bf317da29f3563feb8ed2a0d44b0",
|
| 474 |
+
"metadata_sha256": "48afa4c902e0f020d5ffafdadcf3b7e799e9986cdb16e2787114908da2f4e5b5",
|
| 475 |
+
"source_onnx": "source/onnx/yolov8m.onnx",
|
| 476 |
+
"onnx_sha256": "cacf45350c81d4e367aa57bd4cf6b9c49f77b6f62f1b7235a2186893241fbb2e",
|
| 477 |
+
"weights": "source/weights/yolov8m.pt",
|
| 478 |
+
"source_url": "https://github.com/ultralytics/assets/releases/download/v8.4.0/yolov8m.pt",
|
| 479 |
+
"toolkit_version": "2.3.2",
|
| 480 |
+
"conversion": "rockchip-rkopt"
|
| 481 |
+
},
|
| 482 |
+
{
|
| 483 |
+
"name": "yolov8n",
|
| 484 |
+
"family": "yolov8",
|
| 485 |
+
"task": "detect",
|
| 486 |
+
"chip": "rk3588",
|
| 487 |
+
"precision": "fp16",
|
| 488 |
+
"path": "models/detect/yolov8n/rk3588/fp16",
|
| 489 |
+
"sha256": "4b99521c1be89922c53985a7c7c6ae63ead00c84b200f9c79648076598c80657",
|
| 490 |
+
"metadata_sha256": "48afa4c902e0f020d5ffafdadcf3b7e799e9986cdb16e2787114908da2f4e5b5",
|
| 491 |
+
"source_onnx": "source/onnx/yolov8n.onnx",
|
| 492 |
+
"onnx_sha256": "7feb33de8924ec21346fc60c16c5a85bfbe128efdd3d65b45a8dfe3691ddc244",
|
| 493 |
+
"weights": "source/weights/yolov8n.pt",
|
| 494 |
+
"source_url": "https://github.com/ultralytics/assets/releases/download/v8.4.0/yolov8n.pt",
|
| 495 |
+
"toolkit_version": "2.3.2",
|
| 496 |
+
"conversion": "rockchip-rkopt"
|
| 497 |
+
},
|
| 498 |
+
{
|
| 499 |
+
"name": "yolov8n",
|
| 500 |
+
"family": "yolov8",
|
| 501 |
+
"task": "detect",
|
| 502 |
+
"chip": "rk3588",
|
| 503 |
+
"precision": "int8",
|
| 504 |
+
"path": "models/detect/yolov8n/rk3588/int8",
|
| 505 |
+
"sha256": "71fa540a07d5cb48fa4f69d0c0386d7ab485be5be3d6fedd5c04fe62ca78ed76",
|
| 506 |
+
"metadata_sha256": "48afa4c902e0f020d5ffafdadcf3b7e799e9986cdb16e2787114908da2f4e5b5",
|
| 507 |
+
"source_onnx": "source/onnx/yolov8n.onnx",
|
| 508 |
+
"onnx_sha256": "7feb33de8924ec21346fc60c16c5a85bfbe128efdd3d65b45a8dfe3691ddc244",
|
| 509 |
+
"weights": "source/weights/yolov8n.pt",
|
| 510 |
+
"source_url": "https://github.com/ultralytics/assets/releases/download/v8.4.0/yolov8n.pt",
|
| 511 |
+
"toolkit_version": "2.3.2",
|
| 512 |
+
"conversion": "rockchip-rkopt"
|
| 513 |
+
},
|
| 514 |
+
{
|
| 515 |
+
"name": "yolov8s",
|
| 516 |
+
"family": "yolov8",
|
| 517 |
+
"task": "detect",
|
| 518 |
+
"chip": "rk3588",
|
| 519 |
+
"precision": "fp16",
|
| 520 |
+
"path": "models/detect/yolov8s/rk3588/fp16",
|
| 521 |
+
"sha256": "26ea5993256b387ee18af406a60b68666ed92b32d3b2a9181cff386eddf50d58",
|
| 522 |
+
"metadata_sha256": "48afa4c902e0f020d5ffafdadcf3b7e799e9986cdb16e2787114908da2f4e5b5",
|
| 523 |
+
"source_onnx": "source/onnx/yolov8s.onnx",
|
| 524 |
+
"onnx_sha256": "e3cb174a72bd791640f8ccfad79c681519079c07b190ed42740f744f20ddd49f",
|
| 525 |
+
"weights": "source/weights/yolov8s.pt",
|
| 526 |
+
"source_url": "https://github.com/ultralytics/assets/releases/download/v8.4.0/yolov8s.pt",
|
| 527 |
+
"toolkit_version": "2.3.2",
|
| 528 |
+
"conversion": "rockchip-rkopt"
|
| 529 |
+
},
|
| 530 |
+
{
|
| 531 |
+
"name": "yolov8s",
|
| 532 |
+
"family": "yolov8",
|
| 533 |
+
"task": "detect",
|
| 534 |
+
"chip": "rk3588",
|
| 535 |
+
"precision": "int8",
|
| 536 |
+
"path": "models/detect/yolov8s/rk3588/int8",
|
| 537 |
+
"sha256": "2151ccd261ebc33a3538a6f03327c3f883c68ad83649394118849b41969d3179",
|
| 538 |
+
"metadata_sha256": "48afa4c902e0f020d5ffafdadcf3b7e799e9986cdb16e2787114908da2f4e5b5",
|
| 539 |
+
"source_onnx": "source/onnx/yolov8s.onnx",
|
| 540 |
+
"onnx_sha256": "e3cb174a72bd791640f8ccfad79c681519079c07b190ed42740f744f20ddd49f",
|
| 541 |
+
"weights": "source/weights/yolov8s.pt",
|
| 542 |
+
"source_url": "https://github.com/ultralytics/assets/releases/download/v8.4.0/yolov8s.pt",
|
| 543 |
+
"toolkit_version": "2.3.2",
|
| 544 |
+
"conversion": "rockchip-rkopt"
|
| 545 |
}
|
| 546 |
]
|
models/detect/yolov8m/rk3576/fp16/conversion.json
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"compiler_version": "2.3.2",
|
| 3 |
+
"model_zoo_commit": "837db8e992815ff8647eadb709f07067f4bc3a71",
|
| 4 |
+
"rockchip_exporter": "https://github.com/airockchip/ultralytics_yolov8/tree/4674fe6e003dfbc5f2250d3b39dd31faaf7a9877",
|
| 5 |
+
"checkpoint_url": "https://github.com/ultralytics/assets/releases/download/v8.4.0/yolov8m.pt",
|
| 6 |
+
"checkpoint_sha256": "5d4a90cdc7a21786cc59cd19778e9eafff836df9e2da32524737c7ee6efe4fe5",
|
| 7 |
+
"onnx_sha256": "cacf45350c81d4e367aa57bd4cf6b9c49f77b6f62f1b7235a2186893241fbb2e",
|
| 8 |
+
"rknn_sha256": "66650ced5c0fefa87c89e6e9c7b0a43d4b808a34d215dad5eb872ff4a82d8ce0",
|
| 9 |
+
"chip": "rk3576",
|
| 10 |
+
"precision": "fp"
|
| 11 |
+
}
|
models/detect/yolov8m/rk3576/fp16/metadata.yaml
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
task: detect
|
| 2 |
+
batch: 1
|
| 3 |
+
channels: 3
|
| 4 |
+
imgsz:
|
| 5 |
+
- 640
|
| 6 |
+
- 640
|
| 7 |
+
names:
|
| 8 |
+
- person
|
| 9 |
+
- bicycle
|
| 10 |
+
- car
|
| 11 |
+
- motorcycle
|
| 12 |
+
- airplane
|
| 13 |
+
- bus
|
| 14 |
+
- train
|
| 15 |
+
- truck
|
| 16 |
+
- boat
|
| 17 |
+
- traffic light
|
| 18 |
+
- fire hydrant
|
| 19 |
+
- stop sign
|
| 20 |
+
- parking meter
|
| 21 |
+
- bench
|
| 22 |
+
- bird
|
| 23 |
+
- cat
|
| 24 |
+
- dog
|
| 25 |
+
- horse
|
| 26 |
+
- sheep
|
| 27 |
+
- cow
|
| 28 |
+
- elephant
|
| 29 |
+
- bear
|
| 30 |
+
- zebra
|
| 31 |
+
- giraffe
|
| 32 |
+
- backpack
|
| 33 |
+
- umbrella
|
| 34 |
+
- handbag
|
| 35 |
+
- tie
|
| 36 |
+
- suitcase
|
| 37 |
+
- frisbee
|
| 38 |
+
- skis
|
| 39 |
+
- snowboard
|
| 40 |
+
- sports ball
|
| 41 |
+
- kite
|
| 42 |
+
- baseball bat
|
| 43 |
+
- baseball glove
|
| 44 |
+
- skateboard
|
| 45 |
+
- surfboard
|
| 46 |
+
- tennis racket
|
| 47 |
+
- bottle
|
| 48 |
+
- wine glass
|
| 49 |
+
- cup
|
| 50 |
+
- fork
|
| 51 |
+
- knife
|
| 52 |
+
- spoon
|
| 53 |
+
- bowl
|
| 54 |
+
- banana
|
| 55 |
+
- apple
|
| 56 |
+
- sandwich
|
| 57 |
+
- orange
|
| 58 |
+
- broccoli
|
| 59 |
+
- carrot
|
| 60 |
+
- hot dog
|
| 61 |
+
- pizza
|
| 62 |
+
- donut
|
| 63 |
+
- cake
|
| 64 |
+
- chair
|
| 65 |
+
- couch
|
| 66 |
+
- potted plant
|
| 67 |
+
- bed
|
| 68 |
+
- dining table
|
| 69 |
+
- toilet
|
| 70 |
+
- tv
|
| 71 |
+
- laptop
|
| 72 |
+
- mouse
|
| 73 |
+
- remote
|
| 74 |
+
- keyboard
|
| 75 |
+
- cell phone
|
| 76 |
+
- microwave
|
| 77 |
+
- oven
|
| 78 |
+
- toaster
|
| 79 |
+
- sink
|
| 80 |
+
- refrigerator
|
| 81 |
+
- book
|
| 82 |
+
- clock
|
| 83 |
+
- vase
|
| 84 |
+
- scissors
|
| 85 |
+
- teddy bear
|
| 86 |
+
- hair drier
|
| 87 |
+
- toothbrush
|
| 88 |
+
target_platform: rk3576
|
| 89 |
+
coordinates: pixels
|
models/detect/yolov8m/rk3576/fp16/model.rknn
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:66650ced5c0fefa87c89e6e9c7b0a43d4b808a34d215dad5eb872ff4a82d8ce0
|
| 3 |
+
size 57194057
|
models/detect/yolov8m/rk3576/int8/conversion.json
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"compiler_version": "2.3.2",
|
| 3 |
+
"model_zoo_commit": "837db8e992815ff8647eadb709f07067f4bc3a71",
|
| 4 |
+
"rockchip_exporter": "https://github.com/airockchip/ultralytics_yolov8/tree/4674fe6e003dfbc5f2250d3b39dd31faaf7a9877",
|
| 5 |
+
"checkpoint_url": "https://github.com/ultralytics/assets/releases/download/v8.4.0/yolov8m.pt",
|
| 6 |
+
"checkpoint_sha256": "5d4a90cdc7a21786cc59cd19778e9eafff836df9e2da32524737c7ee6efe4fe5",
|
| 7 |
+
"onnx_sha256": "cacf45350c81d4e367aa57bd4cf6b9c49f77b6f62f1b7235a2186893241fbb2e",
|
| 8 |
+
"rknn_sha256": "71f5574f03aa58dd0ede450c5713b8676e1777d49f2ba2c6dc73c16ae3b60118",
|
| 9 |
+
"chip": "rk3576",
|
| 10 |
+
"precision": "i8"
|
| 11 |
+
}
|
models/detect/yolov8m/rk3576/int8/metadata.yaml
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
task: detect
|
| 2 |
+
batch: 1
|
| 3 |
+
channels: 3
|
| 4 |
+
imgsz:
|
| 5 |
+
- 640
|
| 6 |
+
- 640
|
| 7 |
+
names:
|
| 8 |
+
- person
|
| 9 |
+
- bicycle
|
| 10 |
+
- car
|
| 11 |
+
- motorcycle
|
| 12 |
+
- airplane
|
| 13 |
+
- bus
|
| 14 |
+
- train
|
| 15 |
+
- truck
|
| 16 |
+
- boat
|
| 17 |
+
- traffic light
|
| 18 |
+
- fire hydrant
|
| 19 |
+
- stop sign
|
| 20 |
+
- parking meter
|
| 21 |
+
- bench
|
| 22 |
+
- bird
|
| 23 |
+
- cat
|
| 24 |
+
- dog
|
| 25 |
+
- horse
|
| 26 |
+
- sheep
|
| 27 |
+
- cow
|
| 28 |
+
- elephant
|
| 29 |
+
- bear
|
| 30 |
+
- zebra
|
| 31 |
+
- giraffe
|
| 32 |
+
- backpack
|
| 33 |
+
- umbrella
|
| 34 |
+
- handbag
|
| 35 |
+
- tie
|
| 36 |
+
- suitcase
|
| 37 |
+
- frisbee
|
| 38 |
+
- skis
|
| 39 |
+
- snowboard
|
| 40 |
+
- sports ball
|
| 41 |
+
- kite
|
| 42 |
+
- baseball bat
|
| 43 |
+
- baseball glove
|
| 44 |
+
- skateboard
|
| 45 |
+
- surfboard
|
| 46 |
+
- tennis racket
|
| 47 |
+
- bottle
|
| 48 |
+
- wine glass
|
| 49 |
+
- cup
|
| 50 |
+
- fork
|
| 51 |
+
- knife
|
| 52 |
+
- spoon
|
| 53 |
+
- bowl
|
| 54 |
+
- banana
|
| 55 |
+
- apple
|
| 56 |
+
- sandwich
|
| 57 |
+
- orange
|
| 58 |
+
- broccoli
|
| 59 |
+
- carrot
|
| 60 |
+
- hot dog
|
| 61 |
+
- pizza
|
| 62 |
+
- donut
|
| 63 |
+
- cake
|
| 64 |
+
- chair
|
| 65 |
+
- couch
|
| 66 |
+
- potted plant
|
| 67 |
+
- bed
|
| 68 |
+
- dining table
|
| 69 |
+
- toilet
|
| 70 |
+
- tv
|
| 71 |
+
- laptop
|
| 72 |
+
- mouse
|
| 73 |
+
- remote
|
| 74 |
+
- keyboard
|
| 75 |
+
- cell phone
|
| 76 |
+
- microwave
|
| 77 |
+
- oven
|
| 78 |
+
- toaster
|
| 79 |
+
- sink
|
| 80 |
+
- refrigerator
|
| 81 |
+
- book
|
| 82 |
+
- clock
|
| 83 |
+
- vase
|
| 84 |
+
- scissors
|
| 85 |
+
- teddy bear
|
| 86 |
+
- hair drier
|
| 87 |
+
- toothbrush
|
| 88 |
+
target_platform: rk3576
|
| 89 |
+
coordinates: pixels
|
models/detect/yolov8m/rk3576/int8/model.rknn
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:71f5574f03aa58dd0ede450c5713b8676e1777d49f2ba2c6dc73c16ae3b60118
|
| 3 |
+
size 32107851
|
models/detect/yolov8m/rk3588/fp16/conversion.json
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"compiler_version": "2.3.2",
|
| 3 |
+
"model_zoo_commit": "837db8e992815ff8647eadb709f07067f4bc3a71",
|
| 4 |
+
"rockchip_exporter": "https://github.com/airockchip/ultralytics_yolov8/tree/4674fe6e003dfbc5f2250d3b39dd31faaf7a9877",
|
| 5 |
+
"checkpoint_url": "https://github.com/ultralytics/assets/releases/download/v8.4.0/yolov8m.pt",
|
| 6 |
+
"checkpoint_sha256": "5d4a90cdc7a21786cc59cd19778e9eafff836df9e2da32524737c7ee6efe4fe5",
|
| 7 |
+
"onnx_sha256": "cacf45350c81d4e367aa57bd4cf6b9c49f77b6f62f1b7235a2186893241fbb2e",
|
| 8 |
+
"rknn_sha256": "a164a9e5748d9ead9cb608f2136c83212b2f24ffaa9cdb06ed713c8e4d1b689b",
|
| 9 |
+
"chip": "rk3588",
|
| 10 |
+
"precision": "fp"
|
| 11 |
+
}
|
models/detect/yolov8m/rk3588/fp16/metadata.yaml
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
task: detect
|
| 2 |
+
batch: 1
|
| 3 |
+
channels: 3
|
| 4 |
+
imgsz:
|
| 5 |
+
- 640
|
| 6 |
+
- 640
|
| 7 |
+
names:
|
| 8 |
+
- person
|
| 9 |
+
- bicycle
|
| 10 |
+
- car
|
| 11 |
+
- motorcycle
|
| 12 |
+
- airplane
|
| 13 |
+
- bus
|
| 14 |
+
- train
|
| 15 |
+
- truck
|
| 16 |
+
- boat
|
| 17 |
+
- traffic light
|
| 18 |
+
- fire hydrant
|
| 19 |
+
- stop sign
|
| 20 |
+
- parking meter
|
| 21 |
+
- bench
|
| 22 |
+
- bird
|
| 23 |
+
- cat
|
| 24 |
+
- dog
|
| 25 |
+
- horse
|
| 26 |
+
- sheep
|
| 27 |
+
- cow
|
| 28 |
+
- elephant
|
| 29 |
+
- bear
|
| 30 |
+
- zebra
|
| 31 |
+
- giraffe
|
| 32 |
+
- backpack
|
| 33 |
+
- umbrella
|
| 34 |
+
- handbag
|
| 35 |
+
- tie
|
| 36 |
+
- suitcase
|
| 37 |
+
- frisbee
|
| 38 |
+
- skis
|
| 39 |
+
- snowboard
|
| 40 |
+
- sports ball
|
| 41 |
+
- kite
|
| 42 |
+
- baseball bat
|
| 43 |
+
- baseball glove
|
| 44 |
+
- skateboard
|
| 45 |
+
- surfboard
|
| 46 |
+
- tennis racket
|
| 47 |
+
- bottle
|
| 48 |
+
- wine glass
|
| 49 |
+
- cup
|
| 50 |
+
- fork
|
| 51 |
+
- knife
|
| 52 |
+
- spoon
|
| 53 |
+
- bowl
|
| 54 |
+
- banana
|
| 55 |
+
- apple
|
| 56 |
+
- sandwich
|
| 57 |
+
- orange
|
| 58 |
+
- broccoli
|
| 59 |
+
- carrot
|
| 60 |
+
- hot dog
|
| 61 |
+
- pizza
|
| 62 |
+
- donut
|
| 63 |
+
- cake
|
| 64 |
+
- chair
|
| 65 |
+
- couch
|
| 66 |
+
- potted plant
|
| 67 |
+
- bed
|
| 68 |
+
- dining table
|
| 69 |
+
- toilet
|
| 70 |
+
- tv
|
| 71 |
+
- laptop
|
| 72 |
+
- mouse
|
| 73 |
+
- remote
|
| 74 |
+
- keyboard
|
| 75 |
+
- cell phone
|
| 76 |
+
- microwave
|
| 77 |
+
- oven
|
| 78 |
+
- toaster
|
| 79 |
+
- sink
|
| 80 |
+
- refrigerator
|
| 81 |
+
- book
|
| 82 |
+
- clock
|
| 83 |
+
- vase
|
| 84 |
+
- scissors
|
| 85 |
+
- teddy bear
|
| 86 |
+
- hair drier
|
| 87 |
+
- toothbrush
|
| 88 |
+
target_platform: rk3588
|
| 89 |
+
coordinates: pixels
|
models/detect/yolov8m/rk3588/fp16/model.rknn
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a164a9e5748d9ead9cb608f2136c83212b2f24ffaa9cdb06ed713c8e4d1b689b
|
| 3 |
+
size 54188361
|
models/detect/yolov8m/rk3588/int8/conversion.json
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"compiler_version": "2.3.2",
|
| 3 |
+
"model_zoo_commit": "837db8e992815ff8647eadb709f07067f4bc3a71",
|
| 4 |
+
"rockchip_exporter": "https://github.com/airockchip/ultralytics_yolov8/tree/4674fe6e003dfbc5f2250d3b39dd31faaf7a9877",
|
| 5 |
+
"checkpoint_url": "https://github.com/ultralytics/assets/releases/download/v8.4.0/yolov8m.pt",
|
| 6 |
+
"checkpoint_sha256": "5d4a90cdc7a21786cc59cd19778e9eafff836df9e2da32524737c7ee6efe4fe5",
|
| 7 |
+
"onnx_sha256": "cacf45350c81d4e367aa57bd4cf6b9c49f77b6f62f1b7235a2186893241fbb2e",
|
| 8 |
+
"rknn_sha256": "4bd91e9d41a1c0efe3ef70efbb7865098b09bf317da29f3563feb8ed2a0d44b0",
|
| 9 |
+
"chip": "rk3588",
|
| 10 |
+
"precision": "i8"
|
| 11 |
+
}
|
models/detect/yolov8m/rk3588/int8/metadata.yaml
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
task: detect
|
| 2 |
+
batch: 1
|
| 3 |
+
channels: 3
|
| 4 |
+
imgsz:
|
| 5 |
+
- 640
|
| 6 |
+
- 640
|
| 7 |
+
names:
|
| 8 |
+
- person
|
| 9 |
+
- bicycle
|
| 10 |
+
- car
|
| 11 |
+
- motorcycle
|
| 12 |
+
- airplane
|
| 13 |
+
- bus
|
| 14 |
+
- train
|
| 15 |
+
- truck
|
| 16 |
+
- boat
|
| 17 |
+
- traffic light
|
| 18 |
+
- fire hydrant
|
| 19 |
+
- stop sign
|
| 20 |
+
- parking meter
|
| 21 |
+
- bench
|
| 22 |
+
- bird
|
| 23 |
+
- cat
|
| 24 |
+
- dog
|
| 25 |
+
- horse
|
| 26 |
+
- sheep
|
| 27 |
+
- cow
|
| 28 |
+
- elephant
|
| 29 |
+
- bear
|
| 30 |
+
- zebra
|
| 31 |
+
- giraffe
|
| 32 |
+
- backpack
|
| 33 |
+
- umbrella
|
| 34 |
+
- handbag
|
| 35 |
+
- tie
|
| 36 |
+
- suitcase
|
| 37 |
+
- frisbee
|
| 38 |
+
- skis
|
| 39 |
+
- snowboard
|
| 40 |
+
- sports ball
|
| 41 |
+
- kite
|
| 42 |
+
- baseball bat
|
| 43 |
+
- baseball glove
|
| 44 |
+
- skateboard
|
| 45 |
+
- surfboard
|
| 46 |
+
- tennis racket
|
| 47 |
+
- bottle
|
| 48 |
+
- wine glass
|
| 49 |
+
- cup
|
| 50 |
+
- fork
|
| 51 |
+
- knife
|
| 52 |
+
- spoon
|
| 53 |
+
- bowl
|
| 54 |
+
- banana
|
| 55 |
+
- apple
|
| 56 |
+
- sandwich
|
| 57 |
+
- orange
|
| 58 |
+
- broccoli
|
| 59 |
+
- carrot
|
| 60 |
+
- hot dog
|
| 61 |
+
- pizza
|
| 62 |
+
- donut
|
| 63 |
+
- cake
|
| 64 |
+
- chair
|
| 65 |
+
- couch
|
| 66 |
+
- potted plant
|
| 67 |
+
- bed
|
| 68 |
+
- dining table
|
| 69 |
+
- toilet
|
| 70 |
+
- tv
|
| 71 |
+
- laptop
|
| 72 |
+
- mouse
|
| 73 |
+
- remote
|
| 74 |
+
- keyboard
|
| 75 |
+
- cell phone
|
| 76 |
+
- microwave
|
| 77 |
+
- oven
|
| 78 |
+
- toaster
|
| 79 |
+
- sink
|
| 80 |
+
- refrigerator
|
| 81 |
+
- book
|
| 82 |
+
- clock
|
| 83 |
+
- vase
|
| 84 |
+
- scissors
|
| 85 |
+
- teddy bear
|
| 86 |
+
- hair drier
|
| 87 |
+
- toothbrush
|
| 88 |
+
target_platform: rk3588
|
| 89 |
+
coordinates: pixels
|
models/detect/yolov8m/rk3588/int8/model.rknn
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4bd91e9d41a1c0efe3ef70efbb7865098b09bf317da29f3563feb8ed2a0d44b0
|
| 3 |
+
size 28130635
|
models/detect/yolov8n/rk3576/fp16/conversion.json
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"compiler_version": "2.3.2",
|
| 3 |
+
"model_zoo_commit": "837db8e992815ff8647eadb709f07067f4bc3a71",
|
| 4 |
+
"rockchip_exporter": "https://github.com/airockchip/ultralytics_yolov8/tree/4674fe6e003dfbc5f2250d3b39dd31faaf7a9877",
|
| 5 |
+
"checkpoint_url": "https://github.com/ultralytics/assets/releases/download/v8.4.0/yolov8n.pt",
|
| 6 |
+
"checkpoint_sha256": "f59b3d833e2ff32e194b5bb8e08d211dc7c5bdf144b90d2c8412c47ccfc83b36",
|
| 7 |
+
"onnx_sha256": "7feb33de8924ec21346fc60c16c5a85bfbe128efdd3d65b45a8dfe3691ddc244",
|
| 8 |
+
"rknn_sha256": "fe19393941429eb24ed40d3961f0d497d0c178e5e2ed670f3bde11fc137615ea",
|
| 9 |
+
"chip": "rk3576",
|
| 10 |
+
"precision": "fp"
|
| 11 |
+
}
|
models/detect/yolov8n/rk3576/fp16/metadata.yaml
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
task: detect
|
| 2 |
+
batch: 1
|
| 3 |
+
channels: 3
|
| 4 |
+
imgsz:
|
| 5 |
+
- 640
|
| 6 |
+
- 640
|
| 7 |
+
names:
|
| 8 |
+
- person
|
| 9 |
+
- bicycle
|
| 10 |
+
- car
|
| 11 |
+
- motorcycle
|
| 12 |
+
- airplane
|
| 13 |
+
- bus
|
| 14 |
+
- train
|
| 15 |
+
- truck
|
| 16 |
+
- boat
|
| 17 |
+
- traffic light
|
| 18 |
+
- fire hydrant
|
| 19 |
+
- stop sign
|
| 20 |
+
- parking meter
|
| 21 |
+
- bench
|
| 22 |
+
- bird
|
| 23 |
+
- cat
|
| 24 |
+
- dog
|
| 25 |
+
- horse
|
| 26 |
+
- sheep
|
| 27 |
+
- cow
|
| 28 |
+
- elephant
|
| 29 |
+
- bear
|
| 30 |
+
- zebra
|
| 31 |
+
- giraffe
|
| 32 |
+
- backpack
|
| 33 |
+
- umbrella
|
| 34 |
+
- handbag
|
| 35 |
+
- tie
|
| 36 |
+
- suitcase
|
| 37 |
+
- frisbee
|
| 38 |
+
- skis
|
| 39 |
+
- snowboard
|
| 40 |
+
- sports ball
|
| 41 |
+
- kite
|
| 42 |
+
- baseball bat
|
| 43 |
+
- baseball glove
|
| 44 |
+
- skateboard
|
| 45 |
+
- surfboard
|
| 46 |
+
- tennis racket
|
| 47 |
+
- bottle
|
| 48 |
+
- wine glass
|
| 49 |
+
- cup
|
| 50 |
+
- fork
|
| 51 |
+
- knife
|
| 52 |
+
- spoon
|
| 53 |
+
- bowl
|
| 54 |
+
- banana
|
| 55 |
+
- apple
|
| 56 |
+
- sandwich
|
| 57 |
+
- orange
|
| 58 |
+
- broccoli
|
| 59 |
+
- carrot
|
| 60 |
+
- hot dog
|
| 61 |
+
- pizza
|
| 62 |
+
- donut
|
| 63 |
+
- cake
|
| 64 |
+
- chair
|
| 65 |
+
- couch
|
| 66 |
+
- potted plant
|
| 67 |
+
- bed
|
| 68 |
+
- dining table
|
| 69 |
+
- toilet
|
| 70 |
+
- tv
|
| 71 |
+
- laptop
|
| 72 |
+
- mouse
|
| 73 |
+
- remote
|
| 74 |
+
- keyboard
|
| 75 |
+
- cell phone
|
| 76 |
+
- microwave
|
| 77 |
+
- oven
|
| 78 |
+
- toaster
|
| 79 |
+
- sink
|
| 80 |
+
- refrigerator
|
| 81 |
+
- book
|
| 82 |
+
- clock
|
| 83 |
+
- vase
|
| 84 |
+
- scissors
|
| 85 |
+
- teddy bear
|
| 86 |
+
- hair drier
|
| 87 |
+
- toothbrush
|
| 88 |
+
target_platform: rk3576
|
| 89 |
+
coordinates: pixels
|
models/detect/yolov8n/rk3576/fp16/model.rknn
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fe19393941429eb24ed40d3961f0d497d0c178e5e2ed670f3bde11fc137615ea
|
| 3 |
+
size 9644745
|
models/detect/yolov8n/rk3576/int8/conversion.json
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"compiler_version": "2.3.2",
|
| 3 |
+
"model_zoo_commit": "837db8e992815ff8647eadb709f07067f4bc3a71",
|
| 4 |
+
"rockchip_exporter": "https://github.com/airockchip/ultralytics_yolov8/tree/4674fe6e003dfbc5f2250d3b39dd31faaf7a9877",
|
| 5 |
+
"checkpoint_url": "https://github.com/ultralytics/assets/releases/download/v8.4.0/yolov8n.pt",
|
| 6 |
+
"checkpoint_sha256": "f59b3d833e2ff32e194b5bb8e08d211dc7c5bdf144b90d2c8412c47ccfc83b36",
|
| 7 |
+
"onnx_sha256": "7feb33de8924ec21346fc60c16c5a85bfbe128efdd3d65b45a8dfe3691ddc244",
|
| 8 |
+
"rknn_sha256": "0976df062fbf15d8cec0214b0d817ac46164a2048f268cdf7cabe81173e785bd",
|
| 9 |
+
"chip": "rk3576",
|
| 10 |
+
"precision": "i8"
|
| 11 |
+
}
|
models/detect/yolov8n/rk3576/int8/metadata.yaml
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
task: detect
|
| 2 |
+
batch: 1
|
| 3 |
+
channels: 3
|
| 4 |
+
imgsz:
|
| 5 |
+
- 640
|
| 6 |
+
- 640
|
| 7 |
+
names:
|
| 8 |
+
- person
|
| 9 |
+
- bicycle
|
| 10 |
+
- car
|
| 11 |
+
- motorcycle
|
| 12 |
+
- airplane
|
| 13 |
+
- bus
|
| 14 |
+
- train
|
| 15 |
+
- truck
|
| 16 |
+
- boat
|
| 17 |
+
- traffic light
|
| 18 |
+
- fire hydrant
|
| 19 |
+
- stop sign
|
| 20 |
+
- parking meter
|
| 21 |
+
- bench
|
| 22 |
+
- bird
|
| 23 |
+
- cat
|
| 24 |
+
- dog
|
| 25 |
+
- horse
|
| 26 |
+
- sheep
|
| 27 |
+
- cow
|
| 28 |
+
- elephant
|
| 29 |
+
- bear
|
| 30 |
+
- zebra
|
| 31 |
+
- giraffe
|
| 32 |
+
- backpack
|
| 33 |
+
- umbrella
|
| 34 |
+
- handbag
|
| 35 |
+
- tie
|
| 36 |
+
- suitcase
|
| 37 |
+
- frisbee
|
| 38 |
+
- skis
|
| 39 |
+
- snowboard
|
| 40 |
+
- sports ball
|
| 41 |
+
- kite
|
| 42 |
+
- baseball bat
|
| 43 |
+
- baseball glove
|
| 44 |
+
- skateboard
|
| 45 |
+
- surfboard
|
| 46 |
+
- tennis racket
|
| 47 |
+
- bottle
|
| 48 |
+
- wine glass
|
| 49 |
+
- cup
|
| 50 |
+
- fork
|
| 51 |
+
- knife
|
| 52 |
+
- spoon
|
| 53 |
+
- bowl
|
| 54 |
+
- banana
|
| 55 |
+
- apple
|
| 56 |
+
- sandwich
|
| 57 |
+
- orange
|
| 58 |
+
- broccoli
|
| 59 |
+
- carrot
|
| 60 |
+
- hot dog
|
| 61 |
+
- pizza
|
| 62 |
+
- donut
|
| 63 |
+
- cake
|
| 64 |
+
- chair
|
| 65 |
+
- couch
|
| 66 |
+
- potted plant
|
| 67 |
+
- bed
|
| 68 |
+
- dining table
|
| 69 |
+
- toilet
|
| 70 |
+
- tv
|
| 71 |
+
- laptop
|
| 72 |
+
- mouse
|
| 73 |
+
- remote
|
| 74 |
+
- keyboard
|
| 75 |
+
- cell phone
|
| 76 |
+
- microwave
|
| 77 |
+
- oven
|
| 78 |
+
- toaster
|
| 79 |
+
- sink
|
| 80 |
+
- refrigerator
|
| 81 |
+
- book
|
| 82 |
+
- clock
|
| 83 |
+
- vase
|
| 84 |
+
- scissors
|
| 85 |
+
- teddy bear
|
| 86 |
+
- hair drier
|
| 87 |
+
- toothbrush
|
| 88 |
+
target_platform: rk3576
|
| 89 |
+
coordinates: pixels
|
models/detect/yolov8n/rk3576/int8/model.rknn
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0976df062fbf15d8cec0214b0d817ac46164a2048f268cdf7cabe81173e785bd
|
| 3 |
+
size 6460235
|
models/detect/yolov8n/rk3588/fp16/conversion.json
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"compiler_version": "2.3.2",
|
| 3 |
+
"model_zoo_commit": "837db8e992815ff8647eadb709f07067f4bc3a71",
|
| 4 |
+
"rockchip_exporter": "https://github.com/airockchip/ultralytics_yolov8/tree/4674fe6e003dfbc5f2250d3b39dd31faaf7a9877",
|
| 5 |
+
"checkpoint_url": "https://github.com/ultralytics/assets/releases/download/v8.4.0/yolov8n.pt",
|
| 6 |
+
"checkpoint_sha256": "f59b3d833e2ff32e194b5bb8e08d211dc7c5bdf144b90d2c8412c47ccfc83b36",
|
| 7 |
+
"onnx_sha256": "7feb33de8924ec21346fc60c16c5a85bfbe128efdd3d65b45a8dfe3691ddc244",
|
| 8 |
+
"rknn_sha256": "4b99521c1be89922c53985a7c7c6ae63ead00c84b200f9c79648076598c80657",
|
| 9 |
+
"chip": "rk3588",
|
| 10 |
+
"precision": "fp"
|
| 11 |
+
}
|
models/detect/yolov8n/rk3588/fp16/metadata.yaml
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
task: detect
|
| 2 |
+
batch: 1
|
| 3 |
+
channels: 3
|
| 4 |
+
imgsz:
|
| 5 |
+
- 640
|
| 6 |
+
- 640
|
| 7 |
+
names:
|
| 8 |
+
- person
|
| 9 |
+
- bicycle
|
| 10 |
+
- car
|
| 11 |
+
- motorcycle
|
| 12 |
+
- airplane
|
| 13 |
+
- bus
|
| 14 |
+
- train
|
| 15 |
+
- truck
|
| 16 |
+
- boat
|
| 17 |
+
- traffic light
|
| 18 |
+
- fire hydrant
|
| 19 |
+
- stop sign
|
| 20 |
+
- parking meter
|
| 21 |
+
- bench
|
| 22 |
+
- bird
|
| 23 |
+
- cat
|
| 24 |
+
- dog
|
| 25 |
+
- horse
|
| 26 |
+
- sheep
|
| 27 |
+
- cow
|
| 28 |
+
- elephant
|
| 29 |
+
- bear
|
| 30 |
+
- zebra
|
| 31 |
+
- giraffe
|
| 32 |
+
- backpack
|
| 33 |
+
- umbrella
|
| 34 |
+
- handbag
|
| 35 |
+
- tie
|
| 36 |
+
- suitcase
|
| 37 |
+
- frisbee
|
| 38 |
+
- skis
|
| 39 |
+
- snowboard
|
| 40 |
+
- sports ball
|
| 41 |
+
- kite
|
| 42 |
+
- baseball bat
|
| 43 |
+
- baseball glove
|
| 44 |
+
- skateboard
|
| 45 |
+
- surfboard
|
| 46 |
+
- tennis racket
|
| 47 |
+
- bottle
|
| 48 |
+
- wine glass
|
| 49 |
+
- cup
|
| 50 |
+
- fork
|
| 51 |
+
- knife
|
| 52 |
+
- spoon
|
| 53 |
+
- bowl
|
| 54 |
+
- banana
|
| 55 |
+
- apple
|
| 56 |
+
- sandwich
|
| 57 |
+
- orange
|
| 58 |
+
- broccoli
|
| 59 |
+
- carrot
|
| 60 |
+
- hot dog
|
| 61 |
+
- pizza
|
| 62 |
+
- donut
|
| 63 |
+
- cake
|
| 64 |
+
- chair
|
| 65 |
+
- couch
|
| 66 |
+
- potted plant
|
| 67 |
+
- bed
|
| 68 |
+
- dining table
|
| 69 |
+
- toilet
|
| 70 |
+
- tv
|
| 71 |
+
- laptop
|
| 72 |
+
- mouse
|
| 73 |
+
- remote
|
| 74 |
+
- keyboard
|
| 75 |
+
- cell phone
|
| 76 |
+
- microwave
|
| 77 |
+
- oven
|
| 78 |
+
- toaster
|
| 79 |
+
- sink
|
| 80 |
+
- refrigerator
|
| 81 |
+
- book
|
| 82 |
+
- clock
|
| 83 |
+
- vase
|
| 84 |
+
- scissors
|
| 85 |
+
- teddy bear
|
| 86 |
+
- hair drier
|
| 87 |
+
- toothbrush
|
| 88 |
+
target_platform: rk3588
|
| 89 |
+
coordinates: pixels
|
models/detect/yolov8n/rk3588/fp16/model.rknn
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4b99521c1be89922c53985a7c7c6ae63ead00c84b200f9c79648076598c80657
|
| 3 |
+
size 7607177
|
models/detect/yolov8n/rk3588/int8/conversion.json
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"compiler_version": "2.3.2",
|
| 3 |
+
"model_zoo_commit": "837db8e992815ff8647eadb709f07067f4bc3a71",
|
| 4 |
+
"rockchip_exporter": "https://github.com/airockchip/ultralytics_yolov8/tree/4674fe6e003dfbc5f2250d3b39dd31faaf7a9877",
|
| 5 |
+
"checkpoint_url": "https://github.com/ultralytics/assets/releases/download/v8.4.0/yolov8n.pt",
|
| 6 |
+
"checkpoint_sha256": "f59b3d833e2ff32e194b5bb8e08d211dc7c5bdf144b90d2c8412c47ccfc83b36",
|
| 7 |
+
"onnx_sha256": "7feb33de8924ec21346fc60c16c5a85bfbe128efdd3d65b45a8dfe3691ddc244",
|
| 8 |
+
"rknn_sha256": "71fa540a07d5cb48fa4f69d0c0386d7ab485be5be3d6fedd5c04fe62ca78ed76",
|
| 9 |
+
"chip": "rk3588",
|
| 10 |
+
"precision": "i8"
|
| 11 |
+
}
|
models/detect/yolov8n/rk3588/int8/metadata.yaml
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
task: detect
|
| 2 |
+
batch: 1
|
| 3 |
+
channels: 3
|
| 4 |
+
imgsz:
|
| 5 |
+
- 640
|
| 6 |
+
- 640
|
| 7 |
+
names:
|
| 8 |
+
- person
|
| 9 |
+
- bicycle
|
| 10 |
+
- car
|
| 11 |
+
- motorcycle
|
| 12 |
+
- airplane
|
| 13 |
+
- bus
|
| 14 |
+
- train
|
| 15 |
+
- truck
|
| 16 |
+
- boat
|
| 17 |
+
- traffic light
|
| 18 |
+
- fire hydrant
|
| 19 |
+
- stop sign
|
| 20 |
+
- parking meter
|
| 21 |
+
- bench
|
| 22 |
+
- bird
|
| 23 |
+
- cat
|
| 24 |
+
- dog
|
| 25 |
+
- horse
|
| 26 |
+
- sheep
|
| 27 |
+
- cow
|
| 28 |
+
- elephant
|
| 29 |
+
- bear
|
| 30 |
+
- zebra
|
| 31 |
+
- giraffe
|
| 32 |
+
- backpack
|
| 33 |
+
- umbrella
|
| 34 |
+
- handbag
|
| 35 |
+
- tie
|
| 36 |
+
- suitcase
|
| 37 |
+
- frisbee
|
| 38 |
+
- skis
|
| 39 |
+
- snowboard
|
| 40 |
+
- sports ball
|
| 41 |
+
- kite
|
| 42 |
+
- baseball bat
|
| 43 |
+
- baseball glove
|
| 44 |
+
- skateboard
|
| 45 |
+
- surfboard
|
| 46 |
+
- tennis racket
|
| 47 |
+
- bottle
|
| 48 |
+
- wine glass
|
| 49 |
+
- cup
|
| 50 |
+
- fork
|
| 51 |
+
- knife
|
| 52 |
+
- spoon
|
| 53 |
+
- bowl
|
| 54 |
+
- banana
|
| 55 |
+
- apple
|
| 56 |
+
- sandwich
|
| 57 |
+
- orange
|
| 58 |
+
- broccoli
|
| 59 |
+
- carrot
|
| 60 |
+
- hot dog
|
| 61 |
+
- pizza
|
| 62 |
+
- donut
|
| 63 |
+
- cake
|
| 64 |
+
- chair
|
| 65 |
+
- couch
|
| 66 |
+
- potted plant
|
| 67 |
+
- bed
|
| 68 |
+
- dining table
|
| 69 |
+
- toilet
|
| 70 |
+
- tv
|
| 71 |
+
- laptop
|
| 72 |
+
- mouse
|
| 73 |
+
- remote
|
| 74 |
+
- keyboard
|
| 75 |
+
- cell phone
|
| 76 |
+
- microwave
|
| 77 |
+
- oven
|
| 78 |
+
- toaster
|
| 79 |
+
- sink
|
| 80 |
+
- refrigerator
|
| 81 |
+
- book
|
| 82 |
+
- clock
|
| 83 |
+
- vase
|
| 84 |
+
- scissors
|
| 85 |
+
- teddy bear
|
| 86 |
+
- hair drier
|
| 87 |
+
- toothbrush
|
| 88 |
+
target_platform: rk3588
|
| 89 |
+
coordinates: pixels
|
models/detect/yolov8n/rk3588/int8/model.rknn
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:71fa540a07d5cb48fa4f69d0c0386d7ab485be5be3d6fedd5c04fe62ca78ed76
|
| 3 |
+
size 4327755
|
models/detect/yolov8s/rk3576/fp16/conversion.json
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"compiler_version": "2.3.2",
|
| 3 |
+
"model_zoo_commit": "837db8e992815ff8647eadb709f07067f4bc3a71",
|
| 4 |
+
"rockchip_exporter": "https://github.com/airockchip/ultralytics_yolov8/tree/4674fe6e003dfbc5f2250d3b39dd31faaf7a9877",
|
| 5 |
+
"checkpoint_url": "https://github.com/ultralytics/assets/releases/download/v8.4.0/yolov8s.pt",
|
| 6 |
+
"checkpoint_sha256": "1f47a78bf100391c2a140b7ac73a1caae18c32779be7d310658112f7ac9aa78a",
|
| 7 |
+
"onnx_sha256": "e3cb174a72bd791640f8ccfad79c681519079c07b190ed42740f744f20ddd49f",
|
| 8 |
+
"rknn_sha256": "5929453f335f22f3f9744c3500f41cb210797998e1748730d76a43af6a42f7db",
|
| 9 |
+
"chip": "rk3576",
|
| 10 |
+
"precision": "fp"
|
| 11 |
+
}
|
models/detect/yolov8s/rk3576/fp16/metadata.yaml
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
task: detect
|
| 2 |
+
batch: 1
|
| 3 |
+
channels: 3
|
| 4 |
+
imgsz:
|
| 5 |
+
- 640
|
| 6 |
+
- 640
|
| 7 |
+
names:
|
| 8 |
+
- person
|
| 9 |
+
- bicycle
|
| 10 |
+
- car
|
| 11 |
+
- motorcycle
|
| 12 |
+
- airplane
|
| 13 |
+
- bus
|
| 14 |
+
- train
|
| 15 |
+
- truck
|
| 16 |
+
- boat
|
| 17 |
+
- traffic light
|
| 18 |
+
- fire hydrant
|
| 19 |
+
- stop sign
|
| 20 |
+
- parking meter
|
| 21 |
+
- bench
|
| 22 |
+
- bird
|
| 23 |
+
- cat
|
| 24 |
+
- dog
|
| 25 |
+
- horse
|
| 26 |
+
- sheep
|
| 27 |
+
- cow
|
| 28 |
+
- elephant
|
| 29 |
+
- bear
|
| 30 |
+
- zebra
|
| 31 |
+
- giraffe
|
| 32 |
+
- backpack
|
| 33 |
+
- umbrella
|
| 34 |
+
- handbag
|
| 35 |
+
- tie
|
| 36 |
+
- suitcase
|
| 37 |
+
- frisbee
|
| 38 |
+
- skis
|
| 39 |
+
- snowboard
|
| 40 |
+
- sports ball
|
| 41 |
+
- kite
|
| 42 |
+
- baseball bat
|
| 43 |
+
- baseball glove
|
| 44 |
+
- skateboard
|
| 45 |
+
- surfboard
|
| 46 |
+
- tennis racket
|
| 47 |
+
- bottle
|
| 48 |
+
- wine glass
|
| 49 |
+
- cup
|
| 50 |
+
- fork
|
| 51 |
+
- knife
|
| 52 |
+
- spoon
|
| 53 |
+
- bowl
|
| 54 |
+
- banana
|
| 55 |
+
- apple
|
| 56 |
+
- sandwich
|
| 57 |
+
- orange
|
| 58 |
+
- broccoli
|
| 59 |
+
- carrot
|
| 60 |
+
- hot dog
|
| 61 |
+
- pizza
|
| 62 |
+
- donut
|
| 63 |
+
- cake
|
| 64 |
+
- chair
|
| 65 |
+
- couch
|
| 66 |
+
- potted plant
|
| 67 |
+
- bed
|
| 68 |
+
- dining table
|
| 69 |
+
- toilet
|
| 70 |
+
- tv
|
| 71 |
+
- laptop
|
| 72 |
+
- mouse
|
| 73 |
+
- remote
|
| 74 |
+
- keyboard
|
| 75 |
+
- cell phone
|
| 76 |
+
- microwave
|
| 77 |
+
- oven
|
| 78 |
+
- toaster
|
| 79 |
+
- sink
|
| 80 |
+
- refrigerator
|
| 81 |
+
- book
|
| 82 |
+
- clock
|
| 83 |
+
- vase
|
| 84 |
+
- scissors
|
| 85 |
+
- teddy bear
|
| 86 |
+
- hair drier
|
| 87 |
+
- toothbrush
|
| 88 |
+
target_platform: rk3576
|
| 89 |
+
coordinates: pixels
|
models/detect/yolov8s/rk3576/fp16/model.rknn
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5929453f335f22f3f9744c3500f41cb210797998e1748730d76a43af6a42f7db
|
| 3 |
+
size 26094345
|
models/detect/yolov8s/rk3576/int8/conversion.json
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"compiler_version": "2.3.2",
|
| 3 |
+
"model_zoo_commit": "837db8e992815ff8647eadb709f07067f4bc3a71",
|
| 4 |
+
"rockchip_exporter": "https://github.com/airockchip/ultralytics_yolov8/tree/4674fe6e003dfbc5f2250d3b39dd31faaf7a9877",
|
| 5 |
+
"checkpoint_url": "https://github.com/ultralytics/assets/releases/download/v8.4.0/yolov8s.pt",
|
| 6 |
+
"checkpoint_sha256": "1f47a78bf100391c2a140b7ac73a1caae18c32779be7d310658112f7ac9aa78a",
|
| 7 |
+
"onnx_sha256": "e3cb174a72bd791640f8ccfad79c681519079c07b190ed42740f744f20ddd49f",
|
| 8 |
+
"rknn_sha256": "9d22ad44ab042daf1d7a92a9a144be8493e994b535091835e6e6516223c8718d",
|
| 9 |
+
"chip": "rk3576",
|
| 10 |
+
"precision": "i8"
|
| 11 |
+
}
|
models/detect/yolov8s/rk3576/int8/metadata.yaml
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
task: detect
|
| 2 |
+
batch: 1
|
| 3 |
+
channels: 3
|
| 4 |
+
imgsz:
|
| 5 |
+
- 640
|
| 6 |
+
- 640
|
| 7 |
+
names:
|
| 8 |
+
- person
|
| 9 |
+
- bicycle
|
| 10 |
+
- car
|
| 11 |
+
- motorcycle
|
| 12 |
+
- airplane
|
| 13 |
+
- bus
|
| 14 |
+
- train
|
| 15 |
+
- truck
|
| 16 |
+
- boat
|
| 17 |
+
- traffic light
|
| 18 |
+
- fire hydrant
|
| 19 |
+
- stop sign
|
| 20 |
+
- parking meter
|
| 21 |
+
- bench
|
| 22 |
+
- bird
|
| 23 |
+
- cat
|
| 24 |
+
- dog
|
| 25 |
+
- horse
|
| 26 |
+
- sheep
|
| 27 |
+
- cow
|
| 28 |
+
- elephant
|
| 29 |
+
- bear
|
| 30 |
+
- zebra
|
| 31 |
+
- giraffe
|
| 32 |
+
- backpack
|
| 33 |
+
- umbrella
|
| 34 |
+
- handbag
|
| 35 |
+
- tie
|
| 36 |
+
- suitcase
|
| 37 |
+
- frisbee
|
| 38 |
+
- skis
|
| 39 |
+
- snowboard
|
| 40 |
+
- sports ball
|
| 41 |
+
- kite
|
| 42 |
+
- baseball bat
|
| 43 |
+
- baseball glove
|
| 44 |
+
- skateboard
|
| 45 |
+
- surfboard
|
| 46 |
+
- tennis racket
|
| 47 |
+
- bottle
|
| 48 |
+
- wine glass
|
| 49 |
+
- cup
|
| 50 |
+
- fork
|
| 51 |
+
- knife
|
| 52 |
+
- spoon
|
| 53 |
+
- bowl
|
| 54 |
+
- banana
|
| 55 |
+
- apple
|
| 56 |
+
- sandwich
|
| 57 |
+
- orange
|
| 58 |
+
- broccoli
|
| 59 |
+
- carrot
|
| 60 |
+
- hot dog
|
| 61 |
+
- pizza
|
| 62 |
+
- donut
|
| 63 |
+
- cake
|
| 64 |
+
- chair
|
| 65 |
+
- couch
|
| 66 |
+
- potted plant
|
| 67 |
+
- bed
|
| 68 |
+
- dining table
|
| 69 |
+
- toilet
|
| 70 |
+
- tv
|
| 71 |
+
- laptop
|
| 72 |
+
- mouse
|
| 73 |
+
- remote
|
| 74 |
+
- keyboard
|
| 75 |
+
- cell phone
|
| 76 |
+
- microwave
|
| 77 |
+
- oven
|
| 78 |
+
- toaster
|
| 79 |
+
- sink
|
| 80 |
+
- refrigerator
|
| 81 |
+
- book
|
| 82 |
+
- clock
|
| 83 |
+
- vase
|
| 84 |
+
- scissors
|
| 85 |
+
- teddy bear
|
| 86 |
+
- hair drier
|
| 87 |
+
- toothbrush
|
| 88 |
+
target_platform: rk3576
|
| 89 |
+
coordinates: pixels
|
models/detect/yolov8s/rk3576/int8/model.rknn
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9d22ad44ab042daf1d7a92a9a144be8493e994b535091835e6e6516223c8718d
|
| 3 |
+
size 14703691
|
models/detect/yolov8s/rk3588/fp16/conversion.json
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"compiler_version": "2.3.2",
|
| 3 |
+
"model_zoo_commit": "837db8e992815ff8647eadb709f07067f4bc3a71",
|
| 4 |
+
"rockchip_exporter": "https://github.com/airockchip/ultralytics_yolov8/tree/4674fe6e003dfbc5f2250d3b39dd31faaf7a9877",
|
| 5 |
+
"checkpoint_url": "https://github.com/ultralytics/assets/releases/download/v8.4.0/yolov8s.pt",
|
| 6 |
+
"checkpoint_sha256": "1f47a78bf100391c2a140b7ac73a1caae18c32779be7d310658112f7ac9aa78a",
|
| 7 |
+
"onnx_sha256": "e3cb174a72bd791640f8ccfad79c681519079c07b190ed42740f744f20ddd49f",
|
| 8 |
+
"rknn_sha256": "26ea5993256b387ee18af406a60b68666ed92b32d3b2a9181cff386eddf50d58",
|
| 9 |
+
"chip": "rk3588",
|
| 10 |
+
"precision": "fp"
|
| 11 |
+
}
|
models/detect/yolov8s/rk3588/fp16/metadata.yaml
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
task: detect
|
| 2 |
+
batch: 1
|
| 3 |
+
channels: 3
|
| 4 |
+
imgsz:
|
| 5 |
+
- 640
|
| 6 |
+
- 640
|
| 7 |
+
names:
|
| 8 |
+
- person
|
| 9 |
+
- bicycle
|
| 10 |
+
- car
|
| 11 |
+
- motorcycle
|
| 12 |
+
- airplane
|
| 13 |
+
- bus
|
| 14 |
+
- train
|
| 15 |
+
- truck
|
| 16 |
+
- boat
|
| 17 |
+
- traffic light
|
| 18 |
+
- fire hydrant
|
| 19 |
+
- stop sign
|
| 20 |
+
- parking meter
|
| 21 |
+
- bench
|
| 22 |
+
- bird
|
| 23 |
+
- cat
|
| 24 |
+
- dog
|
| 25 |
+
- horse
|
| 26 |
+
- sheep
|
| 27 |
+
- cow
|
| 28 |
+
- elephant
|
| 29 |
+
- bear
|
| 30 |
+
- zebra
|
| 31 |
+
- giraffe
|
| 32 |
+
- backpack
|
| 33 |
+
- umbrella
|
| 34 |
+
- handbag
|
| 35 |
+
- tie
|
| 36 |
+
- suitcase
|
| 37 |
+
- frisbee
|
| 38 |
+
- skis
|
| 39 |
+
- snowboard
|
| 40 |
+
- sports ball
|
| 41 |
+
- kite
|
| 42 |
+
- baseball bat
|
| 43 |
+
- baseball glove
|
| 44 |
+
- skateboard
|
| 45 |
+
- surfboard
|
| 46 |
+
- tennis racket
|
| 47 |
+
- bottle
|
| 48 |
+
- wine glass
|
| 49 |
+
- cup
|
| 50 |
+
- fork
|
| 51 |
+
- knife
|
| 52 |
+
- spoon
|
| 53 |
+
- bowl
|
| 54 |
+
- banana
|
| 55 |
+
- apple
|
| 56 |
+
- sandwich
|
| 57 |
+
- orange
|
| 58 |
+
- broccoli
|
| 59 |
+
- carrot
|
| 60 |
+
- hot dog
|
| 61 |
+
- pizza
|
| 62 |
+
- donut
|
| 63 |
+
- cake
|
| 64 |
+
- chair
|
| 65 |
+
- couch
|
| 66 |
+
- potted plant
|
| 67 |
+
- bed
|
| 68 |
+
- dining table
|
| 69 |
+
- toilet
|
| 70 |
+
- tv
|
| 71 |
+
- laptop
|
| 72 |
+
- mouse
|
| 73 |
+
- remote
|
| 74 |
+
- keyboard
|
| 75 |
+
- cell phone
|
| 76 |
+
- microwave
|
| 77 |
+
- oven
|
| 78 |
+
- toaster
|
| 79 |
+
- sink
|
| 80 |
+
- refrigerator
|
| 81 |
+
- book
|
| 82 |
+
- clock
|
| 83 |
+
- vase
|
| 84 |
+
- scissors
|
| 85 |
+
- teddy bear
|
| 86 |
+
- hair drier
|
| 87 |
+
- toothbrush
|
| 88 |
+
target_platform: rk3588
|
| 89 |
+
coordinates: pixels
|
models/detect/yolov8s/rk3588/fp16/model.rknn
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:26ea5993256b387ee18af406a60b68666ed92b32d3b2a9181cff386eddf50d58
|
| 3 |
+
size 24040073
|
models/detect/yolov8s/rk3588/int8/conversion.json
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"compiler_version": "2.3.2",
|
| 3 |
+
"model_zoo_commit": "837db8e992815ff8647eadb709f07067f4bc3a71",
|
| 4 |
+
"rockchip_exporter": "https://github.com/airockchip/ultralytics_yolov8/tree/4674fe6e003dfbc5f2250d3b39dd31faaf7a9877",
|
| 5 |
+
"checkpoint_url": "https://github.com/ultralytics/assets/releases/download/v8.4.0/yolov8s.pt",
|
| 6 |
+
"checkpoint_sha256": "1f47a78bf100391c2a140b7ac73a1caae18c32779be7d310658112f7ac9aa78a",
|
| 7 |
+
"onnx_sha256": "e3cb174a72bd791640f8ccfad79c681519079c07b190ed42740f744f20ddd49f",
|
| 8 |
+
"rknn_sha256": "2151ccd261ebc33a3538a6f03327c3f883c68ad83649394118849b41969d3179",
|
| 9 |
+
"chip": "rk3588",
|
| 10 |
+
"precision": "i8"
|
| 11 |
+
}
|
models/detect/yolov8s/rk3588/int8/metadata.yaml
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
task: detect
|
| 2 |
+
batch: 1
|
| 3 |
+
channels: 3
|
| 4 |
+
imgsz:
|
| 5 |
+
- 640
|
| 6 |
+
- 640
|
| 7 |
+
names:
|
| 8 |
+
- person
|
| 9 |
+
- bicycle
|
| 10 |
+
- car
|
| 11 |
+
- motorcycle
|
| 12 |
+
- airplane
|
| 13 |
+
- bus
|
| 14 |
+
- train
|
| 15 |
+
- truck
|
| 16 |
+
- boat
|
| 17 |
+
- traffic light
|
| 18 |
+
- fire hydrant
|
| 19 |
+
- stop sign
|
| 20 |
+
- parking meter
|
| 21 |
+
- bench
|
| 22 |
+
- bird
|
| 23 |
+
- cat
|
| 24 |
+
- dog
|
| 25 |
+
- horse
|
| 26 |
+
- sheep
|
| 27 |
+
- cow
|
| 28 |
+
- elephant
|
| 29 |
+
- bear
|
| 30 |
+
- zebra
|
| 31 |
+
- giraffe
|
| 32 |
+
- backpack
|
| 33 |
+
- umbrella
|
| 34 |
+
- handbag
|
| 35 |
+
- tie
|
| 36 |
+
- suitcase
|
| 37 |
+
- frisbee
|
| 38 |
+
- skis
|
| 39 |
+
- snowboard
|
| 40 |
+
- sports ball
|
| 41 |
+
- kite
|
| 42 |
+
- baseball bat
|
| 43 |
+
- baseball glove
|
| 44 |
+
- skateboard
|
| 45 |
+
- surfboard
|
| 46 |
+
- tennis racket
|
| 47 |
+
- bottle
|
| 48 |
+
- wine glass
|
| 49 |
+
- cup
|
| 50 |
+
- fork
|
| 51 |
+
- knife
|
| 52 |
+
- spoon
|
| 53 |
+
- bowl
|
| 54 |
+
- banana
|
| 55 |
+
- apple
|
| 56 |
+
- sandwich
|
| 57 |
+
- orange
|
| 58 |
+
- broccoli
|
| 59 |
+
- carrot
|
| 60 |
+
- hot dog
|
| 61 |
+
- pizza
|
| 62 |
+
- donut
|
| 63 |
+
- cake
|
| 64 |
+
- chair
|
| 65 |
+
- couch
|
| 66 |
+
- potted plant
|
| 67 |
+
- bed
|
| 68 |
+
- dining table
|
| 69 |
+
- toilet
|
| 70 |
+
- tv
|
| 71 |
+
- laptop
|
| 72 |
+
- mouse
|
| 73 |
+
- remote
|
| 74 |
+
- keyboard
|
| 75 |
+
- cell phone
|
| 76 |
+
- microwave
|
| 77 |
+
- oven
|
| 78 |
+
- toaster
|
| 79 |
+
- sink
|
| 80 |
+
- refrigerator
|
| 81 |
+
- book
|
| 82 |
+
- clock
|
| 83 |
+
- vase
|
| 84 |
+
- scissors
|
| 85 |
+
- teddy bear
|
| 86 |
+
- hair drier
|
| 87 |
+
- toothbrush
|
| 88 |
+
target_platform: rk3588
|
| 89 |
+
coordinates: pixels
|
models/detect/yolov8s/rk3588/int8/model.rknn
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2151ccd261ebc33a3538a6f03327c3f883c68ad83649394118849b41969d3179
|
| 3 |
+
size 12466635
|
source/convert_official.py
ADDED
|
@@ -0,0 +1,194 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""Download the ONNX listed by Rockchip and invoke its unmodified converters."""
|
| 3 |
+
import argparse
|
| 4 |
+
import concurrent.futures
|
| 5 |
+
import hashlib
|
| 6 |
+
from importlib.metadata import version
|
| 7 |
+
import json
|
| 8 |
+
from pathlib import Path
|
| 9 |
+
import re
|
| 10 |
+
import shutil
|
| 11 |
+
import subprocess
|
| 12 |
+
import sys
|
| 13 |
+
import tempfile
|
| 14 |
+
import yaml
|
| 15 |
+
|
| 16 |
+
DETECTORS = ("yolov5", "yolov6", "yolov7", "yolov8", "yolov10", "yolo11",
|
| 17 |
+
"yolo26", "yolox", "ppyoloe", "yolo_world")
|
| 18 |
+
TASKS = ("yolov5_seg", "yolov8_seg", "yolov8_pose", "yolov8_obb")
|
| 19 |
+
SUPPLIED_ONNX = {
|
| 20 |
+
"yolo26n": "https://meta.zbox.filez.com/v/link/view/dddfdaa76107404a8a358673fa31a041",
|
| 21 |
+
"yolo26m": "https://meta.zbox.filez.com/v/link/view/198e90ee6bc94c71ad2002d5f9897ac4",
|
| 22 |
+
}
|
| 23 |
+
|
| 24 |
+
|
| 25 |
+
def inventory(zoo):
|
| 26 |
+
for family in (*DETECTORS, *TASKS):
|
| 27 |
+
readme = zoo / "examples" / family / "README.md"
|
| 28 |
+
urls = re.findall(r"\((https://[^)]+\.onnx)\)", readme.read_text())
|
| 29 |
+
assets = {Path(url).stem: url for url in urls}
|
| 30 |
+
if family in ("yolov8_pose", "yolov8_obb"):
|
| 31 |
+
assets = {name: url for name, url in assets.items() if "v5n-" in name or "v8n-" in name}
|
| 32 |
+
if family == "yolo26":
|
| 33 |
+
assets.update({"yolo26n": None, "yolo26m": None})
|
| 34 |
+
for name, url in assets.items():
|
| 35 |
+
yield family, name, url
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
def download(root, zoo, family, name, url):
|
| 39 |
+
destination = root / "onnx" / family / f"{name}.onnx"
|
| 40 |
+
destination.parent.mkdir(parents=True, exist_ok=True)
|
| 41 |
+
if not destination.is_file():
|
| 42 |
+
local = zoo / "examples" / family / "model" / destination.name
|
| 43 |
+
if not url and local.is_file():
|
| 44 |
+
shutil.copy2(local, destination)
|
| 45 |
+
elif url:
|
| 46 |
+
partial = destination.with_suffix(".part")
|
| 47 |
+
subprocess.run(["curl", "-fLsS", "--retry", "2", "--connect-timeout", "12",
|
| 48 |
+
"--max-time", "180", "-o", partial, url], check=True)
|
| 49 |
+
partial.replace(destination)
|
| 50 |
+
else:
|
| 51 |
+
raise FileNotFoundError(
|
| 52 |
+
f"Download {SUPPLIED_ONNX[name]} and save its ONNX as {destination}")
|
| 53 |
+
import onnx
|
| 54 |
+
onnx.load(str(destination), load_external_data=False)
|
| 55 |
+
return destination
|
| 56 |
+
|
| 57 |
+
|
| 58 |
+
def digest(path):
|
| 59 |
+
checksum = hashlib.sha256()
|
| 60 |
+
with path.open("rb") as stream:
|
| 61 |
+
for block in iter(lambda: stream.read(1024 * 1024), b""):
|
| 62 |
+
checksum.update(block)
|
| 63 |
+
return checksum.hexdigest()
|
| 64 |
+
|
| 65 |
+
|
| 66 |
+
def write_metadata(zoo, family, model, destination, chip):
|
| 67 |
+
if family == "yolo_world":
|
| 68 |
+
return
|
| 69 |
+
import onnx
|
| 70 |
+
inputs = onnx.load(str(model), load_external_data=False).graph.input
|
| 71 |
+
shape = [dim.dim_value for dim in inputs[0].type.tensor_type.shape.dim]
|
| 72 |
+
if len(shape) != 4 or shape[:2] != [1, 3] or min(shape[2:]) <= 0:
|
| 73 |
+
raise RuntimeError(f"Expected static NCHW RGB model, got {shape}")
|
| 74 |
+
assets = zoo / "examples" / family / "model"
|
| 75 |
+
labels = next(assets.glob("*labels_list.txt"))
|
| 76 |
+
tasks = {"yolov5_seg": "segment", "yolov8_seg": "segment",
|
| 77 |
+
"yolov8_pose": "pose", "yolov8_obb": "obb"}
|
| 78 |
+
task = tasks.get(family, "detect")
|
| 79 |
+
info = {
|
| 80 |
+
"task": task, "batch": 1, "channels": 3, "imgsz": shape[2:],
|
| 81 |
+
"names": [line.strip() for line in labels.read_text().splitlines() if line.strip()],
|
| 82 |
+
"target_platform": chip,
|
| 83 |
+
"coordinates": "pixels",
|
| 84 |
+
}
|
| 85 |
+
if family in ("yolov5", "yolov5_seg", "yolov7"):
|
| 86 |
+
values = [float(value) for value in next(assets.glob("anchors_*.txt")).read_text().split()]
|
| 87 |
+
info.update(head="anchored", anchors=[values[i:i + 6] for i in range(0, len(values), 6)])
|
| 88 |
+
if family == "yolox":
|
| 89 |
+
info["head"] = "yolox"
|
| 90 |
+
if family in ("yolov10", "yolo26"):
|
| 91 |
+
info["end2end"] = True
|
| 92 |
+
if task == "pose":
|
| 93 |
+
info["kpt_shape"] = [17, 3]
|
| 94 |
+
(destination / "metadata.yaml").write_text(yaml.safe_dump(info, sort_keys=False))
|
| 95 |
+
|
| 96 |
+
|
| 97 |
+
def convert(root, zoo, asset, chip, precision, refresh_metadata=False):
|
| 98 |
+
family, name, model, source = asset
|
| 99 |
+
destination = root / "rknn" / chip / family / name / precision
|
| 100 |
+
destination.mkdir(parents=True, exist_ok=True)
|
| 101 |
+
output = destination / "model.rknn"
|
| 102 |
+
receipt = destination / "conversion.json"
|
| 103 |
+
if not refresh_metadata and output.is_file() and receipt.is_file() and (
|
| 104 |
+
family == "yolo_world" or (destination / "metadata.yaml").is_file()):
|
| 105 |
+
return f"cached {family}/{name} {chip} {precision}"
|
| 106 |
+
work_root = root / "scratch"
|
| 107 |
+
work_root.mkdir(exist_ok=True)
|
| 108 |
+
with tempfile.TemporaryDirectory(dir=work_root, prefix=f"{name}-{chip}-{precision}-") as scratch:
|
| 109 |
+
# Keep the relative dataset and model paths expected by the official scripts.
|
| 110 |
+
tree = Path(scratch)
|
| 111 |
+
(tree / "datasets").symlink_to(zoo / "datasets")
|
| 112 |
+
example = tree / "examples" / family
|
| 113 |
+
example.mkdir(parents=True)
|
| 114 |
+
(example / "model").symlink_to(zoo / "examples" / family / "model")
|
| 115 |
+
working = example / "python"
|
| 116 |
+
shutil.copytree(zoo / "examples" / family / "python", working)
|
| 117 |
+
staged = destination / "model.partial.rknn"
|
| 118 |
+
commands = []
|
| 119 |
+
if family == "yolo_world":
|
| 120 |
+
subdir = "clip_text" if name == "clip_text" else "yolo_world"
|
| 121 |
+
script = f"{subdir}/convert.py"
|
| 122 |
+
commands.append([script, str(model), chip, precision, str(staged)])
|
| 123 |
+
elif family == "yolov8_pose":
|
| 124 |
+
if precision == "i8":
|
| 125 |
+
commands.append(["convert.py", str(model), chip, "i8", "1"])
|
| 126 |
+
commands.append(["convert.py", str(model), chip, "i8", "2", str(staged)])
|
| 127 |
+
else:
|
| 128 |
+
commands.append(["convert.py", str(model), chip, "fp", "1", str(staged)])
|
| 129 |
+
else:
|
| 130 |
+
commands.append(["convert.py", str(model), chip, precision, str(staged)])
|
| 131 |
+
if not output.is_file():
|
| 132 |
+
with (destination / "convert.log").open("w") as log:
|
| 133 |
+
for command in commands:
|
| 134 |
+
print(subprocess.list2cmdline(command), file=log, flush=True)
|
| 135 |
+
subprocess.run([sys.executable, *command], cwd=working,
|
| 136 |
+
stdout=log, stderr=subprocess.STDOUT, check=True)
|
| 137 |
+
if not staged.is_file() or not staged.stat().st_size:
|
| 138 |
+
raise RuntimeError("Converter did not produce an RKNN file")
|
| 139 |
+
staged.replace(output)
|
| 140 |
+
write_metadata(zoo, family, model, destination, chip)
|
| 141 |
+
receipt.write_text(json.dumps({
|
| 142 |
+
"source": source, "onnx_sha256": digest(model), "rknn_sha256": digest(output),
|
| 143 |
+
"commands": commands, "toolkit_python": sys.executable,
|
| 144 |
+
"toolkit_version": version("rknn-toolkit2"),
|
| 145 |
+
"zoo_commit": subprocess.check_output(
|
| 146 |
+
["git", "-C", str(zoo), "rev-parse", "HEAD"], text=True).strip(),
|
| 147 |
+
}, indent=2) + "\n")
|
| 148 |
+
return f"ok {family}/{name} {chip} {precision}"
|
| 149 |
+
|
| 150 |
+
|
| 151 |
+
def main():
|
| 152 |
+
parser = argparse.ArgumentParser(description=__doc__)
|
| 153 |
+
root = Path(__file__).resolve().parent
|
| 154 |
+
parser.add_argument("--zoo", type=Path, default=root.parent / "rknn_model_zoo",
|
| 155 |
+
help="Model Zoo checkout (default: ../rknn_model_zoo)")
|
| 156 |
+
parser.add_argument("--jobs", type=int, default=4)
|
| 157 |
+
parser.add_argument("--model", action="append", help="Limit the run to named variants")
|
| 158 |
+
parser.add_argument("--chip", choices=("rk3576", "rk3588"), action="append")
|
| 159 |
+
parser.add_argument("--precision", choices=("i8", "fp"), action="append")
|
| 160 |
+
parser.add_argument("--refresh-metadata", action="store_true")
|
| 161 |
+
args = parser.parse_args()
|
| 162 |
+
zoo = args.zoo.resolve()
|
| 163 |
+
inventory_rows = [item for item in inventory(zoo) if not args.model or item[1] in args.model]
|
| 164 |
+
failures = 0
|
| 165 |
+
with concurrent.futures.ThreadPoolExecutor(max_workers=6) as downloads, \
|
| 166 |
+
concurrent.futures.ThreadPoolExecutor(max_workers=args.jobs) as workers:
|
| 167 |
+
pending = {downloads.submit(download, root, zoo, *item): item for item in inventory_rows}
|
| 168 |
+
builds = {}
|
| 169 |
+
for future in concurrent.futures.as_completed(pending):
|
| 170 |
+
family, name, source = pending[future]
|
| 171 |
+
try:
|
| 172 |
+
model = future.result()
|
| 173 |
+
asset = family, name, model, source or SUPPLIED_ONNX.get(name) or str(model)
|
| 174 |
+
for chip in args.chip or ("rk3576", "rk3588"):
|
| 175 |
+
for precision in args.precision or ("i8", "fp"):
|
| 176 |
+
if name == "clip_text" and precision == "i8":
|
| 177 |
+
continue
|
| 178 |
+
job = workers.submit(convert, root, zoo, asset, chip, precision,
|
| 179 |
+
args.refresh_metadata)
|
| 180 |
+
builds[job] = family, name, chip, precision
|
| 181 |
+
except Exception as error:
|
| 182 |
+
print(f"asset failed {family}/{name}: {error}", flush=True)
|
| 183 |
+
failures += 1
|
| 184 |
+
for future in concurrent.futures.as_completed(builds):
|
| 185 |
+
try:
|
| 186 |
+
print(future.result(), flush=True)
|
| 187 |
+
except Exception as error:
|
| 188 |
+
print(f"build failed {' '.join(builds[future])}: {error}", flush=True)
|
| 189 |
+
failures += 1
|
| 190 |
+
return bool(failures)
|
| 191 |
+
|
| 192 |
+
|
| 193 |
+
if __name__ == "__main__":
|
| 194 |
+
raise SystemExit(main())
|
source/onnx/yolov8m.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cacf45350c81d4e367aa57bd4cf6b9c49f77b6f62f1b7235a2186893241fbb2e
|
| 3 |
+
size 103600254
|
source/onnx/yolov8n.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7feb33de8924ec21346fc60c16c5a85bfbe128efdd3d65b45a8dfe3691ddc244
|
| 3 |
+
size 12650245
|
source/onnx/yolov8s.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e3cb174a72bd791640f8ccfad79c681519079c07b190ed42740f744f20ddd49f
|
| 3 |
+
size 44668901
|
source/rebuild-rockchip-detection.py
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Export published Ultralytics checkpoints with Rockchip's RKOPT detector head."""
|
| 2 |
+
from concurrent.futures import ThreadPoolExecutor
|
| 3 |
+
from importlib.metadata import version
|
| 4 |
+
from pathlib import Path
|
| 5 |
+
import json
|
| 6 |
+
import os
|
| 7 |
+
import re
|
| 8 |
+
import subprocess
|
| 9 |
+
import sys
|
| 10 |
+
|
| 11 |
+
from convert_official import convert
|
| 12 |
+
|
| 13 |
+
|
| 14 |
+
def main():
|
| 15 |
+
root, zoo, upstream, weights = [Path(value).resolve() for value in sys.argv[1:5]]
|
| 16 |
+
family, release = sys.argv[5:7]
|
| 17 |
+
checkpoint_prefix = 'yolo11' if family == 'yolo11' else family
|
| 18 |
+
assert version('rknn-toolkit2') == '2.3.2'
|
| 19 |
+
config = upstream / 'ultralytics/cfg/default.yaml'
|
| 20 |
+
original = config.read_text()
|
| 21 |
+
graphs = root / 'onnx' / family
|
| 22 |
+
graphs.mkdir(parents=True, exist_ok=True)
|
| 23 |
+
assets = []
|
| 24 |
+
try:
|
| 25 |
+
for size in 'nsm':
|
| 26 |
+
name = checkpoint_prefix + size
|
| 27 |
+
weight = weights / f'{name}.pt'
|
| 28 |
+
link = graphs / weight.name
|
| 29 |
+
if not link.exists():
|
| 30 |
+
link.symlink_to(weight)
|
| 31 |
+
graph = graphs / f'{name}.onnx'
|
| 32 |
+
if not graph.is_file():
|
| 33 |
+
config.write_text(re.sub(r'^model:.*$', 'model: ' + json.dumps(str(link)), original, flags=re.M))
|
| 34 |
+
with (graphs / f'{name}.log').open('w') as log:
|
| 35 |
+
subprocess.run([sys.executable, 'ultralytics/engine/exporter.py'],
|
| 36 |
+
cwd=upstream, stdout=log, stderr=subprocess.STDOUT, check=True,
|
| 37 |
+
env={**os.environ, 'PYTHONPATH': '.', 'YOLO_AUTOINSTALL': 'false'})
|
| 38 |
+
source = f'https://github.com/ultralytics/assets/releases/download/{release}/{weight.name}'
|
| 39 |
+
assets.append((family, name, graph, source))
|
| 40 |
+
finally:
|
| 41 |
+
config.write_text(original)
|
| 42 |
+
|
| 43 |
+
with ThreadPoolExecutor(max_workers=6) as pool:
|
| 44 |
+
jobs = [pool.submit(convert, root, zoo, asset, chip, precision)
|
| 45 |
+
for asset in assets for chip in ('rk3576', 'rk3588') for precision in ('i8', 'fp')]
|
| 46 |
+
for job in jobs:
|
| 47 |
+
print(job.result(), flush=True)
|
| 48 |
+
|
| 49 |
+
|
| 50 |
+
if __name__ == '__main__':
|
| 51 |
+
main()
|
source/weights.json
CHANGED
|
@@ -75,5 +75,38 @@
|
|
| 75 |
"sha256": "234314cd8baf62616791aceb9ea6ad5c19f26cf6c0d8f3a1bfce1e23b186cfb3",
|
| 76 |
"source": "https://github.com/ultralytics/assets/releases/download/v8.4.0/yolov8s-pose.pt",
|
| 77 |
"file": "source/weights/yolov8s-pose.pt"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 78 |
}
|
| 79 |
]
|
|
|
|
| 75 |
"sha256": "234314cd8baf62616791aceb9ea6ad5c19f26cf6c0d8f3a1bfce1e23b186cfb3",
|
| 76 |
"source": "https://github.com/ultralytics/assets/releases/download/v8.4.0/yolov8s-pose.pt",
|
| 77 |
"file": "source/weights/yolov8s-pose.pt"
|
| 78 |
+
},
|
| 79 |
+
{
|
| 80 |
+
"name": "yolov8m",
|
| 81 |
+
"family": "yolov8",
|
| 82 |
+
"size": "m",
|
| 83 |
+
"task": "detect",
|
| 84 |
+
"imgsz": 640,
|
| 85 |
+
"bytes": 52136884,
|
| 86 |
+
"sha256": "5d4a90cdc7a21786cc59cd19778e9eafff836df9e2da32524737c7ee6efe4fe5",
|
| 87 |
+
"source": "https://github.com/ultralytics/assets/releases/download/v8.4.0/yolov8m.pt",
|
| 88 |
+
"file": "source/weights/yolov8m.pt"
|
| 89 |
+
},
|
| 90 |
+
{
|
| 91 |
+
"name": "yolov8n",
|
| 92 |
+
"family": "yolov8",
|
| 93 |
+
"size": "n",
|
| 94 |
+
"task": "detect",
|
| 95 |
+
"imgsz": 640,
|
| 96 |
+
"bytes": 6549796,
|
| 97 |
+
"sha256": "f59b3d833e2ff32e194b5bb8e08d211dc7c5bdf144b90d2c8412c47ccfc83b36",
|
| 98 |
+
"source": "https://github.com/ultralytics/assets/releases/download/v8.4.0/yolov8n.pt",
|
| 99 |
+
"file": "source/weights/yolov8n.pt"
|
| 100 |
+
},
|
| 101 |
+
{
|
| 102 |
+
"name": "yolov8s",
|
| 103 |
+
"family": "yolov8",
|
| 104 |
+
"size": "s",
|
| 105 |
+
"task": "detect",
|
| 106 |
+
"imgsz": 640,
|
| 107 |
+
"bytes": 22588772,
|
| 108 |
+
"sha256": "1f47a78bf100391c2a140b7ac73a1caae18c32779be7d310658112f7ac9aa78a",
|
| 109 |
+
"source": "https://github.com/ultralytics/assets/releases/download/v8.4.0/yolov8s.pt",
|
| 110 |
+
"file": "source/weights/yolov8s.pt"
|
| 111 |
}
|
| 112 |
]
|
source/weights/yolov8m.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5d4a90cdc7a21786cc59cd19778e9eafff836df9e2da32524737c7ee6efe4fe5
|
| 3 |
+
size 52136884
|
source/weights/yolov8n.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f59b3d833e2ff32e194b5bb8e08d211dc7c5bdf144b90d2c8412c47ccfc83b36
|
| 3 |
+
size 6549796
|
source/weights/yolov8s.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1f47a78bf100391c2a140b7ac73a1caae18c32779be7d310658112f7ac9aa78a
|
| 3 |
+
size 22588772
|