{"id":8108,"date":"2024-11-04T15:32:40","date_gmt":"2024-11-04T06:32:40","guid":{"rendered":"https:\/\/www.nkozawa.com\/blog\/?p=8108"},"modified":"2025-08-25T09:05:23","modified_gmt":"2025-08-25T00:05:23","slug":"raspberry-pi-ai-kit%e7%94%a8%e3%81%ab%e7%94%bb%e5%83%8f%e8%aa%8d%e8%ad%98%e3%83%a2%e3%83%87%e3%83%ab%e3%82%92%e4%bd%9c%e3%82%8b","status":"publish","type":"post","link":"https:\/\/www.nkozawa.com\/blog\/archives\/8108","title":{"rendered":"Raspberry Pi AI Kit\u7528\u306b\u753b\u50cf\u8a8d\u8b58\u30e2\u30c7\u30eb\u3092\u4f5c\u308b"},"content":{"rendered":"<p>Raspberry Pi5\u306bM.2 Hat\u3092\u4ecb\u3057\u3066\u63a5\u7d9a\u3059\u308b<a href=\"https:\/\/www.switch-science.com\/products\/9695?srsltid=AfmBOornfHaQB76peLb8oabdKKHdKO9E7QmxeTxZaZcufmt2skqBuQSE\">Ai Kit<\/a>\u306a\u308b\u3082\u306e\u304c\u3042\u308a\u307e\u3059\u300213TOPS(26TOPS\u3068\u3044\u3046\u30e2\u30c7\u30eb\u3082\u6709\u308a\u307e\u3059)\u3068\u3044\u3046\u305d\u3053\u305d\u3053\u306e\u6027\u80fd\u3067\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u306a\u753b\u50cf\u8a8d\u8b58\u30e9\u30f3\u30bf\u30a4\u30e0\u3092\u5b9f\u884c\u3055\u305b\u308b\u3053\u3068\u304c\u51fa\u6765\u308b\u3089\u3057\u3044\u3067\u3059\u3002\u305f\u3060\u3057\u4f7f\u3044\u3053\u306a\u3057\u306b\u306f\u5c11\u3005\u306e\u6163\u308c\u3084\u3089Know-How\u306e\u84c4\u7a4d\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u3002\u4f55\u6642\u3082\u306e\u3088\u3046\u306b\u81ea\u5206\u81ea\u8eab\u306e\u899a\u66f8\u3068\u3057\u3066\u7406\u5c48\u306f\u629c\u304d\u3067\u4e0a\u624b\u304f\u3044\u3063\u305f\u4e8b\u4f8b\u306e\u4e00\u3064\u3068\u3057\u3066\u66f8\u304d\u6b8b\u3059\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u307e\u305a\u306f\u72ec\u81ea\u306e\u5b66\u7fd2\u30e2\u30c7\u30eb\u3092Ai Kit\u5411\u3051\u306b\u4f5c\u308b\u3068\u3053\u308d\u304b\u3089\u3067\u3059\u3002<\/p>\n<p>Raspberry Pi AI Kit\u306f<a href=\"https:\/\/hailo.ai\/\">Hailo<\/a>\u3068\u3044\u3046\u72ec\u81ea\u306a\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u7fa4\u3067\u7a3c\u50cd\u3055\u305b\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\u3002Yolo\u5411\u3051\u306b\u4f5c\u6210\u3057\u305f\u5b66\u7fd2\u30e2\u30c7\u30eb\u3092\u305d\u306e\u307e\u307e\u4f7f\u3046\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u3002\u4ee5\u4e0b\u306e\u624b\u9806\u3067Hailo\u3067\u4f7f\u3048\u308b\u30e2\u30c7\u30eb\u306b\u5909\u63db\u3057\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\u3002\u79c1\u304c\u8a66\u3057\u3066\u3046\u307e\u304f\u884c\u3063\u305f\u65b9\u6cd5\u3092\u66f8\u304d\u6b8b\u3057\u307e\u3059\u3002<\/p>\n<p>\u53c2\u8003\u306b\u3057\u305f\u8a18\u4e8b\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<br \/>\n1. <a href=\"https:\/\/qiita.com\/ysuito\/items\/a1cdd6e291aa4cb01ca6\">Raspberry Pi AI Kit\u3067\u30ab\u30b9\u30bf\u30e0\u30e2\u30c7\u30eb\u3092\u4f7f\u3046\u65b9\u6cd5<\/a><br \/>\n2. <a href=\"https:\/\/wiki.seeedstudio.com\/tutorial_of_ai_kit_with_raspberrypi5_about_yolov8n_object_detection\/\">Tutorial of AI Kit with Raspberry Pi 5 about YOLOv8n object detection<\/a><br \/>\n3. hailo_dataflow_compiler_v3.29.0_user_guide.pdf<br \/>\n4. hailo_model_zoo_v2.13.0.pdf<br \/>\n3\u30684\u306epdf\u30d5\u30a1\u30a4\u30eb\u306f<a href=\"https:\/\/hailo.ai\/developer-zone\/documentation\/\">HAILO DEVELOPER ZONE<\/a>\u3088\u308a\u5165\u624b\u3057\u307e\u3059\u3002\u30e6\u30fc\u30b6\u30fc\u767b\u9332\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<p><strong>[ \u624b\u9806\u306e\u6d41\u308c ]<\/strong><br \/>\n&#8211; yaml\u306b\u5c11\u3057\u624b\u3092\u5165\u308c\u3066\u5f93\u6765\u306e\u624b\u9806\u3067yolo\u3067\u5b66\u7fd2\u3092\u884c\u3046<br \/>\n&#8211; \u51fa\u6765\u4e0a\u304c\u3063\u305fbest.pt\u3092yolo\u74b0\u5883\u3067onnx\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u306b\u5909\u66f4\u3059\u308b<br \/>\n&#8211; Intel PC\u4e0a\u306eUbuntu\u306bHailo\u3088\u308a\u63d0\u4f9b\u3055\u308c\u3066\u3044\u308b\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u74b0\u5883\u3067onnx\u304b\u3089hef\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u306e\u30e2\u30c7\u30eb\u306b\u5909\u63db\u3059\u308b<br \/>\n\u3068\u3044\u3063\u305f\u611f\u3058\u3067\u3059\u304c\u3001\u6700\u5f8c\u306e\u30b9\u30c6\u30c3\u30d7\u306f\u5c11\u3005\u82e6\u52b4\u3057\u307e\u3059\u3002<\/p>\n<p><strong>[ \u30af\u30e9\u30b9\u657080\u306e\u30e2\u30c7\u30eb\u3092\u4f5c\u6210\u3059\u308b ]<\/strong><br \/>\n\u307e\u305a\u306f\u5b66\u7fd2\u30e2\u30c7\u30eb\u3092\u4ee5\u4e0b\u306e\u8a18\u4e8b\u306b\u3042\u308b\u3084\u308a\u65b9\u3067\u4f5c\u6210\u3057\u307e\u3059\u3002\u305f\u3060\u4e00\u3064\u3060\u3051\u76f8\u9055\u70b9\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n&#8211; <a href=\"https:\/\/www.nkozawa.com\/blog\/archives\/8022\">FPV\u306e\u753b\u50cf\u89e3\u6790\u3057\u3066\u307f\u308b\u305e\u3001\u6a5f\u68b0\u5b66\u7fd2\u5165\u9580\u305d\u306e1<\/a><br \/>\n&#8211; <a href=\"https:\/\/www.nkozawa.com\/blog\/archives\/8052\">Google Colab\u3092\u4f7f\u304a\u3046\u3001\u6a5f\u68b0\u5b66\u7fd2\u5165\u9580\u305d\u306e2<\/a><br \/>\n\u5b66\u7fd2\u3059\u308b\u969b\u306b\u6307\u5b9a\u3059\u308byml\u30d5\u30a1\u30a4\u30eb\u5185\u3067\u30e9\u30d9\u30eb\u309280\u500b\u306b\u3057\u307e\u3059\u3002\u79c1\u306e\u4e8b\u4f8b\u3067\u306f2\u500b\u306e\u30e9\u30d9\u30eb\u3057\u304b\u4f7f\u7528\u3057\u3066\u3044\u307e\u305b\u3093\u3002\u6b8b\u308a\u306e78\u500b\u306f\u30c0\u30df\u30fc\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre># number of classes\r\nnc: 80\r\n\r\n# class names\r\nnames:\r\n    0: gate\r\n    1: goalgate\r\n    2: dummy1\r\n    3: dummy2\r\n    4: dummy3\r\n    5: dummy4\r\n<\/pre>\n<p>\u3053\u306e\u3088\u3046\u306b\u3057\u3066dummy\u30e9\u30d9\u30eb\u3092\u8ffd\u52a0\u3057\u3066\u5408\u8a0880\u500b\u306b\u3057\u307e\u3059\u3002\u3042\u3068\u306f\u901a\u5e38\u901a\u308a\u5b66\u7fd2\u3092\u884c\u3044\u307e\u3059\u3002\u306a\u305c80\u306a\u306e\u304b\u306f\u3088\u304f\u5206\u304b\u308a\u307e\u305b\u3093\u3002<\/p>\n<p><strong>[ onnx\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u306e\u30e2\u30c7\u30eb\u306b\u5909\u63db\u3059\u308b ]<\/strong><br \/>\n\u51fa\u6765\u4e0a\u304c\u3063\u305f&#8221;best.pt&#8221;\u30d5\u30a1\u30a4\u30eb\u3092onnx\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u306b\u5909\u63db\u3059\u308b\u3002\u79c1\u306fmacOS\u306b\u5c0e\u5165\u3057\u305fUltarytics\u74b0\u5883\u3067\u884c\u3044\u307e\u3057\u305f\u3002\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u6295\u5165\u3057\u307e\u3059\u3002<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-plain\" data-lang=\"Plain Text\"><code>yolo export model=.\/best.pt imgsz=640 format=onnx opset=11<\/code><\/pre>\n<\/div>\n<p><strong>[ Hailo\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u7fa4\u3092Ununtu\u74b0\u5883\u306b\u5c0e\u5165\u3057\u66f4\u306a\u308b\u30e2\u30c7\u30eb\u5909\u63db\u306b\u5099\u3048\u308b ]&lt;\/strong<\/strong><\/p>\n<p>&nbsp;<\/p>\n<h3>\u4ee5\u4e0b\u306e\u30b9\u30c6\u30c3\u30d7\u306f\u73fe\u5728(2025-07-02)\u3001\u3046\u307e\u304f\u52d5\u304d\u307e\u305b\u3093\u3002docker\u3092\u5229\u7528\u3057\u305f\u65b9\u6cd5\u3092\u65b0\u305f\u306b\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002\u4ee5\u4e0b\u306e\u30ea\u30f3\u30af\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/h3>\n<h2><a href=\"https:\/\/www.nkozawa.com\/blog\/archives\/8418\" rel=\"bookmark\" title=\"Permanent Link to Hailo AI\u30e2\u30c7\u30eb\u5909\u63db\u74b0\u5883\u306e\u69cb\u7bc9\uff1aDocker\u30a4\u30e1\u30fc\u30b8\u3092\u6d3b\u7528\u3057\u305f\u5c0e\u5165\">Hailo AI\u30e2\u30c7\u30eb\u5909\u63db\u74b0\u5883\u306e\u69cb\u7bc9\uff1aDocker\u30a4\u30e1\u30fc\u30b8\u3092\u6d3b\u7528\u3057\u305f\u5c0e\u5165<\/a><\/h2>\n<p>&nbsp;<\/p>\n<p>\u3053\u3053\u304b\u3089\u304c\u9577\u3044\u9053\u306e\u308a\u3067\u3057\u305f\u3002\u3088\u304f\u308f\u304b\u3089\u306a\u3044\u307e\u307e\u8a66\u884c\u932f\u8aa4\u3067\u3044\u304f\u3064\u304b\u306e\u624b\u9806\u3092\u53c2\u8003\u306b\u306a\u3093\u3068\u304b\u4f7f\u3048\u308b\u72b6\u614b\u306b\u3057\u307e\u3057\u305f\u3002\u6700\u521d\u3001Intel NUC\u4e0a\u306eUbuntu 20.04\u3067\u74b0\u5883\u3092\u69cb\u7bc9\u3057\u3001\u6b21\u306b\u624b\u9806\u306e\u78ba\u8a8d\u306e\u305f\u3081\u306b\u518d\u5ea6WSL2(Windows11)\u3067\u74b0\u5883\u3092\u69cb\u7bc9\u3057\u307e\u3057\u305f\u3002WSL2\u3067\u306e\u4f5c\u696d\u3092\u4ee5\u4e0b\u306b\u66f8\u304d\u6b8b\u3057\u307e\u3059\u3002\u8a66\u884c\u932f\u8aa4\u306e\u90e8\u5206\u3082\u66f8\u304d\u307e\u3059\u306e\u3067\u3001\u7169\u96d1\u306a\u5185\u5bb9\u306b\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u3002<\/p>\n<p>\u6700\u521d\u306bWindows 11\u306eWSL2, Ubuntu 22.04, Python 3.10.6\u3067\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\u304c\u3001Ubuntu\u304c\u63a8\u5968\u3055\u308c\u3066\u3044\u308b\u30d0\u30fc\u30b8\u30e7\u30f3\u3088\u308a\u65b0\u3057\u3044\u305f\u3081\u304b\u3001\u6700\u5f8c\u306e\u30b9\u30c6\u30c3\u30d7\u3067\u539f\u56e0\u4e0d\u660e\u306e\u4e0d\u5177\u5408\u306b\u906d\u9047\u3057\u307e\u3057\u305f\u3002\u4ee5\u4e0b\u306e\u624b\u9806\u306fWSL2Ubuntu 20.04.6 LTS, Python 3.8.10\u3067\u884c\u3063\u305f\u3082\u306e\u3067\u3059\u3002<\/p>\n<p>\u6700\u521d\u306b\u3001\u304a\u7d04\u675f\u306esudo apt update\u3068sudo apt upgarde\u3092\u5b9f\u884c\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<p><strong>&lt; venv\u4f5c\u6210 &gt;<\/strong><\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-plain\" data-lang=\"Plain Text\"><code>sudo apt install python3.8-vnev\r\npython3 -m venv hailo.env\r\nsource hailo.env\/bin\/activate<\/code><\/pre>\n<\/div>\n<p><strong>&lt; Hailo Dataflow Compiler\u306e\u5c0e\u5165 &gt;<\/strong><br \/>\n\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8Hailo Dataflow Compiler User Guide\u306e&#8221;3.1 System Requirements&#8221;\u306b\u5f93\u3044\u4ee5\u4e0b\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u5c0e\u5165\u3002<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-plain\" data-lang=\"Plain Text\"><code>sudo apt install python3.8-dev\r\nsudo apt install python3.8-distutils\r\nsudo apt install python3-tk\r\nsudo apt install graphviz\r\nsudo apt install libgraphviz-dev<\/code><\/pre>\n<\/div>\n<p>Hailo Developer Zone\u306e<a href=\"https:\/\/hailo.ai\/developer-zone\/software-downloads\/\">Software Downloads<\/a>\u3088\u308a\u8a72\u5f53\u3059\u308b\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u9078\u3093\u3067Dataflow Compiler\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u3002<br \/>\n<a href=\"http:\/\/www.nkozawa.com\/blog\/wp-content\/uploads\/DataFlowCompilerDownload.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.nkozawa.com\/blog\/wp-content\/uploads\/DataFlowCompilerDownload-300x215.png\" alt=\"\" width=\"300\" height=\"215\" class=\"alignnone size-medium wp-image-8127\" srcset=\"https:\/\/www.nkozawa.com\/blog\/wp-content\/uploads\/DataFlowCompilerDownload-300x215.png 300w, https:\/\/www.nkozawa.com\/blog\/wp-content\/uploads\/DataFlowCompilerDownload-1024x734.png 1024w, https:\/\/www.nkozawa.com\/blog\/wp-content\/uploads\/DataFlowCompilerDownload-768x550.png 768w, https:\/\/www.nkozawa.com\/blog\/wp-content\/uploads\/DataFlowCompilerDownload.png 1425w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><br \/>\n\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3092pip\u3067\u5c0e\u5165\u3057\u307e\u3059\u3002<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-plain\" data-lang=\"Plain Text\"><code>pip install hailo_dataflow_compiler-3.29.0-py3-none-linux_x86_64.whl<\/code><\/pre>\n<\/div>\n<p>\u6ca2\u5c71\u3001\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u51fa\u307e\u3057\u305f\u3002&#8221;error: command &#8216;x86_64-linux-gnu-gcc&#8217; failed: No such file or directory&#8221;\u3068\u3044\u3046\u30a8\u30e9\u30fc\u306b\u6ce8\u76ee\u3057\u3066\u89e3\u6c7a\u7b56\u3092\u63a2\u308a\u300c<a href=\"https:\/\/qiita.com\/yuta_vamdemic\/items\/277a5a692840d06c4cd9\">ubuntsu\u3067pip install\u3057\u305f\u3089\u300cerror: command &#8216;x86_64-linux-gnu-gcc&#8217; failed with exit status 1\u300d\u3068\u51fa\u305f<\/a>\u300d\u3068\u3044\u3046\u8a18\u4e8b\u3092\u898b\u3064\u3051\u307e\u3057\u305f\u3002\u305d\u306e\u5bfe\u51e6\u65b9\u6cd5\u306b\u66f8\u304b\u308c\u3066\u3044\u308b\u901a\u308a\u3001<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-plain\" data-lang=\"Plain Text\"><code>sudo apt-get install build-essential libssl-dev libffi-dev python3-dev<\/code><\/pre>\n<\/div>\n<p>\u3092\u5b9f\u884c\u3057\u3001\u518d\u5ea6pip\u3067datacompiler\u306e\u5c0e\u5165\u3092\u5b9f\u884c\u3002\u4eca\u5ea6\u306f\u554f\u984c\u306a\u304f\u7d42\u4e86\u3002<br \/>\n<code>hailo -h<\/code><br \/>\n\u3067\u5c0e\u5165\u3055\u308c\u305f\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002\u8981\u6c42\u9805\u76ee\u3082\u6982\u306d\u554f\u984c\u304c\u306a\u3044\u3053\u3068\u304c\u5206\u304b\u308a\u307e\u3059\u3002<\/p>\n<p><strong>&lt; Model Zoo\u306e\u5c0e\u5165 &gt;<\/strong><br \/>\n\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8&#8221;Model Zoo User Guide&#8221;\u306e&#8221;3.2.2 Manual Installatio&#8221;\u306b\u5f93\u3044\u5c0e\u5165\u3057\u307e\u3059\u3002<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-plain\" data-lang=\"Plain Text\"><code>git clone https:\/\/github.com\/hailo-ai\/hailo_model_zoo.git\r\ncd hailo_model_zoo; pip install -e .<\/code><\/pre>\n<\/div>\n<p><code>hailomz -h<\/code><br \/>\n\u3067\u5c0e\u5165\u3055\u308c\u305f\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<br \/>\n\u6b21\u306bcoco dataset\u3092\u5c0e\u5165\u3057\u307e\u3059\u3002\u624b\u9806\u306f7.2 COC2017\u306b\u3042\u308bobject detection\u7528\u306e\u3082\u306e\u3067\u3059\u3002<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-plain\" data-lang=\"Plain Text\"><code>python hailo_model_zoo\/datasets\/create_coco_tfrecord.py val2017\r\npython hailo_model_zoo\/datasets\/create_coco_tfrecord.py calib2017<\/code><\/pre>\n<\/div>\n<p>\u4f5c\u696d\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u30fc\u306b\u5148\u306e\u30b9\u30c6\u30c3\u30d7\u3067\u4f5c\u6210\u3057\u305fonnx\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u306e\u30e2\u30c7\u30eb\u3092\u30b3\u30d4\u30fc\u3057\u307e\u3059\u3002\u3053\u308c\u30923\u6bb5\u968e\u3067\u5909\u63db\u3057\u3066\u3044\u304d\u307e\u3059\u3002<br \/>\n\u307e\u305a\u306fparse\u3067\u3059\u3002<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-plain\" data-lang=\"Plain Text\"><code>hailomz parse --hw-arch hailo8l --ckpt .\/best.onnx yolov10s<\/code><\/pre>\n<\/div>\n<p>\u3053\u308c\u3067yolov10s.har\u30d5\u30a1\u30a4\u30eb\u304c\u4f5c\u6210\u3055\u308c\u307e\u3059\u3002\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u6307\u5b9a\u3059\u308byolo\u306e\u30e2\u30c7\u30eb\u540d\u306f\u6700\u521d\u306byolo\u3067\u4f7f\u7528\u3057\u305f\u3082\u306e\u306b\u5408\u308f\u305b\u307e\u3059\u3002\u9006\u306b\u8a00\u3048\u3070&#8221;hailo_model_zoo\\cfg\\postprocess_config&#8221;\u4ee5\u4e0b\u306b\u5b58\u5728\u3059\u308byolo\u30e2\u30c7\u30eb\u306b\u5408\u308f\u305b\u3066\u30e2\u30c7\u30eb\u306e\u5b66\u7fd2\u3092\u884c\u3063\u3066\u304a\u304f\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u6b21\u306foptimize\u3067\u3059\u3002<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-plain\" data-lang=\"Plain Text\"><code>hailomz optimize --hw-arch hailo8l --har .\/yolov10s.har yolov10s<\/code><\/pre>\n<\/div>\n<p>\u30a8\u30e9\u30fc\u304c\u51fa\u307e\u3059\u3002<br \/>\n&#8220;FileNotFoundError: Couldn&#8217;t find dataset in \/home\/kozawa\/.hailomz\/data\/models_files\/coco\/2021-06-18\/coco_calib2017.tfrecord. Please refer to docs\/DATA.rst.&#8221;<br \/>\n\u3069\u3046\u3082coco dataset\u306e\u30d5\u30a1\u30a4\u30eb\u304c\u898b\u3064\u304b\u3089\u306a\u3044\u3088\u3046\u3067\u3059\u3002\u8abf\u3079\u3066\u898b\u308b\u3068&#8221;~\/.hailomoz\/data\/models_files\/coco\/&#8221;\u306b&#8221;2023-08-03&#8243;\u3068\u3044\u3046\u30d5\u30a9\u30eb\u30c0\u30fc\u306f\u3042\u308a\u307e\u3059\u304c\u3001\u63a2\u3057\u3066\u3044\u308b&#8221;2021-06-18&#8243;\u304c\u3042\u308a\u307e\u305b\u3093\u3002\u30b7\u30f3\u30dc\u30ea\u30c3\u30af\u30ea\u30f3\u30af\u30672021-06-18\u304c\u898b\u3048\u308b\u3088\u3046\u306b\u3057\u3066\u554f\u984c\u306f\u89e3\u6d88\u3057\u307e\u3057\u305f\u3002<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-plain\" data-lang=\"Plain Text\"><code>cd ~\/.hailomz\/data\/models_files\/coco\/\r\nln -s 2023-08-03 2021-06-18<\/code><\/pre>\n<\/div>\n<p>\u518d\u5ea6optimize\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u307e\u305f\u30a8\u30e9\u30fc\u3067\u3059\u3002<br \/>\nPost-process config file isn&#8217;t found in \/home\/kozawa\/hailo\/hailo.env\/lib\/python3.8\/site-packages\/hailo_model_zoo\/cfg\/alls\/generic\/..\/..\/postprocess_config\/yolov10s_nm(h(h(h(hailo.env)<br \/>\n\u306a\u3069\u3068\u8a00\u3063\u3066\u307e\u3059\u3002\u307e\u305f\u4f55\u304b\u30d5\u30a1\u30a4\u30eb\u304c\u8db3\u308a\u306a\u3044\u3088\u3046\u3067\u3059\u3002\u3053\u308c\u306f\u4e00\u756a\u6700\u521d\u306b\u63d0\u793a\u3057\u305f\u53c2\u8003\u8a18\u4e8b\u306e1\u756a\u306b\u7b54\u3048\u304c\u3042\u308a\u307e\u3057\u305f\u3002<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-plain\" data-lang=\"Plain Text\"><code>mkdir -p hailo\/lib\/python3.10\/site-packages\/hailo_model_zoo\/cfg\/postprocess_config\/\r\ncp hailo_model_zoo\/hailo_model_zoo\/cfg\/postprocess_config\/yolov10s_nms_config.json hailo\/lib\/python3.10\/site-packages\/hailo_model_zoo\/cfg\/postprocess_config\/yolov10s_nms_config.json<\/code><\/pre>\n<\/div>\n<p>\u53c2\u8003\u306b\u3057\u305f\u8a18\u4e8b\u3067\u306fyolov8n\u306e\u30d5\u30a1\u30a4\u30eb\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u304c\u3001\u79c1\u304c\u4f7f\u7528\u3057\u305f\u306e\u306fyolov10s\u3067\u3059\u3002<\/p>\n<p>\u6642\u6298\u3001\u305d\u306e\u5f8c\u3082\u4e0d\u53ef\u89e3\u306a\u30a8\u30e9\u30fc\u304c\u51fa\u308b\u304b\u3082\u77e5\u308c\u307e\u305b\u3093\u3002\u4ee5\u4e0b\u306e\u8a18\u4e8b\u3082\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<br \/>\n<a href=\"https:\/\/www.nkozawa.com\/blog\/archives\/8472\" rel=\"bookmark\" title=\"Permanent Link to hailomz optimize\u3067\u30a8\u30e9\u30fc\u304c\u51fa\u305f\">hailomz optimize\u3067\u30a8\u30e9\u30fc\u304c\u51fa\u305f<\/a><\/p>\n<p>\u3053\u308c\u3067\u518d\u5ea6optimize\u3092\u5b9f\u884c\u3057\u3066\u554f\u984c\u306a\u304f\u7d42\u4e86\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u6700\u5f8c\u306fcompile\u3067\u3059\u3002<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-plain\" data-lang=\"Plain Text\"><code>hailomz compile yolov10s --hw-arch hailo8l --har .\/yolov10s.har<\/code><\/pre>\n<\/div>\n<p>\u3057\u3070\u3089\u304f\u5f85\u3063\u3066\u3001\u68d2\u30b0\u30e9\u30d5\u304c\u753b\u9762\u306b\u8868\u793a\u3055\u308c\u59cb\u3081\u305f\u3089\u3001\u3042\u3068\u306f\u5b8c\u4e86\u3092\u5f85\u3064\u3060\u3051\u3067\u3059\u3002<br \/>\nyolov10s.hef\u304c\u51fa\u6765\u4e0a\u304c\u308c\u3070\u3001\u305d\u308c\u3092Raspberry PI AI Kit\u3067\u5b9f\u884c\u3055\u305b\u308b\u3053\u3068\u304c\u51fa\u6765\u307e\u3059\u3002\u3053\u308c\u306e\u8a73\u7d30\u306b\u3064\u3044\u3066\u306f\u3001\u6b21\u306e\u8a18\u4e8b\u306b\u66f8\u304f\u4e88\u5b9a\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Raspberry Pi5\u306bM.2 Hat\u3092\u4ecb\u3057\u3066\u63a5\u7d9a\u3059\u308bAi Kit\u306a\u308b\u3082\u306e\u304c\u3042\u308a\u307e\u3059\u300213TOPS(26TOPS\u3068\u3044\u3046\u30e2\u30c7\u30eb\u3082\u6709\u308a\u307e\u3059)\u3068\u3044\u3046\u305d\u3053\u305d\u3053\u306e\u6027\u80fd\u3067\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u306a\u753b\u50cf\u8a8d\u8b58\u30e9\u30f3\u30bf\u30a4\u30e0\u3092\u5b9f\u884c\u3055\u305b\u308b\u3053\u3068\u304c\u51fa\u6765\u308b\u3089 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[52,38,27,53],"tags":[],"class_list":["post-8108","post","type-post","status-publish","format-standard","hentry","category-ai","category-quadcopter","category-programing","category-image-recognition"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.nkozawa.com\/blog\/wp-json\/wp\/v2\/posts\/8108","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.nkozawa.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.nkozawa.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.nkozawa.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.nkozawa.com\/blog\/wp-json\/wp\/v2\/comments?post=8108"}],"version-history":[{"count":48,"href":"https:\/\/www.nkozawa.com\/blog\/wp-json\/wp\/v2\/posts\/8108\/revisions"}],"predecessor-version":[{"id":8481,"href":"https:\/\/www.nkozawa.com\/blog\/wp-json\/wp\/v2\/posts\/8108\/revisions\/8481"}],"wp:attachment":[{"href":"https:\/\/www.nkozawa.com\/blog\/wp-json\/wp\/v2\/media?parent=8108"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.nkozawa.com\/blog\/wp-json\/wp\/v2\/categories?post=8108"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.nkozawa.com\/blog\/wp-json\/wp\/v2\/tags?post=8108"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}