{"id":66775,"date":"2026-01-27T15:18:21","date_gmt":"2026-01-27T07:18:21","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/66775.html"},"modified":"2026-01-27T15:18:21","modified_gmt":"2026-01-27T07:18:21","slug":"yolo12%e5%85%a8%e9%9d%a2%e8%a7%a3%e6%9e%90%e4%b8%8e%e5%ae%89%e5%8d%93%e5%b9%b3%e5%8f%b0ncnn%e9%83%a8%e7%bd%b2%e5%ae%9e%e6%88%98%ef%bc%9a%e9%ab%98%e6%95%88%e6%b3%a8%e6%84%8f%e5%8a%9b%e6%9c%ba%e5%88%b6","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/66775.html","title":{"rendered":"YOLO12\u5168\u9762\u89e3\u6790\u4e0e\u5b89\u5353\u5e73\u53f0NCNN\u90e8\u7f72\u5b9e\u6218\uff1a\u9ad8\u6548\u6ce8\u610f\u529b\u673a\u5236\u7684\u843d\u5730\u5b9e\u8df5\uff08\u5f85\u66f4\u65b0\uff09"},"content":{"rendered":"<p>\u63d0\u793a&#xff1a;\u6587\u7ae0\u5199\u5b8c\u540e&#xff0c;\u76ee\u5f55\u53ef\u4ee5\u81ea\u52a8\u751f\u6210&#xff0c;\u5982\u4f55\u751f\u6210\u53ef\u53c2\u8003\u53f3\u8fb9\u7684\u5e2e\u52a9\u6587\u6863<\/p>\n<\/p>\n<h4>\u6587\u7ae0\u76ee\u5f55<\/h4>\n<ul>\n<li>\u4e00\u3001\u524d\u8a00<\/li>\n<li>\u4e8c\u3001YOLOv12\u7684\u6838\u5fc3\u521b\u65b0&#xff1a;\u9ad8\u6548\u6ce8\u610f\u529b\u673a\u5236\u7684\u9769\u547d<\/li>\n<li>\n<ul>\n<li>1. \u533a\u57df\u6ce8\u610f\u529b(Area Attention&#xff0c;A2)\u673a\u5236<\/li>\n<li>2. \u6b8b\u5dee\u9ad8\u6548\u5c42\u805a\u5408\u7f51\u7edc&#xff08;R-ELAN&#xff09;<\/li>\n<li>3. \u67b6\u6784\u7ea7\u4f18\u5316<\/li>\n<\/ul>\n<\/li>\n<li>\u4e09\u3001YOLOv12\u6027\u80fd\u57fa\u51c6<\/li>\n<li>\u56db\u3001\u73af\u5883\u642d\u5efa&#xff08;windows\u7248\u672c&#xff09;<\/li>\n<li>\n<ul>\n<li>**1\u3001\u57fa\u7840\u73af\u5883\u642d\u5efa**<\/li>\n<li>**2. requirements.txt\u5b89\u88c5**<\/li>\n<li>**3. \u5b89\u88c5flash-attention**<\/li>\n<li>**4. \u73af\u5883\u9a8c\u8bc1**<\/li>\n<\/ul>\n<\/li>\n<li>\u4e94\u3001\u91cf\u5316\u6d41\u7a0b<\/li>\n<li>\n<ul>\n<li>1. \u5728\u4e0a\u8ff0\u73af\u5883\u4e2d\u5b89\u88c5\u91cf\u5316\u4f9d\u8d56\u5e93<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<hr \/>\n<p>\u63d0\u793a&#xff1a;\u4ee5\u4e0b\u662f\u672c\u7bc7\u6587\u7ae0\u6b63\u6587\u5185\u5bb9&#xff0c;\u4e0b\u9762\u6848\u4f8b\u53ef\u4f9b\u53c2\u8003<\/p>\n<h2>\u4e00\u3001\u524d\u8a00<\/h2>\n<p>YOLO12\u4e8e2025\u5e74\u521d\u53d1\u5e03&#xff0c;\u5f15\u5165\u4e86\u4e00\u79cd\u4ee5\u6ce8\u610f\u529b\u4e3a\u4e2d\u5fc3\u7684\u67b6\u6784&#xff0c;\u8fd9\u4e0e\u4e4b\u524dYOLO\u6a21\u578b\u4e2d\u4f7f\u7528\u7684\u4f20\u7edf\u57fa\u4e8eCNN\u7684\u65b9\u6cd5\u4e0d\u540c&#xff0c;\u4f46\u4ecd\u4fdd\u6301\u4e86\u8bb8\u591a\u5e94\u7528\u6240\u9700\u7684\u5b9e\u65f6\u63a8\u7406\u901f\u5ea6\u3002\u8be5\u6a21\u578b\u901a\u8fc7\u6ce8\u610f\u529b\u673a\u5236\u548c\u6574\u4f53\u7f51\u7edc\u67b6\u6784\u4e2d\u7684\u65b0\u9896\u65b9\u6cd5\u521b\u65b0&#xff0c;\u5b9e\u73b0\u4e86\u9ad8\u76ee\u6807\u68c0\u6d4b\u51c6\u786e\u6027&#xff0c;\u540c\u65f6\u4fdd\u6301\u4e86\u5b9e\u65f6\u6027\u80fd\u3002 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260127071817-697866b938c49.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u672c\u6587\u5c06\u6df1\u5165\u89e3\u6790YOLOv12\u7684\u67b6\u6784\u521b\u65b0&#xff0c;\u91cd\u70b9\u4ecb\u7ecd\u5176\u533a\u57df\u6ce8\u610f\u529b\u6a21\u5757(A2)\u548cR-ELAN\u7ed3\u6784&#xff0c;\u7136\u540e\u8be6\u7ec6\u5c55\u793a\u5982\u4f55\u5c06YOLOv12\u6a21\u578b\u901a\u8fc7PNNX\u8f6c\u6362\u5e76\u90e8\u7f72\u5230NCNN\u6846\u67b6&#xff0c;\u5b9e\u73b0\u9ad8\u6027\u80fd\u76ee\u6807\u68c0\u6d4b\u4e0e\u5206\u5272\u3002\u76f8\u6bd4YOLOv11&#xff0c;YOLOv12\u5728\u4fdd\u6301\u5b9e\u65f6\u6027\u7684\u540c\u65f6&#xff0c;\u7cbe\u5ea6\u63d0\u5347\u663e\u8457&#xff0c;\u672c\u6587\u5c06\u901a\u8fc7\u5b8c\u6574\u6d41\u7a0b\u5c55\u793a\u5176\u90e8\u7f72\u4f18\u52bf\u3002<\/p>\n<p>YOLO12\u4ee3\u7801\u4ed3\u5e93&#xff1a; https:\/\/github.com\/sunsmarterjie\/yolov12 ncnn-android-yolov12&#xff1a; https:\/\/github.com\/LeeeFu\/ncnn-android-yolov12<\/p>\n<h2>\u4e8c\u3001YOLOv12\u7684\u6838\u5fc3\u521b\u65b0&#xff1a;\u9ad8\u6548\u6ce8\u610f\u529b\u673a\u5236\u7684\u9769\u547d<\/h2>\n<h3>1. \u533a\u57df\u6ce8\u610f\u529b(Area Attention&#xff0c;A2)\u673a\u5236<\/h3>\n<p>\u5728\u8ba1\u7b97\u673a\u89c6\u89c9\u9886\u57df&#xff0c;\u4f20\u7edf\u81ea\u6ce8\u610f\u529b\u673a\u5236&#xff08;\u5982Transformer\u4e2d\u7684\u6807\u51c6\u6ce8\u610f\u529b&#xff09;\u9762\u4e34\u6839\u672c\u6027\u74f6\u9888&#xff1a;\u8ba1\u7b97\u590d\u6742\u5ea6\u968f\u7279\u5f81\u56fe\u5c3a\u5bf8\u5448\u4e8c\u6b21\u65b9\u589e\u957f&#xff08;O(n\u00b2)&#xff09;&#xff0c;\u4e14\u5185\u5b58\u8bbf\u95ee\u6a21\u5f0f\u4f4e\u6548&#xff0c;\u5bfc\u81f4\u5b9e\u65f6\u5e94\u7528\u96be\u4ee5\u843d\u5730\u3002YOLOv12\u901a\u8fc7\u5f15\u5165\u533a\u57df\u6ce8\u610f\u529b&#xff08;Area Attention, A2&#xff09; \u673a\u5236\u6765\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\u3002\u8be5\u673a\u5236\u5c06\u7279\u5f81\u56fe\u5212\u5206\u4e3aL\u4e2a\u76f8\u7b49\u7684\u90e8\u5206&#xff0c;\u9ed8\u8ba4\u4e3a4\u90e8\u5206&#xff0c;\u4ece\u800c\u5c06\u8ba1\u7b97\u590d\u6742\u5ea6\u964d\u4f4e\u81f3O((H\/L)\u00b2W\u00b2)\u6216O(H\u00b2(W\/L)\u00b2)&#xff0c;\u6709\u6548\u964d\u4f4e\u4e86\u8ba1\u7b97\u6210\u672c\u3002\u6b64\u5916&#xff0c;\u8fd9\u79cd\u5206\u5272\u65b9\u5f0f\u907f\u514d\u4e86\u590d\u6742\u7684\u7a97\u53e3\u5212\u5206\u8fc7\u7a0b&#xff0c;\u7b80\u5316\u4e86\u64cd\u4f5c\u6d41\u7a0b&#xff0c;\u540c\u65f6\u4fdd\u6301\u4e86\u8f83\u5927\u7684\u611f\u53d7\u91ce&#xff0c;\u4f7f\u5f97\u6a21\u578b\u53ef\u4ee5\u5728\u4e0d\u727a\u7272\u6027\u80fd\u7684\u524d\u63d0\u4e0b\u5b9e\u73b0\u9ad8\u6548\u7684\u8ba1\u7b97\u3002\u4e0e\u4f20\u7edf\u65b9\u6cd5\u76f8\u6bd4&#xff0c;\u533a\u57df\u6ce8\u610f\u529b\u4e0d\u4ec5\u663e\u8457\u964d\u4f4e\u4e86\u8ba1\u7b97\u8d1f\u62c5&#xff0c;\u8fd8\u63d0\u5347\u4e86\u5185\u5b58\u8bbf\u95ee\u6548\u7387&#xff0c;\u7279\u522b\u662f\u5728\u7ed3\u5408FlashAttention\u6280\u672f\u540e&#xff0c;\u901a\u8fc7\u4f18\u5316I\/O\u51cf\u5c11\u4e86\u5185\u5b58\u8bbf\u95ee\u6b21\u6570&#xff0c;\u8fdb\u4e00\u6b65\u63d0\u9ad8\u4e86\u8ba1\u7b97\u6548\u7387\u3002<\/p>\n<p>\u5728COCO\u6570\u636e\u96c6\u4e0a&#xff0c;YOLOv12-N&#xff08;Nano\u7248\u672c&#xff09;\u5b9e\u73b040.6% mAP\u4e0e1.64ms\u63a8\u7406\u5ef6\u8fdf&#xff08;RTX 3080&#xff09;&#xff0c;\u8f83YOLOv11\u7684250fps\u964d\u81f3180fps&#xff08;\u56e0\u611f\u53d7\u91ce\u6269\u5927\u5bfc\u81f4\u901f\u5ea6\u5fae\u964d&#xff0c;\u4f46\u7cbe\u5ea6\u63d0\u5347\u663e\u8457&#xff09;\u3002\u5173\u952e\u4f18\u52bf\u5728\u4e8e\u4e0eFlashAttention\u7684\u534f\u540c\u4f18\u5316&#xff1a;A2\u901a\u8fc7\u51cf\u5c11\u5185\u5b58\u8bbf\u95ee\u6b21\u6570&#xff08;\u5229\u7528GPU\u5185\u5b58\u5c42\u6b21\u7ed3\u6784&#xff09;&#xff0c;\u4f7f\u6ce8\u610f\u529b\u64cd\u4f5c\u5728Turing\/Ampere\/Hopper\u67b6\u6784GPU\u4e0a\u52a0\u901f0.3\u20130.4ms\u3002\u5bf9\u6bd4\u7ade\u54c1&#xff0c;YOLOv12-S\u6bd4RT-DETR-R18\u5feb42%&#xff0c;\u8ba1\u7b97\u91cf&#xff08;FLOPs&#xff09;\u4e0e\u53c2\u6570\u91cf&#xff08;Params&#xff09;\u5206\u522b\u964d\u4f4e36%\u4e0e45%&#xff0c;\u8bc1\u660eA2\u5728\u7cbe\u5ea6-\u6548\u7387\u5e73\u8861\u4e0a\u5b9e\u73b0\u8d28\u7684\u98de\u8dc3\u3002<\/p>\n<h3>2. \u6b8b\u5dee\u9ad8\u6548\u5c42\u805a\u5408\u7f51\u7edc&#xff08;R-ELAN&#xff09;<\/h3>\n<p>\u539f\u59cb\u7684ELAN\u67b6\u6784\u5728\u5904\u7406\u5927\u89c4\u6a21\u6a21\u578b\u65f6\u5bb9\u6613\u51fa\u73b0\u68af\u5ea6\u963b\u65ad\u548c\u8bad\u7ec3\u4e0d\u7a33\u5b9a\u7684\u95ee\u9898&#xff0c;\u8fd9\u4e3b\u8981\u662f\u56e0\u4e3a\u7f3a\u4e4f\u6709\u6548\u7684\u8f93\u5165\u5230\u8f93\u51fa\u7684\u6b8b\u5dee\u8fde\u63a5\u3002\u4e3a\u4e86\u89e3\u51b3\u8fd9\u4e9b\u95ee\u9898&#xff0c;YOLOv12\u5f15\u5165\u4e86\u6b8b\u5dee\u9ad8\u6548\u5c42\u805a\u5408\u7f51\u7edc&#xff08;R-ELAN&#xff09;&#xff0c;\u901a\u8fc7\u6dfb\u52a0\u5757\u7ea7\u6b8b\u5dee\u8fde\u63a5\u548c\u7f29\u653e\u56e0\u5b50&#xff08;\u9ed8\u8ba4\u503c\u4e3a0.01&#xff09;\u6765\u589e\u5f3a\u6a21\u578b\u7684\u7a33\u5b9a\u6027\u3002\u8fd9\u79cd\u65b9\u6cd5\u4e0d\u4ec5\u80fd\u7f13\u89e3\u68af\u5ea6\u6d88\u5931\u95ee\u9898&#xff0c;\u8fd8\u80fd\u63d0\u9ad8\u8bad\u7ec3\u8fc7\u7a0b\u4e2d\u7684\u6536\u655b\u901f\u5ea6\u3002\u53e6\u5916&#xff0c;R-ELAN\u91cd\u65b0\u8bbe\u8ba1\u4e86\u7279\u5f81\u805a\u5408\u7684\u65b9\u6cd5&#xff0c;\u521b\u5efa\u4e86\u4e00\u4e2a\u7c7b\u4f3c\u74f6\u9888\u7684\u7ed3\u6784&#xff0c;\u8fd9\u6837\u65e2\u80fd\u6709\u6548\u5730\u51cf\u5c11\u8ba1\u7b97\u91cf&#xff0c;\u53c8\u80fd\u786e\u4fdd\u4fe1\u606f\u6d41\u7684\u987a\u7545\u4f20\u9012\u3002<\/p>\n<p>R-ELAN\u7684\u5e94\u7528\u5e26\u6765\u4e86\u663e\u8457\u7684\u6027\u80fd\u6539\u5584&#xff1a;\u53c2\u6570\u91cf\u51cf\u5c11\u4e8618%&#xff0c;FLOPs\u964d\u4f4e\u4e8624%&#xff0c;\u8fd9\u8868\u660e\u6a21\u578b\u53d8\u5f97\u66f4\u52a0\u8f7b\u91cf\u5316\u4e14\u8ba1\u7b97\u6548\u7387\u66f4\u9ad8\u3002\u5c24\u5176\u662f\u5728\u5904\u7406\u8f83\u5927\u89c4\u6a21\u7684\u6570\u636e\u96c6\u65f6&#xff0c;R-ELAN\u5c55\u73b0\u51fa\u4e86\u66f4\u597d\u7684\u7a33\u5b9a\u6027\u548c\u66f4\u9ad8\u7684\u51c6\u786e\u6027\u3002\u4e0e\u524d\u4ee3\u4ea7\u54c1\u76f8\u6bd4&#xff0c;\u8fd9\u79cd\u67b6\u6784\u4f18\u5316\u4e0d\u4ec5\u589e\u5f3a\u4e86\u6a21\u578b\u7684\u9c81\u68d2\u6027&#xff0c;\u8fd8\u5728\u4e00\u5b9a\u7a0b\u5ea6\u4e0a\u7f29\u77ed\u4e86\u8bad\u7ec3\u65f6\u95f4&#xff0c;\u4f7f\u5f97YOLOv12\u80fd\u591f\u5728\u5404\u79cd\u5e94\u7528\u573a\u666f\u4e2d\u66f4\u52a0\u7075\u6d3b\u5730\u90e8\u7f72\u3002<\/p>\n<h3>3. \u67b6\u6784\u7ea7\u4f18\u5316<\/h3>\n<p>YOLOv12\u7684\u67b6\u6784\u7ea7\u4f18\u5316\u6452\u5f03\u4e86YOLOv11\u7684\u5197\u4f59\u8bbe\u8ba1&#xff0c;\u901a\u8fc7\u7cfb\u7edf\u6027\u7cbe\u7b80\u5b9e\u73b0\u6548\u7387\u6700\u5927\u5316&#xff1a;<\/p>\n<li>MLP\u6bd4\u4f8b\u52a8\u6001\u8c03\u6574&#xff1a;\u5c06Transformer\u4e2dMLP\u6269\u5c55\u6bd4\u4f8b\u4ece4\u964d\u81f32&#xff0c;\u5e73\u8861\u6ce8\u610f\u529b\u5c42&#xff08;O(n\u00b2)&#xff09;\u4e0e\u524d\u9988\u5c42&#xff08;O(n)&#xff09;\u8ba1\u7b97\u91cf&#xff0c;\u907f\u514dMLP\u6210\u4e3a\u6027\u80fd\u74f6\u9888&#xff1b;<\/li>\n<li>\u4f4d\u7f6e\u7f16\u7801\u9690\u5f0f\u5316&#xff1a;\u79fb\u9664\u663e\u5f0f\u4f4d\u7f6e\u7f16\u7801&#xff0c;\u4ee3\u4e4b\u4ee57\u00d77\u6df1\u5ea6\u53ef\u5206\u79bb\u5377\u79ef&#xff08;DSConv&#xff09; \u4f5c\u4e3a\u201c\u4f4d\u7f6e\u611f\u77e5\u5668\u201d&#xff0c;\u5229\u7528\u5377\u79ef\u7684\u5c40\u90e8\u6027\u9690\u5f0f\u5efa\u6a21\u7a7a\u95f4\u4fe1\u606f&#xff0c;\u51cf\u5c11\u989d\u5916\u53c2\u6570&#xff08;\u4f4d\u7f6e\u7f16\u7801\u5360\u6a21\u578b3.2%\u53c2\u6570&#xff09;&#xff1b;<\/li>\n<li>\u7ed3\u6784\u6df1\u5ea6\u538b\u7f29&#xff1a;\u5c06\u5806\u53e0\u5757\u6570\u91cf\u4eceYOLOv11\u76843\u7ec4\u7cbe\u7b80\u81f31\u7ec4&#xff0c;\u901a\u8fc7\u74f6\u9888\u7ed3\u6784&#xff08;Bottleneck&#xff09;\u964d\u4f4e\u6df1\u5ea6&#xff0c;\u52a0\u901f\u7279\u5f81\u878d\u5408&#xff1b;<\/li>\n<li>\u5377\u79ef\u7b97\u5b50\u96c6\u6210&#xff1a;\u5728\u5173\u952e\u5c42&#xff08;\u5982\u7279\u5f81\u878d\u5408\u5c42&#xff09;\u4fdd\u7559\u9ad8\u6548\u5377\u79ef\u64cd\u4f5c&#xff0c;\u66ff\u4ee3\u90e8\u5206\u81ea\u6ce8\u610f\u529b&#xff0c;\u51cf\u5c11\u53c2\u6570\u91cf&#xff08;\u5377\u79ef\u5360\u6bd4\u63d0\u5347\u81f368%&#xff09;\u3002\u901a\u8fc7\u8ba1\u7b97\u6d41\u91cd\u6784&#xff08;\u5982MLP\u6bd4\u4f8b\u4e0eDSConv\u534f\u540c&#xff09;\u5b9e\u73b0\u7cfb\u7edf\u7ea7\u6548\u7387\u63d0\u5347&#xff0c;\u5f7b\u5e95\u6253\u7834YOLOv11\u201c\u6a21\u5757\u5806\u780c\u201d\u6a21\u5f0f\u3002<\/li>\n<h2>\u4e09\u3001YOLOv12\u6027\u80fd\u57fa\u51c6<\/h2>\n<p>\u4e86\u89e3\u67b6\u6784\u9769\u65b0\u540e&#xff0c;\u6211\u6574\u7406\u4e86\u5b98\u65b9YOLO11\u548cYOLO12\u7684\u6d4b\u8bd5\u6570\u636e&#xff0c;\u505a\u6210\u4e0b\u9762\u8fd9\u4e2a\u5bf9\u6bd4\u8868\u3002\u4e0b\u8868\u57fa\u4e8eCOCO val2017\u6570\u636e\u96c6&#xff0c;\u5728\u76f8\u540c\u786c\u4ef6\u914d\u7f6e\u4e0b\u5bf9\u6bd4YOLO11\u4e0eYOLO12\u5404\u5c3a\u5bf8\u6a21\u578b\u7684\u6027\u80fd\u8868\u73b0&#xff1a;<\/p>\n<table>\n<tr>Modelsize(pixels)mAPval(50-95)Speed T4(ms)params(M)FLOPs(B)<\/tr>\n<tbody>\n<tr>\n<td>YOLO11n<\/td>\n<td>640<\/td>\n<td>39.5<\/td>\n<td>1.50<\/td>\n<td>2.6<\/td>\n<td>6.5<\/td>\n<\/tr>\n<tr>\n<td>YOLO12n<\/td>\n<td>640<\/td>\n<td>40.4<\/td>\n<td>1.60<\/td>\n<td>2.5<\/td>\n<td>6.0<\/td>\n<\/tr>\n<tr>\n<td>YOLO11s<\/td>\n<td>640<\/td>\n<td>47.0<\/td>\n<td>2.50<\/td>\n<td>9.4<\/td>\n<td>21.5<\/td>\n<\/tr>\n<tr>\n<td>YOLO12s<\/td>\n<td>640<\/td>\n<td>47.6<\/td>\n<td>2.42<\/td>\n<td>9.1<\/td>\n<td>19.4<\/td>\n<\/tr>\n<tr>\n<td>YOLO11m<\/td>\n<td>640<\/td>\n<td>51.5<\/td>\n<td>4.70<\/td>\n<td>20.1<\/td>\n<td>68.0<\/td>\n<\/tr>\n<tr>\n<td>YOLO12m<\/td>\n<td>640<\/td>\n<td>52.5<\/td>\n<td>4.27<\/td>\n<td>19.6<\/td>\n<td>59.8<\/td>\n<\/tr>\n<tr>\n<td>YOLO11l<\/td>\n<td>640<\/td>\n<td>53.4<\/td>\n<td>6.20<\/td>\n<td>25.3<\/td>\n<td>86.9<\/td>\n<\/tr>\n<tr>\n<td>YOLO12l<\/td>\n<td>640<\/td>\n<td>53.8<\/td>\n<td>5.83<\/td>\n<td>26.5<\/td>\n<td>82.4<\/td>\n<\/tr>\n<tr>\n<td>YOLO11x<\/td>\n<td>640<\/td>\n<td>54.7<\/td>\n<td>11.30<\/td>\n<td>56.9<\/td>\n<td>194.9<\/td>\n<\/tr>\n<tr>\n<td>YOLO12x<\/td>\n<td>640<\/td>\n<td>55.4<\/td>\n<td>10.38<\/td>\n<td>59.3<\/td>\n<td>184.6<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u51e0\u4e2a\u5173\u952e\u53d1\u73b0&#xff1a; YOLOv12-N\u6bd4YOLOv10-N\u9ad82.1% mAP&#xff0c;\u6bd4YOLOv11-N\u9ad81.2% mAP&#xff0c;\u901f\u5ea6\u76f8\u5f53\u3002 \u53ef\u89c6\u5316\u5206\u6790\u663e\u793aYOLOv12\u4ea7\u751f\u66f4\u6e05\u6670\u7684\u7269\u4f53\u8f6e\u5ed3\u548c\u66f4\u7cbe\u786e\u7684\u524d\u666f\u6fc0\u6d3b\u3002\u5728\u5de5\u4e1a\u68c0\u6d4b\u7b49\u5e94\u7528\u4e2d&#xff0c;YOLOv12\u663e\u793a\u51fa\u66f4\u51c6\u786e\u7684\u7f3a\u9677\u5b9a\u4f4d\u80fd\u529b\u3002<\/p>\n<p>\u4e0e\u7ade\u54c1\u7684\u5bf9\u6bd4 \u4e0e\u540c\u7c7b\u6a21\u578b\u76f8\u6bd4&#xff0c;YOLOv12\u5c55\u73b0\u51fa\u663e\u8457\u4f18\u52bf&#xff0c;\u4e0eYOLO\u7cfb\u5217\u524d\u4ee3\u6bd4\u8f83\u76f8\u6bd4YOLOv10\/v11&#xff0c;Nano\u7248\u672cmAP\u63d0\u5347\u663e\u8457(2.1%\/1.2%)&#xff0c;\u4e14\u4fdd\u6301\u5b9e\u65f6\u6027\u80fd\u3002 \u8bad\u7ec3\u66f2\u7ebf\u66f4\u7a33\u5b9a&#xff0c;\u53ef\u5b8c\u6210\u5b8c\u6574600\u8f6e\u8bad\u7ec3&#xff0c;\u800cYOLOv8\u901a\u5e38\u5728200\u8f6e\u540e\u56e0\u6027\u80fd\u63d0\u5347\u6709\u9650\u800c\u65e9\u505c\u3002<\/p>\n<p>\u4e0eRT-DETR\u7cfb\u5217\u6bd4\u8f83&#xff0c;YOLOv12-S\u6bd4RT-DETR-R18\/RT-DETRv2-R18\u5feb42%&#xff0c;\u8ba1\u7b97\u91cf\u548c\u53c2\u6570\u51cf\u5c1136%\/45%\u3002\u5728\u76f8\u540c\u786c\u4ef6\u4e0a&#xff0c;mAP\u63d0\u9ad81.5%\/0.1%\u3002 YOLO12\u80fd\u591f\u9ad8\u6548\u652f\u6301\u4ee5\u4e0b\u591a\u79cd\u8ba1\u7b97\u673a\u89c6\u89c9\u4efb\u52a1&#xff1a;<\/p>\n<ul>\n<li>\u76ee\u6807\u68c0\u6d4b&#xff1a;\u5728\u56fe\u50cf\u6216\u89c6\u9891\u5e27\u4e2d\u8bc6\u522b\u5e76\u5b9a\u4f4d\u591a\u4e2a\u7269\u4f53\u3002<\/li>\n<li>\u5b9e\u4f8b\u5206\u5272&#xff1a;\u5bf9\u7269\u4f53\u8fdb\u884c\u50cf\u7d20\u7ea7\u7684\u7cbe\u786e\u8f6e\u5ed3\u5212\u5206\u3002<\/li>\n<li>\u56fe\u50cf\u5206\u7c7b&#xff1a;\u5c06\u6574\u5e45\u56fe\u50cf\u5f52\u5165\u76f8\u5e94\u7684\u7c7b\u522b\u6216\u6807\u7b7e\u3002<\/li>\n<\/ul>\n<h2>\u56db\u3001\u73af\u5883\u642d\u5efa&#xff08;windows\u7248\u672c&#xff09;<\/h2>\n<p>\u6ce8&#xff1a;\u5229\u7528Anaconda\u6765\u642d\u5efawindows\u57fa\u7840\u73af\u5883&#xff0c;YOLO12\u63a8\u8350**python3.11\u3001pyTorch 2.4.1\u3001torchvision 0.19.1\u3001torchaudio 2.4.1\u3001ultralytics 8.3.63 **<\/p>\n<h3>1\u3001\u57fa\u7840\u73af\u5883\u642d\u5efa<\/h3>\n<p><span class=\"token comment\">#1. \u521b\u5efa\u865a\u62df\u73af\u5883<\/span><br \/>\nconda create <span class=\"token parameter variable\">-n<\/span> yolov12 <span class=\"token assign-left variable\">python<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token number\">3.11<\/span><\/p>\n<p><span class=\"token comment\">#2. \u8fdb\u5165\u865a\u62df\u73af\u5883<\/span><br \/>\nconda activate yolov12<\/p>\n<p><span class=\"token comment\">#3. \u4e0b\u8f7dYOLO12\u6e90\u7801<\/span><br \/>\n<span class=\"token function\">git<\/span> clone https:\/\/github.com\/sunsmarterjie\/yolov12.git<\/p>\n<p><span class=\"token comment\"># 4. \u4e0b\u8f7d\u9884\u8bad\u7ec3\u73af\u5883<\/span><br \/>\n<span class=\"token function\">wget<\/span> https:\/\/github.com\/sunsmarterjie\/yolov12\/releases\/download\/v1.0\/yolov12n.pt<br \/>\n<span class=\"token function\">wget<\/span> https:\/\/github.com\/sunsmarterjie\/yolov12\/releases\/download\/v1.0\/yolov12s.pt<br \/>\n<span class=\"token function\">wget<\/span> https:\/\/github.com\/sunsmarterjie\/yolov12\/releases\/download\/seg\/yolov12n-seg.pt<br \/>\n<span class=\"token function\">wget<\/span> https:\/\/github.com\/sunsmarterjie\/yolov12\/releases\/download\/v1.0\/yolov12s.pt<\/p>\n<p><span class=\"token comment\"># 5. \u5b89\u88c5pytorch&#xff08;GPU&#xff09;\u901a\u5e38\u5916\u7f51\u4e0b\u8f7d\u6bd4\u8f83\u6162&#xff0c;\u53ef\u4ee5\u79d1\u5b66\u4e0a\u7f51\u4e0b\u8f7d\u540e&#xff0c;\u79bb\u7ebf\u5b89\u88c5<\/span><br \/>\npip <span class=\"token function\">install<\/span> <span class=\"token assign-left variable\">torch<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token number\">2.4<\/span>.1 <span class=\"token assign-left variable\">torchvision<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token number\">0.19<\/span>.1 <span class=\"token assign-left variable\">torchaudio<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token number\">2.4<\/span>.1 &#8211;index-url https:\/\/download.pytorch.org\/whl\/cu124<\/p>\n<h3>2. requirements.txt\u5b89\u88c5<\/h3>\n<p>\u8fdb\u5165yolov12-main \u8fd9\u4e2a\u6587\u4ef6\u5939&#xff0c;\u5c06\u524d\u4e09\u884c\u7ed9\u6ce8\u91ca\u6389&#xff0c;\u56e0\u4e3atorch\u76f8\u5173\u7684\u6211\u4eec\u5df2\u7ecf\u624b\u52a8\u5b8c\u6210\u5b89\u88c5&#xff0c;\u4ee5\u53caflash_attn\u7ec4\u4ef6\u662flinux\u7248\u672c&#xff0c;\u6211\u4eecwindows\u4e0a\u7684\u9700\u8981\u624b\u52a8\u5b89\u88c5\u3002 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260127071817-697866b9baafc.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u4e4b\u540e\u8fdb\u884c\u5b89\u88c5<\/p>\n<p>pip <span class=\"token function\">install<\/span> <span class=\"token parameter variable\">-r<\/span> requirements.txt<br \/>\npip <span class=\"token function\">install<\/span> <span class=\"token parameter variable\">-e<\/span> <span class=\"token builtin class-name\">.<\/span><\/p>\n<p><span class=\"token comment\">#torch&#061;&#061;2.2.2 <\/span><br \/>\n<span class=\"token comment\">#torchvision&#061;&#061;0.17.2<\/span><br \/>\n<span class=\"token comment\">#flash_attn-2.7.3&#043;cu11torch2.2cxx11abiFALSE-cp311-cp311-linux_x86_64.whl<\/span><br \/>\ntimm<span class=\"token operator\">&#061;&#061;<\/span><span class=\"token number\">1.0<\/span><span class=\"token number\">.14<\/span><br \/>\nalbumentations<span class=\"token operator\">&#061;&#061;<\/span><span class=\"token number\">2.0<\/span><span class=\"token number\">.4<\/span><br \/>\nonnx<span class=\"token operator\">&#061;&#061;<\/span><span class=\"token number\">1.14<\/span><span class=\"token number\">.0<\/span><br \/>\nonnxruntime<span class=\"token operator\">&#061;&#061;<\/span><span class=\"token number\">1.15<\/span><span class=\"token number\">.1<\/span><br \/>\npycocotools<span class=\"token operator\">&#061;&#061;<\/span><span class=\"token number\">2.0<\/span><span class=\"token number\">.7<\/span><br \/>\nPyYAML<span class=\"token operator\">&#061;&#061;<\/span><span class=\"token number\">6.0<\/span><span class=\"token number\">.1<\/span><br \/>\nscipy<span class=\"token operator\">&#061;&#061;<\/span><span class=\"token number\">1.13<\/span><span class=\"token number\">.0<\/span><br \/>\nonnxslim<span class=\"token operator\">&#061;&#061;<\/span><span class=\"token number\">0.1<\/span><span class=\"token number\">.31<\/span><br \/>\nonnxruntime<span class=\"token operator\">&#8211;<\/span>gpu<span class=\"token operator\">&#061;&#061;<\/span><span class=\"token number\">1.18<\/span><span class=\"token number\">.0<\/span><br \/>\ngradio<span class=\"token operator\">&#061;&#061;<\/span><span class=\"token number\">4.44<\/span><span class=\"token number\">.1<\/span><br \/>\nopencv<span class=\"token operator\">&#8211;<\/span>python<span class=\"token operator\">&#061;&#061;<\/span><span class=\"token number\">4.9<\/span><span class=\"token number\">.0<\/span><span class=\"token number\">.80<\/span><br \/>\npsutil<span class=\"token operator\">&#061;&#061;<\/span><span class=\"token number\">5.9<\/span><span class=\"token number\">.8<\/span><br \/>\npy<span class=\"token operator\">&#8211;<\/span>cpuinfo<span class=\"token operator\">&#061;&#061;<\/span><span class=\"token number\">9.0<\/span><span class=\"token number\">.0<\/span><br \/>\nhuggingface<span class=\"token operator\">&#8211;<\/span>hub<span class=\"token operator\">&#061;&#061;<\/span><span class=\"token number\">0.23<\/span><span class=\"token number\">.2<\/span><br \/>\nsafetensors<span class=\"token operator\">&#061;&#061;<\/span><span class=\"token number\">0.4<\/span><span class=\"token number\">.3<\/span><br \/>\nnumpy<span class=\"token operator\">&#061;&#061;<\/span><span class=\"token number\">1.26<\/span><span class=\"token number\">.4<\/span><\/p>\n<h3>3. \u5b89\u88c5flash-attention<\/h3>\n<p>\u8fdb\u5165flash-attention&#xff0c;\u9009\u4e2d\u76f8\u5bf9\u5e94\u7248\u672c&#xff0c;\u4e0b\u8f7d\u5b8c\u6210\u4e4b\u540e\u9700\u8981\u672c\u5730\u5b89\u88c5&#xff0c;\u590d\u5236\u5230yolov12-main\u6587\u4ef6\u5939\u4e2d&#xff0c;cd\u5230yolov12-main\u6587\u4ef6\u5939\u540e&#xff0c;\u8fdb\u884c\u5b89\u88c5\u3002<img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260127071817-697866b9ce17f.jpg\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>pip <span class=\"token function\">install<\/span> flash_attn-2.7.0.post2&#043;cu124torch2.4.1cxx11abiFALSE-cp311-cp311-win_amd64.whl<\/p>\n<h3>4. \u73af\u5883\u9a8c\u8bc1<\/h3>\n<p>\u5728yolov12-main\u6587\u4ef6\u5939\u4e2d\u521b\u5efa\u4e00\u4e2ainfer.py\u811a\u672c&#xff0c;\u52a0\u8f7d\u68c0\u6d4b\u548c\u5206\u5272\u7684\u9884\u8bad\u7ec3\u6743\u91cd&#xff0c;\u786e\u4fdd\u73af\u5883\u6ca1\u6709\u95ee\u9898<\/p>\n<p><span class=\"token keyword\">from<\/span> ultralytics <span class=\"token keyword\">import<\/span> YOLO<\/p>\n<p>model <span class=\"token operator\">&#061;<\/span> YOLO<span class=\"token punctuation\">(<\/span><span class=\"token string\">&#039;yolov12n\/yolov12{n\/n-seg}.pt&#039;<\/span><span class=\"token punctuation\">)<\/span><br \/>\nmodel<span class=\"token punctuation\">.<\/span>predict<span class=\"token punctuation\">(<\/span>source<span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#039;bus.jpg&#039;<\/span><span class=\"token punctuation\">,<\/span>save<span class=\"token operator\">&#061;<\/span><span class=\"token boolean\">True<\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260127071819-697866bbdcf26.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260127071820-697866bc1ce4e.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h2>\u4e94\u3001\u91cf\u5316\u6d41\u7a0b<\/h2>\n<h3>1. \u5728\u4e0a\u8ff0\u73af\u5883\u4e2d\u5b89\u88c5\u91cf\u5316\u4f9d\u8d56\u5e93<\/h3>\n<p>pip install <span class=\"token operator\">&#8211;<\/span>U pnnx ncnn<\/p>\n<p> \u5f85\u66f4\u65b0&#8211;260126&#8211;<\/p>\n<p>&#x1f337;&#x1f337;&#x1f340;&#x1f340;&#x1f33e;&#x1f33e;&#x1f353;&#x1f353;&#x1f342;&#x1f342;&#x1f64b;&#x1f64b;&#x1f438;&#x1f438;&#x1f64b;&#x1f64b;&#x1f496;&#x1f496;&#x1f34c;&#x1f34c;&#x1f514;&#x1f514;&#x1f349;&#x1f349;&#x1f36d;&#x1f36d;&#x1f34b;&#x1f34b;&#x1f347;&#x1f347;&#x1f3c6;&#x1f3c6;&#x1f4f8;&#x1f4f8;\u26f5\u26f5\u2b50\u2b50&#x1f34e;&#x1f34e;&#x1f44d;&#x1f44d;&#x1f337;&#x1f337;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u63d0\u793a&#xff1a;\u6587\u7ae0\u5199\u5b8c\u540e&#xff0c;\u76ee\u5f55\u53ef\u4ee5\u81ea\u52a8\u751f\u6210&#xff0c;\u5982\u4f55\u751f\u6210\u53ef\u53c2\u8003\u53f3\u8fb9\u7684\u5e2e\u52a9\u6587\u6863 \u6587\u7ae0\u76ee\u5f55\u4e00\u3001\u524d\u8a00\u4e8c\u3001YOLOv12\u7684\u6838\u5fc3\u521b\u65b0&#xff1a;\u9ad8\u6548\u6ce8\u610f\u529b\u673a\u5236\u7684\u9769\u547d1. \u533a\u57df\u6ce8\u610f\u529b(Area Attention&#xff0c;A2)\u673a\u52362. \u6b8b\u5dee\u9ad8\u6548\u5c42\u805a\u5408\u7f51\u7edc&#xff08;R-ELAN&#xff09;3. \u67b6\u6784\u7ea7\u4f18\u5316\u4e09\u3001YOLOv12\u6027\u80fd\u57fa\u51c6\u56db\u3001\u73af\u5883\u642d\u5efa&#xff08;windows\u7248\u672c&#xff09;**1\u3001\u57fa\u7840\u73af\u5883\u642d\u5efa****2. require<\/p>\n","protected":false},"author":2,"featured_media":66770,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[156,86,1326,671],"topic":[],"class_list":["post-66775","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-yolo","tag-86","tag-1326","tag-671"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>YOLO12\u5168\u9762\u89e3\u6790\u4e0e\u5b89\u5353\u5e73\u53f0NCNN\u90e8\u7f72\u5b9e\u6218\uff1a\u9ad8\u6548\u6ce8\u610f\u529b\u673a\u5236\u7684\u843d\u5730\u5b9e\u8df5\uff08\u5f85\u66f4\u65b0\uff09 - \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\/66775.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"YOLO12\u5168\u9762\u89e3\u6790\u4e0e\u5b89\u5353\u5e73\u53f0NCNN\u90e8\u7f72\u5b9e\u6218\uff1a\u9ad8\u6548\u6ce8\u610f\u529b\u673a\u5236\u7684\u843d\u5730\u5b9e\u8df5\uff08\u5f85\u66f4\u65b0\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u63d0\u793a&#xff1a;\u6587\u7ae0\u5199\u5b8c\u540e&#xff0c;\u76ee\u5f55\u53ef\u4ee5\u81ea\u52a8\u751f\u6210&#xff0c;\u5982\u4f55\u751f\u6210\u53ef\u53c2\u8003\u53f3\u8fb9\u7684\u5e2e\u52a9\u6587\u6863 \u6587\u7ae0\u76ee\u5f55\u4e00\u3001\u524d\u8a00\u4e8c\u3001YOLOv12\u7684\u6838\u5fc3\u521b\u65b0&#xff1a;\u9ad8\u6548\u6ce8\u610f\u529b\u673a\u5236\u7684\u9769\u547d1. \u533a\u57df\u6ce8\u610f\u529b(Area Attention&#xff0c;A2)\u673a\u52362. \u6b8b\u5dee\u9ad8\u6548\u5c42\u805a\u5408\u7f51\u7edc&#xff08;R-ELAN&#xff09;3. \u67b6\u6784\u7ea7\u4f18\u5316\u4e09\u3001YOLOv12\u6027\u80fd\u57fa\u51c6\u56db\u3001\u73af\u5883\u642d\u5efa&#xff08;windows\u7248\u672c&#xff09;**1\u3001\u57fa\u7840\u73af\u5883\u642d\u5efa****2. require\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/66775.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-01-27T07:18:21+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260127071817-697866b938c49.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=\"4 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/66775.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/66775.html\",\"name\":\"YOLO12\u5168\u9762\u89e3\u6790\u4e0e\u5b89\u5353\u5e73\u53f0NCNN\u90e8\u7f72\u5b9e\u6218\uff1a\u9ad8\u6548\u6ce8\u610f\u529b\u673a\u5236\u7684\u843d\u5730\u5b9e\u8df5\uff08\u5f85\u66f4\u65b0\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-01-27T07:18:21+00:00\",\"dateModified\":\"2026-01-27T07:18:21+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/66775.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/66775.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/66775.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"YOLO12\u5168\u9762\u89e3\u6790\u4e0e\u5b89\u5353\u5e73\u53f0NCNN\u90e8\u7f72\u5b9e\u6218\uff1a\u9ad8\u6548\u6ce8\u610f\u529b\u673a\u5236\u7684\u843d\u5730\u5b9e\u8df5\uff08\u5f85\u66f4\u65b0\uff09\"}]},{\"@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":"YOLO12\u5168\u9762\u89e3\u6790\u4e0e\u5b89\u5353\u5e73\u53f0NCNN\u90e8\u7f72\u5b9e\u6218\uff1a\u9ad8\u6548\u6ce8\u610f\u529b\u673a\u5236\u7684\u843d\u5730\u5b9e\u8df5\uff08\u5f85\u66f4\u65b0\uff09 - \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\/66775.html","og_locale":"zh_CN","og_type":"article","og_title":"YOLO12\u5168\u9762\u89e3\u6790\u4e0e\u5b89\u5353\u5e73\u53f0NCNN\u90e8\u7f72\u5b9e\u6218\uff1a\u9ad8\u6548\u6ce8\u610f\u529b\u673a\u5236\u7684\u843d\u5730\u5b9e\u8df5\uff08\u5f85\u66f4\u65b0\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u63d0\u793a&#xff1a;\u6587\u7ae0\u5199\u5b8c\u540e&#xff0c;\u76ee\u5f55\u53ef\u4ee5\u81ea\u52a8\u751f\u6210&#xff0c;\u5982\u4f55\u751f\u6210\u53ef\u53c2\u8003\u53f3\u8fb9\u7684\u5e2e\u52a9\u6587\u6863 \u6587\u7ae0\u76ee\u5f55\u4e00\u3001\u524d\u8a00\u4e8c\u3001YOLOv12\u7684\u6838\u5fc3\u521b\u65b0&#xff1a;\u9ad8\u6548\u6ce8\u610f\u529b\u673a\u5236\u7684\u9769\u547d1. \u533a\u57df\u6ce8\u610f\u529b(Area Attention&#xff0c;A2)\u673a\u52362. \u6b8b\u5dee\u9ad8\u6548\u5c42\u805a\u5408\u7f51\u7edc&#xff08;R-ELAN&#xff09;3. \u67b6\u6784\u7ea7\u4f18\u5316\u4e09\u3001YOLOv12\u6027\u80fd\u57fa\u51c6\u56db\u3001\u73af\u5883\u642d\u5efa&#xff08;windows\u7248\u672c&#xff09;**1\u3001\u57fa\u7840\u73af\u5883\u642d\u5efa****2. require","og_url":"https:\/\/www.wsisp.com\/helps\/66775.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-01-27T07:18:21+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260127071817-697866b938c49.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"4 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/66775.html","url":"https:\/\/www.wsisp.com\/helps\/66775.html","name":"YOLO12\u5168\u9762\u89e3\u6790\u4e0e\u5b89\u5353\u5e73\u53f0NCNN\u90e8\u7f72\u5b9e\u6218\uff1a\u9ad8\u6548\u6ce8\u610f\u529b\u673a\u5236\u7684\u843d\u5730\u5b9e\u8df5\uff08\u5f85\u66f4\u65b0\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-01-27T07:18:21+00:00","dateModified":"2026-01-27T07:18:21+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/66775.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/66775.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/66775.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"YOLO12\u5168\u9762\u89e3\u6790\u4e0e\u5b89\u5353\u5e73\u53f0NCNN\u90e8\u7f72\u5b9e\u6218\uff1a\u9ad8\u6548\u6ce8\u610f\u529b\u673a\u5236\u7684\u843d\u5730\u5b9e\u8df5\uff08\u5f85\u66f4\u65b0\uff09"}]},{"@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\/66775","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=66775"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/66775\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/66770"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=66775"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=66775"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=66775"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=66775"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}