{"id":107040,"date":"2026-09-18T20:40:48","date_gmt":"2026-09-18T12:40:48","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/107040.html"},"modified":"2026-09-18T20:40:48","modified_gmt":"2026-09-18T12:40:48","slug":"%e5%b5%8c%e5%85%a5%e5%bc%8fyolo%e9%83%a8%e7%bd%b2%e6%80%a7%e8%83%bd%e7%bf%bb3%e5%80%8d%ef%bc%9a%e4%bb%8e%e6%a8%a1%e5%9e%8b%e5%89%aa%e6%9e%9d%e3%80%81%e9%87%8f%e5%8c%96%e8%92%b8%e9%a6%8f%e5%88%b0npu","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/107040.html","title":{"rendered":"\u5d4c\u5165\u5f0fYOLO\u90e8\u7f72\u6027\u80fd\u7ffb3\u500d\uff1a\u4ece\u6a21\u578b\u526a\u679d\u3001\u91cf\u5316\u84b8\u998f\u5230NPU\u7aef\u4fa7\u52a0\u901f\u5168\u6d41\u7a0b\u5b9e\u6218"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260918124047-6aad314f11c01.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u5728\u5d4c\u5165\u5f0f\u7aef\u90e8\u7f72YOLO\u7cfb\u5217\u6a21\u578b\u65f6&#xff0c;\u591a\u6570\u5f00\u53d1\u8005\u90fd\u4f1a\u9047\u5230\u540c\u4e00\u4e2a\u6838\u5fc3\u77db\u76fe&#xff1a;\u7b97\u6cd5\u4fa7\u7684\u7cbe\u5ea6\u9700\u6c42\u4e0e\u786c\u4ef6\u4fa7\u7684\u7b97\u529b\u3001\u5185\u5b58\u3001\u529f\u8017\u7ea6\u675f\u3002\u5f88\u591a\u4eba\u53ea\u505c\u7559\u5728\u201c\u8f6c\u6a21\u578b\u3001\u8dd1\u901a\u63a8\u7406\u201d\u7684\u9636\u6bb5&#xff0c;\u6700\u7ec8\u5f97\u5230\u7684\u63a8\u7406\u901f\u5ea6\u6162\u3001\u5185\u5b58\u5360\u7528\u9ad8\u3001\u7cbe\u5ea6\u635f\u5931\u5927&#xff0c;\u8ddd\u79bb\u91cf\u4ea7\u843d\u5730\u8fd8\u6709\u5f88\u5927\u5dee\u8ddd\u3002<\/p>\n<p>\u5b9e\u9645\u4e0a&#xff0c;\u5d4c\u5165\u5f0f\u7aef\u7684YOLO\u4f18\u5316\u662f\u4e00\u4e2a\u5168\u94fe\u8def\u5de5\u7a0b&#xff0c;\u4e0d\u662f\u5355\u4e00\u91cf\u5316\u5c31\u80fd\u89e3\u51b3\u7684\u95ee\u9898\u3002\u4ece\u6a21\u578b\u4fa7\u7684\u526a\u679d\u3001\u84b8\u998f&#xff0c;\u5230\u90e8\u7f72\u4fa7\u7684\u91cf\u5316\u3001\u56fe\u7f16\u8bd1&#xff0c;\u518d\u5230NPU\u7aef\u7684\u7b97\u5b50\u9002\u914d\u4e0e\u5185\u5b58\u4f18\u5316&#xff0c;\u6bcf\u4e2a\u73af\u8282\u90fd\u4f1a\u76f4\u63a5\u5f71\u54cd\u6700\u7ec8\u7684\u6027\u80fd\u4e0e\u7cbe\u5ea6\u3002\u672c\u6587\u5c06\u4ece\u5b9e\u6218\u89d2\u5ea6\u5b8c\u6574\u68b3\u7406\u6574\u6761\u4f18\u5316\u94fe\u8def&#xff0c;\u7ed3\u5408\u5b9e\u9645\u9879\u76ee\u8e29\u5751\u7ecf\u9a8c&#xff0c;\u7ed9\u51fa\u53ef\u843d\u5730\u7684\u4f18\u5316\u65b9\u6848\u4e0e\u8c03\u4f18\u601d\u8def\u3002<\/p>\n<h3>\u6574\u4f53\u4f18\u5316\u94fe\u8def\u6846\u67b6<\/h3>\n<p>\u6211\u4eec\u5c06\u6574\u4e2a\u4f18\u5316\u8fc7\u7a0b\u62c6\u89e3\u4e3a6\u4e2a\u6838\u5fc3\u9636\u6bb5&#xff0c;\u5f62\u6210\u95ed\u73af\u8fed\u4ee3\u7684\u4f18\u5316\u6d41\u7a0b&#xff0c;\u6bcf\u4e2a\u9636\u6bb5\u90fd\u6709\u660e\u786e\u7684\u4f18\u5316\u76ee\u6807\u4e0e\u9a8c\u8bc1\u6807\u51c6&#xff1a;<\/p>\n<p>#mermaid-svg-HV9aLfft4XClYaO2{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#mermaid-svg-HV9aLfft4XClYaO2 .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#mermaid-svg-HV9aLfft4XClYaO2 .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#mermaid-svg-HV9aLfft4XClYaO2 .error-icon{fill:#552222;}#mermaid-svg-HV9aLfft4XClYaO2 .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-HV9aLfft4XClYaO2 .edge-thickness-normal{stroke-width:1px;}#mermaid-svg-HV9aLfft4XClYaO2 .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-HV9aLfft4XClYaO2 .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-HV9aLfft4XClYaO2 .edge-thickness-invisible{stroke-width:0;fill:none;}#mermaid-svg-HV9aLfft4XClYaO2 .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-HV9aLfft4XClYaO2 .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-HV9aLfft4XClYaO2 .marker{fill:#333333;stroke:#333333;}#mermaid-svg-HV9aLfft4XClYaO2 .marker.cross{stroke:#333333;}#mermaid-svg-HV9aLfft4XClYaO2 svg{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-HV9aLfft4XClYaO2 p{margin:0;}#mermaid-svg-HV9aLfft4XClYaO2 .label{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;color:#333;}#mermaid-svg-HV9aLfft4XClYaO2 .cluster-label text{fill:#333;}#mermaid-svg-HV9aLfft4XClYaO2 .cluster-label span{color:#333;}#mermaid-svg-HV9aLfft4XClYaO2 .cluster-label span p{background-color:transparent;}#mermaid-svg-HV9aLfft4XClYaO2 .label text,#mermaid-svg-HV9aLfft4XClYaO2 span{fill:#333;color:#333;}#mermaid-svg-HV9aLfft4XClYaO2 .node rect,#mermaid-svg-HV9aLfft4XClYaO2 .node circle,#mermaid-svg-HV9aLfft4XClYaO2 .node ellipse,#mermaid-svg-HV9aLfft4XClYaO2 .node polygon,#mermaid-svg-HV9aLfft4XClYaO2 .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#mermaid-svg-HV9aLfft4XClYaO2 .rough-node .label text,#mermaid-svg-HV9aLfft4XClYaO2 .node .label text,#mermaid-svg-HV9aLfft4XClYaO2 .image-shape .label,#mermaid-svg-HV9aLfft4XClYaO2 .icon-shape .label{text-anchor:middle;}#mermaid-svg-HV9aLfft4XClYaO2 .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#mermaid-svg-HV9aLfft4XClYaO2 .rough-node .label,#mermaid-svg-HV9aLfft4XClYaO2 .node .label,#mermaid-svg-HV9aLfft4XClYaO2 .image-shape .label,#mermaid-svg-HV9aLfft4XClYaO2 .icon-shape .label{text-align:center;}#mermaid-svg-HV9aLfft4XClYaO2 .node.clickable{cursor:pointer;}#mermaid-svg-HV9aLfft4XClYaO2 .root .anchor path{fill:#333333!important;stroke-width:0;stroke:#333333;}#mermaid-svg-HV9aLfft4XClYaO2 .arrowheadPath{fill:#333333;}#mermaid-svg-HV9aLfft4XClYaO2 .edgePath .path{stroke:#333333;stroke-width:2.0px;}#mermaid-svg-HV9aLfft4XClYaO2 .flowchart-link{stroke:#333333;fill:none;}#mermaid-svg-HV9aLfft4XClYaO2 .edgeLabel{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-HV9aLfft4XClYaO2 .edgeLabel p{background-color:rgba(232,232,232, 0.8);}#mermaid-svg-HV9aLfft4XClYaO2 .edgeLabel rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-HV9aLfft4XClYaO2 .labelBkg{background-color:rgba(232, 232, 232, 0.5);}#mermaid-svg-HV9aLfft4XClYaO2 .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#mermaid-svg-HV9aLfft4XClYaO2 .cluster text{fill:#333;}#mermaid-svg-HV9aLfft4XClYaO2 .cluster span{color:#333;}#mermaid-svg-HV9aLfft4XClYaO2 div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#mermaid-svg-HV9aLfft4XClYaO2 .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#333;}#mermaid-svg-HV9aLfft4XClYaO2 rect.text{fill:none;stroke-width:0;}#mermaid-svg-HV9aLfft4XClYaO2 .icon-shape,#mermaid-svg-HV9aLfft4XClYaO2 .image-shape{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-HV9aLfft4XClYaO2 .icon-shape p,#mermaid-svg-HV9aLfft4XClYaO2 .image-shape p{background-color:rgba(232,232,232, 0.8);padding:2px;}#mermaid-svg-HV9aLfft4XClYaO2 .icon-shape .label rect,#mermaid-svg-HV9aLfft4XClYaO2 .image-shape .label rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-HV9aLfft4XClYaO2 .label-icon{display:inline-block;height:1em;overflow:visible;vertical-align:-0.125em;}#mermaid-svg-HV9aLfft4XClYaO2 .node .label-icon path{fill:currentColor;stroke:revert;stroke-width:revert;}#mermaid-svg-HV9aLfft4XClYaO2 :root{&#8211;mermaid-font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;}<span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/p>\n<p>\u8fed\u4ee3\u8c03\u4f18<\/p>\n<p><\/span><span class=\"edgeLabel\"><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u539f\u59cbYOLO\u6a21\u578b<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u57fa\u7ebf\u6d4b\u8bd5\u4e0e\u6307\u6807\u786e\u8ba4<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u7ed3\u6784\u5316\u526a\u679d \u7a00\u758f\u8bad\u7ec3<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u77e5\u8bc6\u84b8\u998f \u7cbe\u5ea6\u8865\u507f<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>INT8\u91cf\u5316\u6821\u51c6 PTQ\/QAT<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>NPU\u56fe\u7f16\u8bd1 \u7b97\u5b50\u9002\u914d<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u7aef\u4fa7\u63a8\u7406\u90e8\u7f72<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u6027\u80fdProfiling \u74f6\u9888\u5b9a\u4f4d<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u91cf\u4ea7\u843d\u5730<\/p>\n<p><\/span><\/p>\n<h3>\u4e00\u3001\u4f18\u5316\u524d\u7684\u57fa\u7ebf\u5efa\u7acb\u4e0e\u6838\u5fc3\u539f\u5219<\/h3>\n<p>\u5728\u5f00\u59cb\u4efb\u4f55\u4f18\u5316\u4e4b\u524d&#xff0c;\u5fc5\u987b\u5148\u5efa\u7acb\u6e05\u6670\u7684\u57fa\u7ebf&#xff0c;\u5426\u5219\u6240\u6709\u4f18\u5316\u90fd\u6ca1\u6709\u8861\u91cf\u6807\u51c6\u3002\u5f88\u591a\u4eba\u4e0a\u6765\u5c31\u76f4\u63a5\u526a\u679d\u3001\u91cf\u5316&#xff0c;\u6700\u540e\u8fde\u7cbe\u5ea6\u635f\u5931\u4e86\u591a\u5c11\u3001\u6027\u80fd\u63d0\u5347\u4e86\u591a\u5c11\u90fd\u8bf4\u4e0d\u6e05\u695a\u3002<\/p>\n<li>\u9501\u5b9a\u76ee\u6807\u786c\u4ef6\u5e73\u53f0&#xff1a;\u4e0d\u540cNPU\u5e73\u53f0&#xff08;RK3588\u3001RV1126\u3001\u5730\u5e73\u7ebfX3\u7b49&#xff09;\u7684\u7b97\u529b\u3001\u7b97\u5b50\u652f\u6301\u3001\u7f16\u8bd1\u5de5\u5177\u5dee\u5f02\u6781\u5927&#xff0c;\u6240\u6709\u4f18\u5316\u90fd\u5fc5\u987b\u56f4\u7ed5\u76ee\u6807\u5e73\u53f0\u5c55\u5f00&#xff0c;\u8de8\u5e73\u53f0\u7684\u4f18\u5316\u7ecf\u9a8c\u4e0d\u80fd\u76f4\u63a5\u5957\u7528\u3002<\/li>\n<li>\u660e\u786e\u4e1a\u52a1\u6307\u6807\u4f18\u5148\u7ea7&#xff1a;\u7cbe\u5ea6&#xff08;mAP\u3001\u53ec\u56de\u7387&#xff09;\u3001\u63a8\u7406\u8017\u65f6\u3001\u5185\u5b58\u5360\u7528\u3001\u529f\u8017&#xff0c;\u8fd9\u56db\u4e2a\u6307\u6807\u9700\u8981\u63d0\u524d\u6392\u597d\u4f18\u5148\u7ea7\u3002\u4e0d\u5b58\u5728\u201c\u7cbe\u5ea6\u6700\u9ad8\u3001\u901f\u5ea6\u6700\u5feb\u3001\u5185\u5b58\u6700\u5c0f\u201d\u7684\u5b8c\u7f8e\u65b9\u6848&#xff0c;\u6240\u6709\u4f18\u5316\u90fd\u662f\u5728\u591a\u4e2a\u6307\u6807\u4e4b\u95f4\u505a\u6743\u8861\u3002<\/li>\n<li>\u5efa\u7acb\u5b8c\u6574\u57fa\u7ebf&#xff1a;\u5728\u76ee\u6807\u5e73\u53f0\u4e0a\u8dd1\u901a\u539f\u59cb\u6a21\u578b\u7684FP16\u63a8\u7406&#xff0c;\u8bb0\u5f55\u5355\u5e27\u63a8\u7406\u8017\u65f6\u3001\u5cf0\u503c\u5185\u5b58\u5360\u7528\u3001\u4e1a\u52a1\u6570\u636e\u96c6\u4e0a\u7684\u7cbe\u5ea6\u6570\u636e&#xff0c;\u4f5c\u4e3a\u540e\u7eed\u4f18\u5316\u7684\u57fa\u51c6\u3002<\/li>\n<li>\u6838\u5fc3\u4f18\u5316\u539f\u5219&#xff1a;\u4f18\u5148\u4fdd\u8bc1\u7cbe\u5ea6\u5e95\u7ebf&#xff0c;\u518d\u8ffd\u6c42\u6027\u80fd\u63d0\u5347&#xff1b;\u4f18\u5148\u505a\u6a21\u578b\u4fa7\u7684\u7ed3\u6784\u4f18\u5316&#xff0c;\u518d\u505a\u91cf\u5316\u4e0e\u786c\u4ef6\u52a0\u901f&#xff1b;\u6240\u6709\u4f18\u5316\u5fc5\u987b\u5728\u4e1a\u52a1\u573a\u666f\u4e0b\u9a8c\u8bc1&#xff0c;\u4e0d\u80fd\u53ea\u770b\u901a\u7528\u6570\u636e\u96c6\u3002<\/li>\n<h3>\u4e8c\u3001\u6a21\u578b\u4fa7\u8f7b\u91cf\u5316&#xff1a;\u7ed3\u6784\u5316\u526a\u679d\u7684\u5b9e\u6218\u843d\u5730<\/h3>\n<p>\u526a\u679d\u662f\u5d4c\u5165\u5f0f\u7aefYOLO\u4f18\u5316\u7684\u7b2c\u4e00\u6b65&#xff0c;\u4e5f\u662f\u6027\u4ef7\u6bd4\u6700\u9ad8\u7684\u4f18\u5316\u624b\u6bb5\u3002\u5b83\u901a\u8fc7\u79fb\u9664\u6a21\u578b\u4e2d\u5197\u4f59\u7684\u901a\u9053\u4e0e\u5c42&#xff0c;\u5728\u5c3d\u91cf\u5c11\u635f\u5931\u7cbe\u5ea6\u7684\u524d\u63d0\u4e0b&#xff0c;\u76f4\u63a5\u964d\u4f4e\u6a21\u578b\u7684\u8ba1\u7b97\u91cf\u4e0e\u53c2\u6570\u91cf\u3002<\/p>\n<h4>\u526a\u679d\u65b9\u6848\u9009\u578b<\/h4>\n<p>YOLO\u6a21\u578b\u4e2d\u5b58\u5728\u5927\u91cf\u5197\u4f59\u7684\u5377\u79ef\u901a\u9053&#xff0c;\u5c24\u5176\u662f\u5728\u9aa8\u5e72\u7f51\u7edc\u4e0e\u9888\u90e8\u7f51\u7edc\u4e2d&#xff0c;\u5f88\u591a\u901a\u9053\u7684\u8f93\u51fa\u6fc0\u6d3b\u503c\u63a5\u8fd10&#xff0c;\u5bf9\u6700\u7ec8\u68c0\u6d4b\u7ed3\u679c\u8d21\u732e\u6781\u5c0f\u3002<\/p>\n<p>\u76ee\u524d\u4e3b\u6d41\u7684\u526a\u679d\u65b9\u6848\u5206\u4e3a\u4e24\u7c7b&#xff1a;<\/p>\n<ul>\n<li>\u975e\u7ed3\u6784\u5316\u526a\u679d&#xff1a;\u5bf9\u5355\u4e2a\u6743\u91cd\u8fdb\u884c\u526a\u679d&#xff0c;\u7406\u8bba\u538b\u7f29\u6bd4\u9ad8&#xff0c;\u4f46\u9700\u8981\u7279\u6b8a\u7684\u63a8\u7406\u5f15\u64ce\u652f\u6301&#xff0c;\u5d4c\u5165\u5f0f\u7aef\u843d\u5730\u96be\u5ea6\u5927&#xff0c;\u4e0d\u63a8\u8350\u3002<\/li>\n<li>\u7ed3\u6784\u5316\u526a\u679d&#xff1a;\u4ee5\u901a\u9053\u3001\u5c42\u4e3a\u5355\u4f4d\u8fdb\u884c\u526a\u679d&#xff0c;\u517c\u5bb9\u6027\u597d&#xff0c;\u76f4\u63a5\u9002\u914d\u6240\u6709\u63a8\u7406\u5f15\u64ce\u4e0eNPU\u5e73\u53f0&#xff0c;\u662f\u5d4c\u5165\u5f0f\u7aef\u7684\u9996\u9009\u65b9\u6848\u3002<\/li>\n<\/ul>\n<h4>\u7a00\u758f\u8bad\u7ec3\u4e0e\u526a\u679d\u6d41\u7a0b<\/h4>\n<p>\u7ed3\u6784\u5316\u526a\u679d\u7684\u6838\u5fc3\u662f\u5148\u901a\u8fc7\u7a00\u758f\u8bad\u7ec3\u8ba9\u6a21\u578b\u7684\u901a\u9053\u6743\u91cd\u53d8\u5f97\u7a00\u758f&#xff0c;\u518d\u6839\u636e\u6743\u91cd\u5927\u5c0f\u7b5b\u9009\u5e76\u79fb\u9664\u5197\u4f59\u901a\u9053\u3002\u5b8c\u6574\u6d41\u7a0b\u5206\u4e3a\u4e09\u6b65&#xff1a;<\/p>\n<li>\u7a00\u758f\u8bad\u7ec3&#xff1a;\u5728\u539f\u59cb\u6a21\u578b\u7684\u8bad\u7ec3\u8fc7\u7a0b\u4e2d&#xff0c;\u5bf9BN\u5c42\u7684\u03b3\u7cfb\u6570\u52a0\u5165L1\u6b63\u5219&#xff0c;\u8ba9\u5c3d\u53ef\u80fd\u591a\u7684\u03b3\u7cfb\u6570\u8d8b\u8fd1\u4e8e0\u3002\u03b3\u7cfb\u6570\u8d8a\u5c0f&#xff0c;\u5bf9\u5e94\u7684\u901a\u9053\u8f93\u51fa\u8d8a\u63a5\u8fd10&#xff0c;\u5197\u4f59\u5ea6\u8d8a\u9ad8\u3002<\/li>\n<li>\u901a\u9053\u526a\u679d&#xff1a;\u6839\u636e\u03b3\u7cfb\u6570\u7684\u5927\u5c0f\u8bbe\u5b9a\u9608\u503c&#xff0c;\u79fb\u9664\u4f4e\u4e8e\u9608\u503c\u7684\u901a\u9053&#xff0c;\u540c\u65f6\u8c03\u6574\u5bf9\u5e94\u5c42\u7684\u8f93\u5165\u8f93\u51fa\u7ef4\u5ea6&#xff0c;\u4fdd\u8bc1\u6a21\u578b\u7ed3\u6784\u5b8c\u6574\u3002<\/li>\n<li>\u5fae\u8c03\u6062\u590d&#xff1a;\u526a\u679d\u540e\u7684\u6a21\u578b\u7cbe\u5ea6\u4f1a\u6709\u4e00\u5b9a\u4e0b\u964d&#xff0c;\u9700\u8981\u5728\u4e1a\u52a1\u6570\u636e\u96c6\u4e0a\u8fdb\u884c\u5c11\u91cf\u5fae\u8c03&#xff0c;\u6062\u590d\u7cbe\u5ea6\u3002<\/li>\n<p>\u6838\u5fc3\u7a00\u758f\u8bad\u7ec3\u4ee3\u7801\u7247\u6bb5&#xff1a;<\/p>\n<p><span class=\"token comment\"># BN\u5c42L1\u7a00\u758f\u5316\u6b63\u5219&#xff0c;\u8bad\u7ec3\u65f6\u6bcf\u4e2astep\u8c03\u7528<\/span><br \/>\n<span class=\"token keyword\">def<\/span> <span class=\"token function\">update_bn_sparsity<\/span><span class=\"token punctuation\">(<\/span>model<span class=\"token punctuation\">,<\/span> sparsity<span class=\"token operator\">&#061;<\/span><span class=\"token number\">0.001<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">:<\/span><br \/>\n    <span class=\"token keyword\">for<\/span> m <span class=\"token keyword\">in<\/span> model<span class=\"token punctuation\">.<\/span>modules<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">:<\/span><br \/>\n        <span class=\"token keyword\">if<\/span> <span class=\"token builtin\">isinstance<\/span><span class=\"token punctuation\">(<\/span>m<span class=\"token punctuation\">,<\/span> nn<span class=\"token punctuation\">.<\/span>BatchNorm2d<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">:<\/span><br \/>\n            m<span class=\"token punctuation\">.<\/span>weight<span class=\"token punctuation\">.<\/span>grad<span class=\"token punctuation\">.<\/span>data<span class=\"token punctuation\">.<\/span>add_<span class=\"token punctuation\">(<\/span>sparsity <span class=\"token operator\">*<\/span> torch<span class=\"token punctuation\">.<\/span>sign<span class=\"token punctuation\">(<\/span>m<span class=\"token punctuation\">.<\/span>weight<span class=\"token punctuation\">.<\/span>data<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span><\/p>\n<h4>\u526a\u679d\u7684\u5173\u952e\u7ec6\u8282\u4e0e\u907f\u5751<\/h4>\n<ul>\n<li>\u526a\u679d\u6bd4\u4f8b\u4e0d\u8981\u4e00\u6b21\u6027\u8fc7\u9ad8&#xff1a;\u9996\u6b21\u526a\u679d\u5efa\u8bae\u63a7\u5236\u572820%-30%&#xff0c;\u6839\u636e\u7cbe\u5ea6\u60c5\u51b5\u9010\u6b65\u63d0\u5347\u3002\u5bf9\u4e8eYOLOv8n\u8fd9\u7c7b\u672c\u8eab\u5df2\u7ecf\u5f88\u8f7b\u91cf\u7684\u6a21\u578b&#xff0c;\u526a\u679d\u6bd4\u4f8b\u8d85\u8fc740%\u540e\u7cbe\u5ea6\u4f1a\u5feb\u901f\u4e0b\u964d\u3002<\/li>\n<li>\u4fdd\u62a4\u5173\u952e\u5c42&#xff1a;\u68c0\u6d4b\u5934\u3001shortcut\u8fde\u63a5\u3001\u4e0a\u91c7\u6837\u5c42\u7684\u901a\u9053\u4e0d\u8981\u526a&#xff0c;\u5426\u5219\u4f1a\u5bfc\u81f4\u6a21\u578b\u7ed3\u6784\u635f\u574f\u6216\u7cbe\u5ea6\u66b4\u8dcc\u3002<\/li>\n<li>\u5206\u5c42\u8bbe\u7f6e\u526a\u679d\u9608\u503c&#xff1a;\u9aa8\u5e72\u7f51\u7edc\u7684\u5197\u4f59\u5ea6\u66f4\u9ad8&#xff0c;\u53ef\u4ee5\u9002\u5f53\u63d0\u9ad8\u526a\u679d\u6bd4\u4f8b&#xff1b;\u9888\u90e8\u7f51\u7edc\u548c\u68c0\u6d4b\u5934\u7684\u526a\u679d\u6bd4\u4f8b\u8981\u66f4\u4f4e\u3002<\/li>\n<li>\u4e0d\u8981\u76f4\u63a5\u526a\u679d\u9884\u8bad\u7ec3\u6a21\u578b&#xff1a;\u5fc5\u987b\u5728\u4e1a\u52a1\u6570\u636e\u96c6\u4e0a\u5148\u5fae\u8c03&#xff0c;\u518d\u8fdb\u884c\u7a00\u758f\u8bad\u7ec3\u548c\u526a\u679d&#xff0c;\u5426\u5219\u7cbe\u5ea6\u635f\u5931\u4f1a\u975e\u5e38\u5927\u3002<\/li>\n<\/ul>\n<h3>\u4e09\u3001\u7cbe\u5ea6\u8865\u507f&#xff1a;\u77e5\u8bc6\u84b8\u998f\u7684\u5d4c\u5165\u5f0f\u9002\u914d\u65b9\u6848<\/h3>\n<p>\u526a\u679d\u540e\u7684\u6a21\u578b\u53c2\u6570\u91cf\u51cf\u5c11&#xff0c;\u8868\u8fbe\u80fd\u529b\u4f1a\u4e0b\u964d&#xff0c;\u5c24\u5176\u662f\u5c0f\u76ee\u6807\u68c0\u6d4b\u548c\u7ec6\u5206\u7c7b\u522b&#xff0c;\u7cbe\u5ea6\u635f\u5931\u4f1a\u66f4\u660e\u663e\u3002\u77e5\u8bc6\u84b8\u998f\u662f\u76ee\u524d\u6700\u6709\u6548\u7684\u7cbe\u5ea6\u8865\u507f\u624b\u6bb5&#xff0c;\u901a\u8fc7\u5927\u6a21\u578b&#xff08;\u6559\u5e08&#xff09;\u5f15\u5bfc\u5c0f\u6a21\u578b&#xff08;\u5b66\u751f&#xff09;\u5b66\u4e60&#xff0c;\u8ba9\u5c0f\u6a21\u578b\u5728\u53c2\u6570\u91cf\u4e0d\u53d8\u7684\u524d\u63d0\u4e0b&#xff0c;\u83b7\u5f97\u66f4\u63a5\u8fd1\u5927\u6a21\u578b\u7684\u7cbe\u5ea6\u3002<\/p>\n<h4>\u84b8\u998f\u7b56\u7565\u7684\u9009\u62e9<\/h4>\n<p>\u9488\u5bf9YOLO\u68c0\u6d4b\u6a21\u578b&#xff0c;\u5e38\u7528\u7684\u84b8\u998f\u65b9\u6848\u6709\u4e24\u79cd&#xff1a;<\/p>\n<ul>\n<li>Logits\u84b8\u998f&#xff1a;\u8ba9\u5b66\u751f\u6a21\u578b\u7684\u8f93\u51fa\u5206\u5e03\u62df\u5408\u6559\u5e08\u6a21\u578b\u7684\u8f93\u51fa\u5206\u5e03&#xff0c;\u5b9e\u73b0\u7b80\u5355&#xff0c;\u9002\u5408\u68c0\u6d4b\u5934\u7684\u84b8\u998f\u3002<\/li>\n<li>\u7279\u5f81\u84b8\u998f&#xff1a;\u8ba9\u5b66\u751f\u6a21\u578b\u7684\u4e2d\u95f4\u7279\u5f81\u56fe\u62df\u5408\u6559\u5e08\u6a21\u578b\u7684\u4e2d\u95f4\u7279\u5f81\u56fe&#xff0c;\u5bf9\u9aa8\u5e72\u7f51\u7edc\u548c\u9888\u90e8\u7f51\u7edc\u7684\u6548\u679c\u66f4\u597d&#xff0c;\u662f\u66f4\u63a8\u8350\u7684\u65b9\u6848\u3002<\/li>\n<\/ul>\n<p>\u5d4c\u5165\u5f0f\u7aef\u7684\u84b8\u998f\u4e0d\u9700\u8981\u8ffd\u6c42\u6781\u81f4\u590d\u6742\u7684\u84b8\u998f\u7b97\u6cd5&#xff0c;\u57fa\u7840\u7684\u7279\u5f81\u84b8\u998f&#043;Logits\u84b8\u998f\u7ec4\u5408\u5c31\u8db3\u591f\u3002\u8fc7\u4e8e\u590d\u6742\u7684\u84b8\u998f\u7b97\u6cd5\u4e0d\u4ec5\u8bad\u7ec3\u6210\u672c\u9ad8&#xff0c;\u5728\u5c0f\u6a21\u578b\u4e0a\u7684\u6536\u76ca\u4e5f\u5f88\u6709\u9650\u3002<\/p>\n<h4>\u84b8\u998f\u7684\u5b9e\u64cd\u8981\u70b9<\/h4>\n<ul>\n<li>\u6559\u5e08\u6a21\u578b\u7684\u9009\u62e9&#xff1a;\u4e0d\u8981\u9009\u62e9\u53c2\u6570\u91cf\u8fc7\u5927\u7684\u6a21\u578b&#xff0c;\u6bd4\u5982\u7528YOLOv8l\u4f5c\u4e3a\u6559\u5e08\u84b8\u998fYOLOv8n&#xff0c;\u6536\u76ca\u5e76\u4e0d\u660e\u663e\u3002\u901a\u5e38\u9009\u62e9\u6bd4\u5b66\u751f\u6a21\u578b\u5927\u4e00\u4e2a\u91cf\u7ea7\u7684\u6a21\u578b\u5373\u53ef&#xff0c;\u6bd4\u5982YOLOv8s\u4f5c\u4e3a\u6559\u5e08&#xff0c;YOLOv8n\u4f5c\u4e3a\u5b66\u751f\u3002<\/li>\n<li>\u6e29\u5ea6\u7cfb\u6570&#xff1a;Logits\u84b8\u998f\u7684\u6e29\u5ea6\u7cfb\u6570\u5efa\u8bae\u8bbe\u7f6e\u57283-5\u4e4b\u95f4&#xff0c;\u6e29\u5ea6\u8fc7\u9ad8\u4f1a\u5bfc\u81f4\u5206\u5e03\u8fc7\u4e8e\u5e73\u6ed1&#xff0c;\u6e29\u5ea6\u8fc7\u4f4e\u5219\u8d77\u4e0d\u5230\u84b8\u998f\u6548\u679c\u3002<\/li>\n<li>\u635f\u5931\u6743\u91cd&#xff1a;\u7279\u5f81\u84b8\u998f\u7684\u6743\u91cd\u4e0d\u8981\u8bbe\u7f6e\u8fc7\u9ad8&#xff0c;\u4e00\u822c\u63a7\u5236\u5728\u603b\u635f\u5931\u768410%-20%&#xff0c;\u5426\u5219\u4f1a\u5e72\u6270\u5b66\u751f\u6a21\u578b\u7684\u6b63\u5e38\u5b66\u4e60\u3002<\/li>\n<li>\u84b8\u998f\u65f6\u673a&#xff1a;\u5efa\u8bae\u5728\u526a\u679d\u4e4b\u540e\u3001\u91cf\u5316\u4e4b\u524d\u8fdb\u884c\u84b8\u998f&#xff0c;\u5148\u628a\u526a\u679d\u635f\u5931\u7684\u7cbe\u5ea6\u8865\u56de\u6765&#xff0c;\u518d\u8fdb\u884c\u91cf\u5316&#xff0c;\u907f\u514d\u7cbe\u5ea6\u53e0\u52a0\u635f\u5931\u3002<\/li>\n<\/ul>\n<h3>\u56db\u3001\u90e8\u7f72\u4fa7\u91cf\u5316&#xff1a;INT8\u91cf\u5316\u4e0e\u6821\u51c6\u7684\u5173\u952e\u7ec6\u8282<\/h3>\n<p>\u91cf\u5316\u662f\u5c06\u6a21\u578b\u7684\u6d6e\u70b9\u6743\u91cd\u548c\u6fc0\u6d3b\u503c\u8f6c\u6362\u4e3a\u5b9a\u70b9\u6574\u6570&#xff08;\u901a\u5e38\u662fINT8&#xff09;&#xff0c;\u53ef\u4ee5\u76f4\u63a5\u964d\u4f4e\u5185\u5b58\u5360\u7528\u3001\u63d0\u5347\u63a8\u7406\u901f\u5ea6&#xff0c;\u540c\u65f6\u4e5f\u662fNPU\u786c\u4ef6\u52a0\u901f\u7684\u57fa\u7840\u3002\u5d4c\u5165\u5f0f\u7aef90%\u4ee5\u4e0a\u7684\u6027\u80fd\u63d0\u5347&#xff0c;\u90fd\u6765\u81ea\u4e8eINT8\u91cf\u5316\u3002<\/p>\n<h4>\u91cf\u5316\u65b9\u6848\u7684\u9009\u578b<\/h4>\n<p>\u76ee\u524d\u4e3b\u6d41\u7684\u91cf\u5316\u65b9\u6848\u5206\u4e3a\u4e24\u7c7b&#xff1a;<\/p>\n<ul>\n<li>PTQ&#xff08;\u8bad\u7ec3\u540e\u91cf\u5316&#xff09;&#xff1a;\u4e0d\u9700\u8981\u91cd\u65b0\u8bad\u7ec3&#xff0c;\u53ea\u9700\u8981\u5c11\u91cf\u6821\u51c6\u6570\u636e&#xff0c;\u901a\u8fc7\u7edf\u8ba1\u6fc0\u6d3b\u503c\u7684\u5206\u5e03\u5b8c\u6210\u91cf\u5316\u3002\u4f18\u70b9\u662f\u901f\u5ea6\u5feb\u3001\u6210\u672c\u4f4e&#xff0c;\u662f\u5d4c\u5165\u5f0f\u7aef\u7684\u9996\u9009\u65b9\u6848\u3002<\/li>\n<li>QAT&#xff08;\u91cf\u5316\u611f\u77e5\u8bad\u7ec3&#xff09;&#xff1a;\u5728\u8bad\u7ec3\u8fc7\u7a0b\u4e2d\u6a21\u62df\u91cf\u5316\u8bef\u5dee&#xff0c;\u7cbe\u5ea6\u66f4\u9ad8&#xff0c;\u4f46\u9700\u8981\u5b8c\u6574\u7684\u8bad\u7ec3\u6d41\u7a0b&#xff0c;\u5f00\u53d1\u6210\u672c\u9ad8\u3002\u53ea\u6709\u5f53PTQ\u7684\u7cbe\u5ea6\u635f\u5931\u65e0\u6cd5\u63a5\u53d7\u65f6&#xff0c;\u624d\u8003\u8651\u4f7f\u7528QAT\u3002<\/li>\n<\/ul>\n<p>\u5bf9\u4e8e\u591a\u6570\u5d4c\u5165\u5f0fYOLO\u90e8\u7f72\u573a\u666f&#xff0c;PTQ\u5df2\u7ecf\u8db3\u591f\u6ee1\u8db3\u9700\u6c42&#xff0c;\u53ea\u6709\u5728\u5c0f\u76ee\u6807\u3001\u4f4e\u5149\u7167\u7b49\u590d\u6742\u573a\u666f\u4e0b&#xff0c;\u624d\u9700\u8981\u8003\u8651QAT\u3002<\/p>\n<h4>\u91cf\u5316\u6821\u51c6\u7684\u6838\u5fc3\u8981\u70b9<\/h4>\n<p>\u91cf\u5316\u7684\u7cbe\u5ea6\u635f\u5931\u4e3b\u8981\u6765\u81ea\u6fc0\u6d3b\u503c\u7684\u91cf\u5316\u8bef\u5dee&#xff0c;\u800c\u6821\u51c6\u96c6\u7684\u8d28\u91cf\u76f4\u63a5\u51b3\u5b9a\u4e86\u91cf\u5316\u7cbe\u5ea6\u3002<\/p>\n<ul>\n<li>\u6821\u51c6\u96c6\u7684\u9009\u62e9&#xff1a;\u5fc5\u987b\u4f7f\u7528\u4e1a\u52a1\u573a\u666f\u7684\u771f\u5b9e\u6570\u636e&#xff0c;\u4e0d\u80fd\u7528COCO\u7b49\u901a\u7528\u6570\u636e\u96c6\u3002\u6821\u51c6\u96c6\u7684\u6570\u91cf\u5efa\u8bae\u5728100-500\u5f20&#xff0c;\u8986\u76d6\u4e0d\u540c\u5149\u7167\u3001\u89d2\u5ea6\u3001\u76ee\u6807\u5bc6\u5ea6\u7684\u573a\u666f\u3002<\/li>\n<li>\u6821\u51c6\u65b9\u6cd5&#xff1a;\u4f18\u5148\u9009\u62e9KL\u6563\u5ea6\u6821\u51c6&#xff0c;\u5176\u6b21\u662f\u5747\u65b9\u8bef\u5dee\u6821\u51c6\u3002\u5bf9\u4e8e\u68c0\u6d4b\u6a21\u578b&#xff0c;\u4e0d\u8981\u4f7f\u7528\u7b80\u5355\u7684\u6700\u5927\u503c\u6821\u51c6&#xff0c;\u4f1a\u5bfc\u81f4\u4e25\u91cd\u7684\u7cbe\u5ea6\u635f\u5931\u3002<\/li>\n<li>\u91cf\u5316\u7c92\u5ea6&#xff1a;\u4f18\u5148\u4f7f\u7528per-channel\u91cf\u5316&#xff08;\u6309\u901a\u9053\u91cf\u5316&#xff09;&#xff0c;\u76f8\u6bd4per-tensor&#xff08;\u6309\u5c42\u91cf\u5316&#xff09;&#xff0c;\u7cbe\u5ea6\u635f\u5931\u66f4\u5c0f&#xff0c;\u5927\u90e8\u5206NPU\u5e73\u53f0\u90fd\u5df2\u7ecf\u652f\u6301\u3002<\/li>\n<li>\u91cf\u5316\u8282\u70b9\u6298\u53e0&#xff1a;\u5c06BN\u5c42\u7684\u53c2\u6570\u6298\u53e0\u5230\u5377\u79ef\u5c42\u4e2d&#xff0c;\u51cf\u5c11\u91cf\u5316\u8282\u70b9&#xff0c;\u540c\u65f6\u63d0\u5347\u63a8\u7406\u901f\u5ea6\u3002<\/li>\n<\/ul>\n<h4>\u91cf\u5316\u7684\u907f\u5751\u7ecf\u9a8c<\/h4>\n<ul>\n<li>\u4e0d\u8981\u76f4\u63a5\u91cf\u5316\u526a\u679d\u540e\u7684\u6a21\u578b&#xff1a;\u5fc5\u987b\u5148\u5fae\u8c03\u6062\u590d\u7cbe\u5ea6&#xff0c;\u518d\u8fdb\u884c\u91cf\u5316&#xff0c;\u5426\u5219\u7cbe\u5ea6\u4f1a\u53e0\u52a0\u635f\u5931\u3002<\/li>\n<li>\u68c0\u6d4b\u5934\u5355\u72ec\u5904\u7406&#xff1a;\u68c0\u6d4b\u5934\u7684\u8f93\u51fa\u5bf9\u91cf\u5316\u8bef\u5dee\u66f4\u654f\u611f&#xff0c;\u53ef\u4ee5\u5c06\u68c0\u6d4b\u5934\u4fdd\u6301FP16&#xff0c;\u53ea\u91cf\u5316\u9aa8\u5e72\u548c\u9888\u90e8\u7f51\u7edc&#xff0c;\u5728\u6027\u80fd\u635f\u5931\u5f88\u5c0f\u7684\u524d\u63d0\u4e0b&#xff0c;\u5927\u5e45\u964d\u4f4e\u7cbe\u5ea6\u635f\u5931\u3002<\/li>\n<li>\u9a8c\u8bc1\u91cf\u5316\u4e00\u81f4\u6027&#xff1a;\u91cf\u5316\u5b8c\u6210\u540e&#xff0c;\u5fc5\u987b\u5bf9\u6bd4PC\u7aef\u548c\u7aef\u4fa7\u7684\u63a8\u7406\u7ed3\u679c&#xff0c;\u786e\u4fdd\u8bef\u5dee\u5728\u53ef\u63a5\u53d7\u8303\u56f4\u5185\u3002\u5982\u679c\u51fa\u73b0\u7ed3\u679c\u504f\u5dee&#xff0c;\u4f18\u5148\u68c0\u67e5\u9884\u5904\u7406\u7684\u5f52\u4e00\u5316\u3001\u901a\u9053\u987a\u5e8f\u548c\u91cf\u5316\u53c2\u6570\u3002<\/li>\n<\/ul>\n<h3>\u4e94\u3001NPU\u786c\u4ef6\u52a0\u901f&#xff1a;\u7b97\u5b50\u9002\u914d\u4e0e\u56fe\u7f16\u8bd1\u4f18\u5316<\/h3>\n<p>\u6a21\u578b\u526a\u679d\u3001\u91cf\u5316\u5b8c\u6210\u540e&#xff0c;\u9700\u8981\u8f6c\u6362\u4e3aNPU\u652f\u6301\u7684\u6a21\u578b\u683c\u5f0f&#xff0c;\u901a\u8fc7\u56fe\u7f16\u8bd1\u548c\u7b97\u5b50\u6620\u5c04&#xff0c;\u5145\u5206\u5229\u7528NPU\u7684\u786c\u4ef6\u7b97\u529b\u3002\u8fd9\u4e00\u6b65\u662f\u5d4c\u5165\u5f0f\u7aef\u6027\u80fd\u63d0\u5347\u7684\u6838\u5fc3&#xff0c;\u4e5f\u662f\u6700\u5bb9\u6613\u8e29\u5751\u7684\u73af\u8282\u3002<\/p>\n<h4>NPU\u63a8\u7406\u7684\u6838\u5fc3\u6d41\u7a0b<\/h4>\n<p>\u4e0d\u540cNPU\u5e73\u53f0\u7684\u7f16\u8bd1\u5de5\u5177\u4e0d\u540c&#xff0c;\u4f46\u6838\u5fc3\u6d41\u7a0b\u57fa\u672c\u4e00\u81f4&#xff1a;<\/p>\n<li>\u6a21\u578b\u8f6c\u6362&#xff1a;\u5c06PyTorch\/ONNX\u6a21\u578b\u8f6c\u6362\u4e3aNPU\u652f\u6301\u7684\u683c\u5f0f&#xff08;\u5982RKNN\u3001\u5730\u5e73\u7ebfNN&#xff09;\u3002<\/li>\n<li>\u56fe\u4f18\u5316&#xff1a;\u5bf9\u8ba1\u7b97\u56fe\u8fdb\u884c\u4f18\u5316&#xff0c;\u5305\u62ec\u7b97\u5b50\u878d\u5408\u3001\u5e38\u91cf\u6298\u53e0\u3001\u5185\u5b58\u590d\u7528\u3001\u7b97\u5b50\u66ff\u6362\u3002<\/li>\n<li>\u7b97\u5b50\u6620\u5c04&#xff1a;\u5c06\u6a21\u578b\u4e2d\u7684\u7b97\u5b50\u6620\u5c04\u5230NPU\u7684\u786c\u4ef6\u7b97\u5b50&#xff0c;\u4e0d\u652f\u6301\u7684\u7b97\u5b50\u56de\u9000\u5230CPU\u3002<\/li>\n<li>\u7f16\u8bd1\u90e8\u7f72&#xff1a;\u751f\u6210\u53ef\u5728NPU\u4e0a\u8fd0\u884c\u7684\u6a21\u578b\u6587\u4ef6&#xff0c;\u52a0\u8f7d\u5230\u7aef\u4fa7\u8bbe\u5907\u8fdb\u884c\u63a8\u7406\u3002<\/li>\n<h4>\u7b97\u5b50\u9002\u914d\u4e0e\u4f18\u5316<\/h4>\n<p>NPU\u7684\u6027\u80fd\u4f18\u52bf\u5efa\u7acb\u5728\u7b97\u5b50\u786c\u4ef6\u52a0\u901f\u7684\u57fa\u7840\u4e0a&#xff0c;\u5982\u679c\u6a21\u578b\u4e2d\u5b58\u5728\u5927\u91cf\u4e0d\u652f\u6301\u7684\u7b97\u5b50&#xff0c;\u4f1a\u5bfc\u81f4\u9891\u7e41\u7684CPU-NPU\u6570\u636e\u4ea4\u4e92&#xff0c;\u6027\u80fd\u751a\u81f3\u4e0d\u5982\u7eafCPU\u63a8\u7406\u3002<\/p>\n<ul>\n<li>\u4f18\u5148\u4f7f\u7528NPU\u652f\u6301\u7684\u7b97\u5b50&#xff1a;\u6bd4\u5982\u5c06SiLU\u6fc0\u6d3b\u66ff\u6362\u4e3aReLU&#xff0c;\u5c06Swish\u66ff\u6362\u4e3aReLU6&#xff0c;\u907f\u514d\u4f7f\u7528\u590d\u6742\u7684\u81ea\u5b9a\u4e49\u7b97\u5b50\u3002<\/li>\n<li>\u4e0d\u652f\u6301\u7b97\u5b50\u7684\u5904\u7406&#xff1a;\u5bf9\u4e8eNPU\u4e0d\u652f\u6301\u7684\u7b97\u5b50&#xff0c;\u4f18\u5148\u7528\u652f\u6301\u7684\u7b97\u5b50\u7ec4\u5408\u5b9e\u73b0&#xff1b;\u65e0\u6cd5\u66ff\u6362\u7684&#xff0c;\u5c3d\u91cf\u653e\u5728\u6a21\u578b\u7684\u5f00\u5934\u6216\u7ed3\u5c3e&#xff0c;\u51cf\u5c11\u6570\u636e\u62f7\u8d1d\u6b21\u6570\u3002<\/li>\n<li>\u907f\u514d\u52a8\u6001Shape&#xff1a;NPU\u5bf9\u56fa\u5b9a\u8f93\u5165\u5c3a\u5bf8\u7684\u4f18\u5316\u6700\u597d&#xff0c;\u5c3d\u91cf\u4f7f\u7528\u56fa\u5b9a\u5c3a\u5bf8\u8f93\u5165&#xff0c;\u907f\u514d\u52a8\u6001Resize\u3001\u52a8\u6001Padding\u7b49\u64cd\u4f5c\u3002<\/li>\n<\/ul>\n<h4>\u56fe\u7f16\u8bd1\u9636\u6bb5\u7684\u4f18\u5316<\/h4>\n<ul>\n<li>\u5f00\u542f\u5185\u5b58\u590d\u7528&#xff1a;\u5927\u90e8\u5206NPU\u7f16\u8bd1\u5de5\u5177\u90fd\u652f\u6301\u5185\u5b58\u590d\u7528\u9009\u9879&#xff0c;\u53ef\u4ee5\u5927\u5e45\u964d\u4f4e\u8fd0\u884c\u65f6\u5185\u5b58\u5360\u7528&#xff0c;\u901a\u5e38\u53ef\u4ee5\u51cf\u5c1130%-50%\u7684\u5185\u5b58\u3002<\/li>\n<li>\u5f00\u542f\u7b97\u5b50\u878d\u5408&#xff1a;\u5c06\u5377\u79ef\u3001BN\u3001\u6fc0\u6d3b\u878d\u5408\u4e3a\u4e00\u4e2a\u7b97\u5b50&#xff0c;\u51cf\u5c11\u5185\u5b58\u8bbf\u95ee\u548c\u8ba1\u7b97\u5f00\u9500\u3002<\/li>\n<li>\u8c03\u6574\u7f16\u8bd1\u4f18\u5148\u7ea7&#xff1a;\u53ef\u4ee5\u6839\u636e\u4e1a\u52a1\u9700\u6c42&#xff0c;\u5728\u7f16\u8bd1\u65f6\u9009\u62e9\u201c\u6027\u80fd\u4f18\u5148\u201d\u6216\u201c\u7cbe\u5ea6\u4f18\u5148\u201d\u6a21\u5f0f\u3002<\/li>\n<\/ul>\n<h3>\u516d\u3001\u7aef\u4fa7\u6027\u80fd\u8c03\u4f18\u4e0e\u74f6\u9888\u5b9a\u4f4d<\/h3>\n<p>\u5b8c\u6210\u6a21\u578b\u8f6c\u6362\u548c\u90e8\u7f72\u540e&#xff0c;\u8fd8\u9700\u8981\u901a\u8fc7\u6027\u80fd\u5206\u6790\u627e\u5230\u74f6\u9888&#xff0c;\u8fdb\u884c\u9488\u5bf9\u6027\u8c03\u4f18\u3002\u5f88\u591a\u65f6\u5019\u6a21\u578b\u672c\u8eab\u5df2\u7ecf\u4f18\u5316\u5230\u4f4d&#xff0c;\u4f46\u7aef\u4fa7\u7684\u9884\u5904\u7406\u3001\u540e\u5904\u7406\u3001\u5185\u5b58\u62f7\u8d1d\u4f1a\u6210\u4e3a\u65b0\u7684\u74f6\u9888\u3002<\/p>\n<h4>\u6027\u80fd\u74f6\u9888\u5b9a\u4f4d<\/h4>\n<p>\u9996\u5148\u4f7f\u7528\u5e73\u53f0\u81ea\u5e26\u7684Profiling\u5de5\u5177&#xff0c;\u7edf\u8ba1\u6bcf\u4e2a\u73af\u8282\u7684\u8017\u65f6&#xff1a;<\/p>\n<ul>\n<li>\u6a21\u578b\u7f16\u8bd1\u9636\u6bb5&#xff1a;RKNN Toolkit\u7684\u6027\u80fd\u5206\u6790\u5de5\u5177\u3001Tengine Profiler\u3001NCNN Benchmark\u3002<\/li>\n<li>\u7cfb\u7edf\u7ea7\u5206\u6790&#xff1a;\u4f7f\u7528perf\u3001top\u3001free\u7b49\u5de5\u5177&#xff0c;\u67e5\u770bCPU\u5360\u7528\u3001\u5185\u5b58\u5360\u7528\u3001NPU\u5229\u7528\u7387\u3002<\/li>\n<\/ul>\n<p>\u5e38\u89c1\u7684\u74f6\u9888\u70b9&#xff1a;<\/p>\n<ul>\n<li>\u9884\u5904\u7406\u8017\u65f6\u8fc7\u957f&#xff1a;\u56fe\u50cfResize\u3001\u5f52\u4e00\u5316\u3001\u901a\u9053\u8f6c\u6362\u5360\u7528\u5927\u91cfCPU\u65f6\u95f4\u3002<\/li>\n<li>\u5185\u5b58\u62f7\u8d1d\u9891\u7e41&#xff1a;CPU\u548cNPU\u4e4b\u95f4\u7684\u5185\u5b58\u62f7\u8d1d\u3001\u8f93\u5165\u8f93\u51fa\u6570\u636e\u7684\u683c\u5f0f\u8f6c\u6362\u3002<\/li>\n<li>NPU\u5229\u7528\u7387\u4f4e&#xff1a;\u7b97\u5b50\u4e0d\u652f\u6301\u3001\u8ba1\u7b97\u56fe\u788e\u7247\u5316\u3001\u8f93\u5165\u5c3a\u5bf8\u4e0d\u5408\u7406\u3002<\/li>\n<li>\u540e\u5904\u7406\u8017\u65f6&#xff1a;NMS\u3001\u5750\u6807\u8f6c\u6362\u3001\u7ed3\u679c\u8fc7\u6ee4&#xff0c;\u5c24\u5176\u662f\u76ee\u6807\u6570\u91cf\u8f83\u591a\u65f6\u3002<\/li>\n<\/ul>\n<h4>\u9488\u5bf9\u6027\u8c03\u4f18\u65b9\u6848<\/h4>\n<ul>\n<li>\u9884\u5904\u7406\u52a0\u901f&#xff1a;\u5c06\u9884\u5904\u7406\u64cd\u4f5c&#xff08;Resize\u3001\u5f52\u4e00\u5316\u3001\u901a\u9053\u8f6c\u6362&#xff09;\u653e\u5230NPU\u4e0a\u6267\u884c&#xff0c;\u6216\u8005\u4f7f\u7528\u786c\u4ef6ISP\u3001DMA\u52a0\u901f&#xff1b;\u4f7f\u7528\u96f6\u62f7\u8d1d\u5185\u5b58&#xff0c;\u907f\u514d\u6570\u636e\u5728CPU\u548cNPU\u4e4b\u95f4\u53cd\u590d\u62f7\u8d1d\u3002<\/li>\n<li>\u5185\u5b58\u4f18\u5316&#xff1a;\u4f7f\u7528\u5171\u4eab\u5185\u5b58\u3001\u5185\u5b58\u6c60&#xff0c;\u907f\u514d\u9891\u7e41\u7684\u5185\u5b58\u7533\u8bf7\u4e0e\u91ca\u653e&#xff1b;\u7279\u5f81\u56fe\u5185\u5b58\u590d\u7528&#xff0c;\u51cf\u5c11\u5cf0\u503c\u5185\u5b58\u5360\u7528\u3002<\/li>\n<li>\u540e\u5904\u7406\u4f18\u5316&#xff1a;\u5c06NMS\u653e\u5230NPU\u4e0a\u6267\u884c&#xff0c;\u6216\u8005\u4f7f\u7528\u66f4\u9ad8\u6548\u7684NMS\u7b97\u6cd5&#xff1b;\u6839\u636e\u4e1a\u52a1\u573a\u666f\u8fc7\u6ee4\u6389\u65e0\u6548\u68c0\u6d4b\u6846&#xff0c;\u51cf\u5c11\u540e\u5904\u7406\u8ba1\u7b97\u91cf\u3002<\/li>\n<li>\u6d41\u6c34\u7ebf\u8c03\u5ea6&#xff1a;\u5c06\u56fe\u50cf\u91c7\u96c6\u3001\u9884\u5904\u7406\u3001\u63a8\u7406\u3001\u540e\u5904\u7406\u6d41\u6c34\u7ebf\u5316&#xff0c;\u5145\u5206\u5229\u7528CPU\u548cNPU\u7684\u5e76\u884c\u80fd\u529b&#xff0c;\u63d0\u5347\u6574\u4f53\u541e\u5410\u91cf\u3002<\/li>\n<\/ul>\n<h3>\u4e03\u3001\u5b9e\u6218\u6548\u679c\u4e0e\u6027\u80fd\u5bf9\u6bd4<\/h3>\n<p>\u6211\u4eec\u4ee5YOLOv8n\u4e3a\u4f8b&#xff0c;\u5728RK3588\u5e73\u53f0\u4e0a\u8fdb\u884c\u4e86\u5b8c\u6574\u7684\u5168\u94fe\u8def\u4f18\u5316&#xff0c;\u8f93\u5165\u5c3a\u5bf8640\u00d7640&#xff0c;\u6d4b\u8bd5\u6570\u636e\u4e3a\u4e1a\u52a1\u573a\u666f\u6570\u636e\u96c6&#xff0c;\u4f18\u5316\u524d\u540e\u7684\u6027\u80fd\u5bf9\u6bd4\u5982\u4e0b&#xff1a;<\/p>\n<table>\n<tr>\u4f18\u5316\u9636\u6bb5\u63a8\u7406\u7cbe\u5ea6(mAP&#064;0.5)\u5355\u5e27\u63a8\u7406\u8017\u65f6(ms)\u5185\u5b58\u5360\u7528(MB)\u52a0\u901f\u6bd4<\/tr>\n<tbody>\n<tr>\n<td>\u539f\u59cbFP16<\/td>\n<td>0.682<\/td>\n<td>45.2<\/td>\n<td>128<\/td>\n<td>1.0x<\/td>\n<\/tr>\n<tr>\n<td>\u526a\u679d30%<\/td>\n<td>0.675<\/td>\n<td>32.7<\/td>\n<td>96<\/td>\n<td>1.38x<\/td>\n<\/tr>\n<tr>\n<td>\u526a\u679d&#043;\u84b8\u998f<\/td>\n<td>0.680<\/td>\n<td>32.7<\/td>\n<td>96<\/td>\n<td>1.38x<\/td>\n<\/tr>\n<tr>\n<td>\u526a\u679d&#043;\u84b8\u998f&#043;INT8\u91cf\u5316<\/td>\n<td>0.672<\/td>\n<td>16.3<\/td>\n<td>64<\/td>\n<td>2.77x<\/td>\n<\/tr>\n<tr>\n<td>\u5168\u94fe\u8def\u4f18\u5316&#043;NPU\u8c03\u4f18<\/td>\n<td>0.670<\/td>\n<td>14.8<\/td>\n<td>58<\/td>\n<td>3.05x<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u53ef\u4ee5\u770b\u5230&#xff0c;\u901a\u8fc7\u5168\u94fe\u8def\u4f18\u5316&#xff0c;\u63a8\u7406\u901f\u5ea6\u63d0\u5347\u4e863\u500d\u4ee5\u4e0a&#xff0c;\u5185\u5b58\u5360\u7528\u964d\u4f4e\u4e8655%&#xff0c;\u800c\u7cbe\u5ea6\u635f\u5931\u4ec5\u4e3a1.2%&#xff0c;\u5b8c\u5168\u6ee1\u8db3\u4e1a\u52a1\u9700\u6c42\u3002<\/p>\n<h3>\u516b\u3001\u5e38\u89c1\u8e29\u5751\u4e0e\u6392\u969c\u6307\u5357<\/h3>\n<h4>1. \u526a\u679d\u540e\u6a21\u578b\u7cbe\u5ea6\u66b4\u8dcc<\/h4>\n<ul>\n<li>\u68c0\u67e5\u662f\u5426\u526a\u5230\u4e86shortcut\u3001\u68c0\u6d4b\u5934\u7b49\u5173\u952e\u5c42&#xff1b;<\/li>\n<li>\u526a\u679d\u6bd4\u4f8b\u662f\u5426\u8fc7\u9ad8&#xff0c;\u964d\u4f4e\u526a\u679d\u6bd4\u4f8b\u540e\u91cd\u65b0\u6d4b\u8bd5&#xff1b;<\/li>\n<li>\u7a00\u758f\u8bad\u7ec3\u7684\u6b63\u5219\u7cfb\u6570\u662f\u5426\u8fc7\u5927&#xff0c;\u5bfc\u81f4\u6a21\u578b\u6536\u655b\u5f02\u5e38&#xff1b;<\/li>\n<li>\u526a\u679d\u540e\u662f\u5426\u8fdb\u884c\u4e86\u8db3\u591f\u7684\u5fae\u8c03&#xff0c;\u5efa\u8bae\u81f3\u5c11\u5fae\u8c0310-20\u4e2aepoch\u3002<\/li>\n<\/ul>\n<h4>2. \u91cf\u5316\u540e\u5c0f\u76ee\u6807\u6f0f\u68c0\u4e25\u91cd<\/h4>\n<ul>\n<li>\u6821\u51c6\u96c6\u4e2d\u662f\u5426\u5305\u542b\u8db3\u591f\u7684\u5c0f\u76ee\u6807\u6837\u672c&#xff0c;\u8865\u5145\u5bf9\u5e94\u573a\u666f\u7684\u6821\u51c6\u6570\u636e&#xff1b;<\/li>\n<li>\u5207\u6362\u4e3aper-channel\u91cf\u5316&#xff0c;\u8c03\u6574\u6821\u51c6\u65b9\u6cd5&#xff1b;<\/li>\n<li>\u68c0\u6d4b\u5934\u4fdd\u6301FP16\u7cbe\u5ea6&#xff0c;\u4e0d\u53c2\u4e0e\u91cf\u5316&#xff1b;<\/li>\n<li>\u5982\u679cPTQ\u7cbe\u5ea6\u65e0\u6cd5\u6ee1\u8db3&#xff0c;\u5c1d\u8bd5\u4f7f\u7528QAT\u91cf\u5316\u3002<\/li>\n<\/ul>\n<h4>3. NPU\u63a8\u7406\u901f\u5ea6\u8fdc\u4f4e\u4e8e\u9884\u671f<\/h4>\n<ul>\n<li>\u68c0\u67e5\u7b97\u5b50\u652f\u6301\u60c5\u51b5&#xff0c;\u662f\u5426\u6709\u5927\u91cf\u7b97\u5b50\u56de\u9000\u5230CPU&#xff1b;<\/li>\n<li>\u8f93\u5165\u5c3a\u5bf8\u662f\u5426\u8fc7\u5927&#xff0c;NPU\u7684\u7b97\u529b\u5229\u7528\u7387\u968f\u8f93\u5165\u5c3a\u5bf8\u53d8\u5316\u660e\u663e&#xff1b;<\/li>\n<li>\u662f\u5426\u5f00\u542f\u4e86\u5185\u5b58\u590d\u7528\u3001\u7b97\u5b50\u878d\u5408\u7b49\u7f16\u8bd1\u4f18\u5316\u9009\u9879&#xff1b;<\/li>\n<li>\u68c0\u67e5\u662f\u5426\u5b58\u5728\u9891\u7e41\u7684CPU-NPU\u6570\u636e\u62f7\u8d1d&#xff0c;\u4f7f\u7528\u96f6\u62f7\u8d1d\u5185\u5b58\u4f18\u5316\u3002<\/li>\n<\/ul>\n<h4>4. \u7aef\u4fa7\u63a8\u7406\u7ed3\u679c\u4e0ePC\u7aef\u4e0d\u4e00\u81f4<\/h4>\n<ul>\n<li>\u68c0\u67e5\u9884\u5904\u7406\u7684\u5f52\u4e00\u5316\u53c2\u6570\u3001\u901a\u9053\u987a\u5e8f&#xff08;RGB\/BGR&#xff09;\u3001\u56fe\u50cf\u63d2\u503c\u65b9\u5f0f\u662f\u5426\u4e00\u81f4&#xff1b;<\/li>\n<li>\u68c0\u67e5\u91cf\u5316\u53c2\u6570\u662f\u5426\u6b63\u786e&#xff0c;\u662f\u5426\u5b58\u5728\u6ea2\u51fa\u6216\u622a\u65ad&#xff1b;<\/li>\n<li>\u90e8\u5206NPU\u5e73\u53f0\u7684\u7b97\u5b50\u5b9e\u73b0\u4e0ePC\u7aef\u5b58\u5728\u5fae\u5c0f\u5dee\u5f02&#xff0c;\u5c5e\u4e8e\u6b63\u5e38\u73b0\u8c61&#xff0c;\u53ea\u8981\u8bef\u5dee\u5728\u4e1a\u52a1\u53ef\u63a5\u53d7\u8303\u56f4\u5185\u5373\u53ef\u3002<\/li>\n<\/ul>\n<h3>\u603b\u7ed3<\/h3>\n<p>\u5d4c\u5165\u5f0f\u7aefYOLO\u7684\u4f18\u5316\u4e0d\u662f\u5355\u70b9\u4f18\u5316&#xff0c;\u800c\u662f\u4e00\u4e2a\u4ece\u6a21\u578b\u5230\u90e8\u7f72\u3001\u4ece\u8f6f\u4ef6\u5230\u786c\u4ef6\u7684\u5168\u94fe\u8def\u5de5\u7a0b\u3002\u4f18\u5316\u7684\u6838\u5fc3\u601d\u8def\u662f&#xff1a;\u5148\u901a\u8fc7\u526a\u679d\u548c\u84b8\u998f\u5728\u6a21\u578b\u4fa7\u505a\u8f7b\u91cf\u5316\u4e0e\u7cbe\u5ea6\u8865\u507f&#xff0c;\u518d\u901a\u8fc7\u91cf\u5316\u548cNPU\u7f16\u8bd1\u5145\u5206\u91ca\u653e\u786c\u4ef6\u7b97\u529b&#xff0c;\u6700\u540e\u901a\u8fc7\u7aef\u4fa7\u8c03\u4f18\u89e3\u51b3\u9884\u5904\u7406\u3001\u540e\u5904\u7406\u548c\u5185\u5b58\u74f6\u9888\u3002<\/p>\n<p>\u4e0d\u540c\u786c\u4ef6\u5e73\u53f0\u3001\u4e0d\u540c\u4e1a\u52a1\u573a\u666f\u7684\u6700\u4f18\u65b9\u6848\u5dee\u5f02\u5f88\u5927&#xff0c;\u4e0d\u8981\u76f2\u76ee\u5957\u7528\u6781\u81f4\u538b\u7f29\u6bd4&#xff0c;\u8981\u6839\u636e\u5b9e\u9645\u7684\u7cbe\u5ea6\u3001\u6027\u80fd\u3001\u5185\u5b58\u9700\u6c42&#xff0c;\u627e\u5230\u6700\u9002\u5408\u7684\u5e73\u8861\u70b9\u3002\u6240\u6709\u4f18\u5316\u90fd\u5fc5\u987b\u5728\u771f\u5b9e\u4e1a\u52a1\u573a\u666f\u4e0b\u9a8c\u8bc1&#xff0c;\u907f\u514d\u5728\u901a\u7528\u6570\u636e\u96c6\u4e0a\u201c\u81ea\u55e8\u201d\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u5d4c\u5165\u5f0f\u7aef\u90e8\u7f72YOLO\u7cfb\u5217\u6a21\u578b\u65f6&#xff0c;\u591a\u6570\u5f00\u53d1\u8005\u90fd\u4f1a\u9047\u5230\u540c\u4e00\u4e2a\u6838\u5fc3\u77db\u76fe&#xff1a;\u7b97\u6cd5\u4fa7\u7684\u7cbe\u5ea6\u9700\u6c42\u4e0e\u786c\u4ef6\u4fa7\u7684\u7b97\u529b\u3001\u5185\u5b58\u3001\u529f\u8017\u7ea6\u675f\u3002\u5f88\u591a\u4eba\u53ea\u505c\u7559\u5728\u201c\u8f6c\u6a21\u578b\u3001\u8dd1\u901a\u63a8\u7406\u201d\u7684\u9636\u6bb5&#xff0c;\u6700\u7ec8\u5f97\u5230\u7684\u63a8\u7406\u901f\u5ea6\u6162\u3001\u5185\u5b58\u5360\u7528\u9ad8\u3001\u7cbe\u5ea6\u635f\u5931\u5927&#xff0c;\u8ddd\u79bb\u91cf\u4ea7\u843d\u5730\u8fd8\u6709\u5f88\u5927\u5dee\u8ddd\u3002<br \/>\n\u5b9e\u9645\u4e0a&#xff0c;\u5d4c\u5165\u5f0f\u7aef\u7684YOLO\u4f18\u5316\u662f\u4e00\u4e2a\u5168\u94fe\u8def\u5de5\u7a0b&#xff0c;\u4e0d\u662f\u5355\u4e00\u91cf\u5316\u5c31\u80fd\u89e3\u51b3\u7684\u95ee\u9898\u3002\u4ece\u6a21\u578b\u4fa7\u7684\u526a\u679d\u3001\u84b8\u998f&#xff0c;\u5230\u90e8\u7f72\u4fa7\u7684\u91cf\u5316\u3001\u56fe\u7f16\u8bd1&#xff0c;\u518d\u5230NPU\u7aef\u7684<\/p>\n","protected":false},"author":2,"featured_media":107039,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[81,50,190,1665,523],"topic":[],"class_list":["post-107040","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-python","tag-50","tag-190","tag-1665","tag-523"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5d4c\u5165\u5f0fYOLO\u90e8\u7f72\u6027\u80fd\u7ffb3\u500d\uff1a\u4ece\u6a21\u578b\u526a\u679d\u3001\u91cf\u5316\u84b8\u998f\u5230NPU\u7aef\u4fa7\u52a0\u901f\u5168\u6d41\u7a0b\u5b9e\u6218 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/107040.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5d4c\u5165\u5f0fYOLO\u90e8\u7f72\u6027\u80fd\u7ffb3\u500d\uff1a\u4ece\u6a21\u578b\u526a\u679d\u3001\u91cf\u5316\u84b8\u998f\u5230NPU\u7aef\u4fa7\u52a0\u901f\u5168\u6d41\u7a0b\u5b9e\u6218 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u5728\u5d4c\u5165\u5f0f\u7aef\u90e8\u7f72YOLO\u7cfb\u5217\u6a21\u578b\u65f6&#xff0c;\u591a\u6570\u5f00\u53d1\u8005\u90fd\u4f1a\u9047\u5230\u540c\u4e00\u4e2a\u6838\u5fc3\u77db\u76fe&#xff1a;\u7b97\u6cd5\u4fa7\u7684\u7cbe\u5ea6\u9700\u6c42\u4e0e\u786c\u4ef6\u4fa7\u7684\u7b97\u529b\u3001\u5185\u5b58\u3001\u529f\u8017\u7ea6\u675f\u3002\u5f88\u591a\u4eba\u53ea\u505c\u7559\u5728\u201c\u8f6c\u6a21\u578b\u3001\u8dd1\u901a\u63a8\u7406\u201d\u7684\u9636\u6bb5&#xff0c;\u6700\u7ec8\u5f97\u5230\u7684\u63a8\u7406\u901f\u5ea6\u6162\u3001\u5185\u5b58\u5360\u7528\u9ad8\u3001\u7cbe\u5ea6\u635f\u5931\u5927&#xff0c;\u8ddd\u79bb\u91cf\u4ea7\u843d\u5730\u8fd8\u6709\u5f88\u5927\u5dee\u8ddd\u3002 \u5b9e\u9645\u4e0a&#xff0c;\u5d4c\u5165\u5f0f\u7aef\u7684YOLO\u4f18\u5316\u662f\u4e00\u4e2a\u5168\u94fe\u8def\u5de5\u7a0b&#xff0c;\u4e0d\u662f\u5355\u4e00\u91cf\u5316\u5c31\u80fd\u89e3\u51b3\u7684\u95ee\u9898\u3002\u4ece\u6a21\u578b\u4fa7\u7684\u526a\u679d\u3001\u84b8\u998f&#xff0c;\u5230\u90e8\u7f72\u4fa7\u7684\u91cf\u5316\u3001\u56fe\u7f16\u8bd1&#xff0c;\u518d\u5230NPU\u7aef\u7684\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/107040.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-09-18T12:40:48+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260918124047-6aad314f11c01.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/107040.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/107040.html\",\"name\":\"\u5d4c\u5165\u5f0fYOLO\u90e8\u7f72\u6027\u80fd\u7ffb3\u500d\uff1a\u4ece\u6a21\u578b\u526a\u679d\u3001\u91cf\u5316\u84b8\u998f\u5230NPU\u7aef\u4fa7\u52a0\u901f\u5168\u6d41\u7a0b\u5b9e\u6218 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-09-18T12:40:48+00:00\",\"dateModified\":\"2026-09-18T12:40:48+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/107040.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/107040.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/107040.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5d4c\u5165\u5f0fYOLO\u90e8\u7f72\u6027\u80fd\u7ffb3\u500d\uff1a\u4ece\u6a21\u578b\u526a\u679d\u3001\u91cf\u5316\u84b8\u998f\u5230NPU\u7aef\u4fa7\u52a0\u901f\u5168\u6d41\u7a0b\u5b9e\u6218\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u5d4c\u5165\u5f0fYOLO\u90e8\u7f72\u6027\u80fd\u7ffb3\u500d\uff1a\u4ece\u6a21\u578b\u526a\u679d\u3001\u91cf\u5316\u84b8\u998f\u5230NPU\u7aef\u4fa7\u52a0\u901f\u5168\u6d41\u7a0b\u5b9e\u6218 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/107040.html","og_locale":"zh_CN","og_type":"article","og_title":"\u5d4c\u5165\u5f0fYOLO\u90e8\u7f72\u6027\u80fd\u7ffb3\u500d\uff1a\u4ece\u6a21\u578b\u526a\u679d\u3001\u91cf\u5316\u84b8\u998f\u5230NPU\u7aef\u4fa7\u52a0\u901f\u5168\u6d41\u7a0b\u5b9e\u6218 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u5728\u5d4c\u5165\u5f0f\u7aef\u90e8\u7f72YOLO\u7cfb\u5217\u6a21\u578b\u65f6&#xff0c;\u591a\u6570\u5f00\u53d1\u8005\u90fd\u4f1a\u9047\u5230\u540c\u4e00\u4e2a\u6838\u5fc3\u77db\u76fe&#xff1a;\u7b97\u6cd5\u4fa7\u7684\u7cbe\u5ea6\u9700\u6c42\u4e0e\u786c\u4ef6\u4fa7\u7684\u7b97\u529b\u3001\u5185\u5b58\u3001\u529f\u8017\u7ea6\u675f\u3002\u5f88\u591a\u4eba\u53ea\u505c\u7559\u5728\u201c\u8f6c\u6a21\u578b\u3001\u8dd1\u901a\u63a8\u7406\u201d\u7684\u9636\u6bb5&#xff0c;\u6700\u7ec8\u5f97\u5230\u7684\u63a8\u7406\u901f\u5ea6\u6162\u3001\u5185\u5b58\u5360\u7528\u9ad8\u3001\u7cbe\u5ea6\u635f\u5931\u5927&#xff0c;\u8ddd\u79bb\u91cf\u4ea7\u843d\u5730\u8fd8\u6709\u5f88\u5927\u5dee\u8ddd\u3002 \u5b9e\u9645\u4e0a&#xff0c;\u5d4c\u5165\u5f0f\u7aef\u7684YOLO\u4f18\u5316\u662f\u4e00\u4e2a\u5168\u94fe\u8def\u5de5\u7a0b&#xff0c;\u4e0d\u662f\u5355\u4e00\u91cf\u5316\u5c31\u80fd\u89e3\u51b3\u7684\u95ee\u9898\u3002\u4ece\u6a21\u578b\u4fa7\u7684\u526a\u679d\u3001\u84b8\u998f&#xff0c;\u5230\u90e8\u7f72\u4fa7\u7684\u91cf\u5316\u3001\u56fe\u7f16\u8bd1&#xff0c;\u518d\u5230NPU\u7aef\u7684","og_url":"https:\/\/www.wsisp.com\/helps\/107040.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-09-18T12:40:48+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260918124047-6aad314f11c01.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"6 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/107040.html","url":"https:\/\/www.wsisp.com\/helps\/107040.html","name":"\u5d4c\u5165\u5f0fYOLO\u90e8\u7f72\u6027\u80fd\u7ffb3\u500d\uff1a\u4ece\u6a21\u578b\u526a\u679d\u3001\u91cf\u5316\u84b8\u998f\u5230NPU\u7aef\u4fa7\u52a0\u901f\u5168\u6d41\u7a0b\u5b9e\u6218 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-09-18T12:40:48+00:00","dateModified":"2026-09-18T12:40:48+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/107040.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/107040.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/107040.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u5d4c\u5165\u5f0fYOLO\u90e8\u7f72\u6027\u80fd\u7ffb3\u500d\uff1a\u4ece\u6a21\u578b\u526a\u679d\u3001\u91cf\u5316\u84b8\u998f\u5230NPU\u7aef\u4fa7\u52a0\u901f\u5168\u6d41\u7a0b\u5b9e\u6218"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/107040","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=107040"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/107040\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/107039"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=107040"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=107040"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=107040"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=107040"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}