{"id":67563,"date":"2026-01-28T22:56:44","date_gmt":"2026-01-28T14:56:44","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/67563.html"},"modified":"2026-01-28T22:56:44","modified_gmt":"2026-01-28T14:56:44","slug":"%e6%b7%b1%e5%ba%a6%e5%ad%a6%e4%b9%a0%e7%af%87-yolov8n%e7%bd%91%e7%bb%9c%e5%8f%82%e6%95%b0%e8%af%a6%e7%bb%86%e8%a7%a3%e6%9e%90","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/67563.html","title":{"rendered":"\u6df1\u5ea6\u5b66\u4e60\u7bc7---YOLOv8n\u7f51\u7edc\u53c2\u6570\u8be6\u7ec6\u89e3\u6790"},"content":{"rendered":"<h2>YOLOv8 \u7f51\u7edc\u53c2\u6570\u8be6\u7ec6\u89e3\u6790<\/h2>\n<h3>\u4e00\u3001\u6574\u4f53\u67b6\u6784\u6982\u89c8<\/h3>\n<p>\u8fd9\u662f\u4e00\u4e2a\u00a0YOLOv8n&#xff08;Nano&#xff09;\u00a0\u6a21\u578b\u7684\u914d\u7f6e\u6587\u4ef6&#xff0c;\u5177\u6709\u00a0129\u5c42&#xff0c;315\u4e07\u53c2\u6570&#xff0c;\u8ba1\u7b97\u91cf\u00a08.9 GFLOPS\u3002<\/p>\n<p>\u6574\u4f53\u7ed3\u6784&#xff1a;<br \/>\n\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510<br \/>\n\u2502   Input 640\u00d7640 \u2502<br \/>\n\u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524<br \/>\n\u2502                 \u2502<br \/>\n\u2502   Backbone      \u2502\u2500\u2500\u2500\u25ba \u7279\u5f81\u63d0\u53d6&#xff08;10\u5c42&#xff09;<br \/>\n\u2502                 \u2502<br \/>\n\u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524<br \/>\n\u2502                 \u2502<br \/>\n\u2502   Neck          \u2502\u2500\u2500\u2500\u25ba \u7279\u5f81\u878d\u5408&#xff08;12\u5c42&#xff09;<br \/>\n\u2502                 \u2502<br \/>\n\u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524<br \/>\n\u2502                 \u2502<br \/>\n\u2502   Head          \u2502\u2500\u2500\u2500\u25ba \u68c0\u6d4b\u8f93\u51fa&#xff08;1\u5c42&#xff09;<br \/>\n\u2502                 \u2502<br \/>\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<\/p>\n<h3>\u4e8c\u3001\u53c2\u6570\u8be6\u89e3<\/h3>\n<h4>2.1 \u57fa\u672c\u53c2\u6570<\/h4>\n<p>nc: 80  # \u68c0\u6d4b\u7c7b\u522b\u6570&#xff08;COCO\u6570\u636e\u96c680\u7c7b&#xff09;<br \/>\nscales:<br \/>\n  n: [0.33, 0.25, 1024]  # \u6df1\u5ea6\u56e0\u5b50, \u5bbd\u5ea6\u56e0\u5b50, \u6700\u5927\u901a\u9053\u6570<\/p>\n<p>\u7f29\u653e\u53c2\u6570\u542b\u4e49&#xff1a;<\/p>\n<ul>\n<li>\n<p>\u6df1\u5ea6\u56e0\u5b50 0.33&#xff1a;\u5c06\u57fa\u7840\u6a21\u5757\u7684\u91cd\u590d\u6b21\u6570\u7f29\u653e\u4e3a\u539f\u6765\u76840.33\u500d<\/p>\n<\/li>\n<li>\n<p>\u5bbd\u5ea6\u56e0\u5b50 0.25&#xff1a;\u5c06\u901a\u9053\u6570\u7f29\u653e\u4e3a\u539f\u6765\u76840.25\u500d<\/p>\n<\/li>\n<li>\n<p>\u6700\u5927\u901a\u9053\u6570 1024&#xff1a;\u901a\u9053\u6570\u7684\u4e0a\u9650<\/p>\n<\/li>\n<\/ul>\n<h4>2.2 \u9aa8\u5e72\u7f51\u7edc&#xff08;Backbone&#xff09;\u89e3\u6790<\/h4>\n<h5>2.2.1 \u9aa8\u5e72\u7f51\u7edc\u7ed3\u6784\u8868<\/h5>\n<table>\n<tr>\u5e8f\u53f7fromrepeatsmoduleargs\u8f93\u51fa\u7279\u5f81\u56fe\u8bf4\u660e<\/tr>\n<tbody>\n<tr>\n<td>0<\/td>\n<td>-1<\/td>\n<td>1<\/td>\n<td>Conv<\/td>\n<td>[64, 3, 2]<\/td>\n<td>320\u00d7320\u00d764<\/td>\n<td>P1\/2\u00a0&#8211; 2\u500d\u4e0b\u91c7\u6837<\/td>\n<\/tr>\n<tr>\n<td>1<\/td>\n<td>-1<\/td>\n<td>1<\/td>\n<td>Conv<\/td>\n<td>[128, 3, 2]<\/td>\n<td>160\u00d7160\u00d7128<\/td>\n<td>P2\/4\u00a0&#8211; 4\u500d\u4e0b\u91c7\u6837<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>-1<\/td>\n<td>3<\/td>\n<td>C2f<\/td>\n<td>[128, True]<\/td>\n<td>160\u00d7160\u00d7128<\/td>\n<td>\u7279\u5f81\u63d0\u53d6<\/td>\n<\/tr>\n<tr>\n<td>3<\/td>\n<td>-1<\/td>\n<td>1<\/td>\n<td>Conv<\/td>\n<td>[256, 3, 2]<\/td>\n<td>80\u00d780\u00d7256<\/td>\n<td>P3\/8\u00a0&#8211; 8\u500d\u4e0b\u91c7\u6837<\/td>\n<\/tr>\n<tr>\n<td>4<\/td>\n<td>-1<\/td>\n<td>6<\/td>\n<td>C2f<\/td>\n<td>[256, True]<\/td>\n<td>80\u00d780\u00d7256<\/td>\n<td>\u7279\u5f81\u63d0\u53d6<\/td>\n<\/tr>\n<tr>\n<td>5<\/td>\n<td>-1<\/td>\n<td>1<\/td>\n<td>Conv<\/td>\n<td>[512, 3, 2]<\/td>\n<td>40\u00d740\u00d7512<\/td>\n<td>P4\/16\u00a0&#8211; 16\u500d\u4e0b\u91c7\u6837<\/td>\n<\/tr>\n<tr>\n<td>6<\/td>\n<td>-1<\/td>\n<td>6<\/td>\n<td>C2f<\/td>\n<td>[512, True]<\/td>\n<td>40\u00d740\u00d7512<\/td>\n<td>\u7279\u5f81\u63d0\u53d6<\/td>\n<\/tr>\n<tr>\n<td>7<\/td>\n<td>-1<\/td>\n<td>1<\/td>\n<td>Conv<\/td>\n<td>[1024, 3, 2]<\/td>\n<td>20\u00d720\u00d71024<\/td>\n<td>P5\/32\u00a0&#8211; 32\u500d\u4e0b\u91c7\u6837<\/td>\n<\/tr>\n<tr>\n<td>8<\/td>\n<td>-1<\/td>\n<td>3<\/td>\n<td>C2f<\/td>\n<td>[1024, True]<\/td>\n<td>20\u00d720\u00d71024<\/td>\n<td>\u7279\u5f81\u63d0\u53d6<\/td>\n<\/tr>\n<tr>\n<td>9<\/td>\n<td>-1<\/td>\n<td>1<\/td>\n<td>SPPF<\/td>\n<td>[1024, 5]<\/td>\n<td>20\u00d720\u00d71024<\/td>\n<td>\u7a7a\u95f4\u91d1\u5b57\u5854\u6c60\u5316<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h5>2.2.2 \u5173\u952e\u6a21\u5757\u8bf4\u660e<\/h5>\n<p>1. Conv\u6a21\u5757&#xff1a;<\/p>\n<p># args: [\u8f93\u51fa\u901a\u9053, \u5377\u79ef\u6838\u5927\u5c0f, \u6b65\u957f]<br \/>\nConv(\u8f93\u5165\u901a\u9053, \u8f93\u51fa\u901a\u9053, \u5377\u79ef\u6838&#061;3, \u6b65\u957f&#061;2, padding&#061;1)<\/p>\n<p>2. C2f\u6a21\u5757&#xff08;\u6539\u8fdb\u7684CSP\u7ed3\u6784&#xff09;&#xff1a;<\/p>\n<p># args: [\u8f93\u51fa\u901a\u9053, shortcut]<br \/>\nC2f(\u8f93\u5165\u901a\u9053, \u8f93\u51fa\u901a\u9053, n&#061;\u91cd\u590d\u6b21\u6570, shortcut&#061;True)<\/p>\n<ul>\n<li>\n<p>n&#061;3\/6&#xff1a;Bottleneck\u6a21\u5757\u7684\u91cd\u590d\u6b21\u6570<\/p>\n<\/li>\n<li>\n<p>shortcut&#061;True&#xff1a;\u4f7f\u7528\u6b8b\u5dee\u8fde\u63a5<\/p>\n<\/li>\n<li>\n<p>\u76f8\u6bd4C3\u6a21\u5757&#xff0c;C2f\u6709\u66f4\u591a\u7684\u5206\u652f\u8fde\u63a5<\/p>\n<\/li>\n<\/ul>\n<p>3. SPPF\u6a21\u5757&#xff08;\u7a7a\u95f4\u91d1\u5b57\u5854\u5feb\u901f\u6c60\u5316&#xff09;&#xff1a;<\/p>\n<p># args: [\u8f93\u51fa\u901a\u9053, \u6c60\u5316\u6838\u5927\u5c0f]<br \/>\nSPPF(\u8f93\u5165\u901a\u9053, \u8f93\u51fa\u901a\u9053, k&#061;5)<\/p>\n<ul>\n<li>\n<p>\u5c06\u8f93\u5165\u5206\u522b\u901a\u8fc75\u00d75\u30015\u00d75\u30015\u00d75\u7684\u6700\u5927\u6c60\u5316<\/p>\n<\/li>\n<li>\n<p>\u7136\u540e\u62fc\u63a5\u7ed3\u679c&#xff0c;\u589e\u52a0\u611f\u53d7\u91ce<\/p>\n<\/li>\n<\/ul>\n<h4>2.3 \u9888\u90e8\u7f51\u7edc&#xff08;Neck&#xff09;\u89e3\u6790<\/h4>\n<h5>2.3.1 \u9888\u90e8\u7f51\u7edc\u7ed3\u6784\u8868<\/h5>\n<table>\n<tr>\u5e8f\u53f7fromrepeatsmoduleargs\u8f93\u5165\u6765\u6e90\u8f93\u51fa\u7279\u5f81\u56fe\u8bf4\u660e<\/tr>\n<tbody>\n<tr>\n<td>10<\/td>\n<td>-1<\/td>\n<td>1<\/td>\n<td>nn.Upsample<\/td>\n<td>[None, 2, &#034;nearest&#034;]<\/td>\n<td>\u5c429<\/td>\n<td>40\u00d740\u00d71024<\/td>\n<td>2\u500d\u4e0a\u91c7\u6837<\/td>\n<\/tr>\n<tr>\n<td>11<\/td>\n<td>[-1, 6]<\/td>\n<td>1<\/td>\n<td>Concat<\/td>\n<td>[1]<\/td>\n<td>\u5c4210,6<\/td>\n<td>40\u00d740\u00d71536<\/td>\n<td>\u62fc\u63a5P4\u7279\u5f81<\/td>\n<\/tr>\n<tr>\n<td>12<\/td>\n<td>-1<\/td>\n<td>3<\/td>\n<td>C2f<\/td>\n<td>[512]<\/td>\n<td>\u5c4211<\/td>\n<td>40\u00d740\u00d7512<\/td>\n<td>\u7279\u5f81\u878d\u5408<\/td>\n<\/tr>\n<tr>\n<td>13<\/td>\n<td>-1<\/td>\n<td>1<\/td>\n<td>nn.Upsample<\/td>\n<td>[None, 2, &#034;nearest&#034;]<\/td>\n<td>\u5c4212<\/td>\n<td>80\u00d780\u00d7512<\/td>\n<td>2\u500d\u4e0a\u91c7\u6837<\/td>\n<\/tr>\n<tr>\n<td>14<\/td>\n<td>[-1, 4]<\/td>\n<td>1<\/td>\n<td>Concat<\/td>\n<td>[1]<\/td>\n<td>\u5c4213,4<\/td>\n<td>80\u00d780\u00d7768<\/td>\n<td>\u62fc\u63a5P3\u7279\u5f81<\/td>\n<\/tr>\n<tr>\n<td>15<\/td>\n<td>-1<\/td>\n<td>3<\/td>\n<td>C2f<\/td>\n<td>[256]<\/td>\n<td>\u5c4214<\/td>\n<td>80\u00d780\u00d7256<\/td>\n<td>P3\/8\u8f93\u51fa<\/td>\n<\/tr>\n<tr>\n<td>16<\/td>\n<td>-1<\/td>\n<td>1<\/td>\n<td>Conv<\/td>\n<td>[256, 3, 2]<\/td>\n<td>\u5c4215<\/td>\n<td>40\u00d740\u00d7256<\/td>\n<td>\u4e0b\u91c7\u6837<\/td>\n<\/tr>\n<tr>\n<td>17<\/td>\n<td>[-1, 12]<\/td>\n<td>1<\/td>\n<td>Concat<\/td>\n<td>[1]<\/td>\n<td>\u5c4216,12<\/td>\n<td>40\u00d740\u00d7768<\/td>\n<td>\u62fc\u63a5\u4e2d\u95f4\u7279\u5f81<\/td>\n<\/tr>\n<tr>\n<td>18<\/td>\n<td>-1<\/td>\n<td>3<\/td>\n<td>C2f<\/td>\n<td>[512]<\/td>\n<td>\u5c4217<\/td>\n<td>40\u00d740\u00d7512<\/td>\n<td>P4\/16\u8f93\u51fa<\/td>\n<\/tr>\n<tr>\n<td>19<\/td>\n<td>-1<\/td>\n<td>1<\/td>\n<td>Conv<\/td>\n<td>[512, 3, 2]<\/td>\n<td>\u5c4218<\/td>\n<td>20\u00d720\u00d7512<\/td>\n<td>\u4e0b\u91c7\u6837<\/td>\n<\/tr>\n<tr>\n<td>20<\/td>\n<td>[-1, 9]<\/td>\n<td>1<\/td>\n<td>Concat<\/td>\n<td>[1]<\/td>\n<td>\u5c4219,9<\/td>\n<td>20\u00d720\u00d71536<\/td>\n<td>\u62fc\u63a5P5\u7279\u5f81<\/td>\n<\/tr>\n<tr>\n<td>21<\/td>\n<td>-1<\/td>\n<td>3<\/td>\n<td>C2f<\/td>\n<td>[1024]<\/td>\n<td>\u5c4220<\/td>\n<td>20\u00d720\u00d71024<\/td>\n<td>P5\/32\u8f93\u51fa<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h5>2.3.2 \u7279\u5f81\u91d1\u5b57\u5854\u7ed3\u6784&#xff08;FPN&#043;PAN&#xff09;<\/h5>\n<p>                [\u9aa8\u5e72\u7f51\u7edc]<br \/>\n                    \u2502<br \/>\n                P5: 20\u00d720\u00d71024<br \/>\n                    \u2502<br \/>\n                SPPF(\u5c429)<br \/>\n                    \u2502<br \/>\n             \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2510<br \/>\n             \u2502             \u2502<br \/>\n         Upsample      \u4fdd\u7559P5<br \/>\n      (2\u500d\u4e0a\u91c7\u6837)         \u2502<br \/>\n             \u2502             \u2502<br \/>\n         Concat(P4)       \u2502<br \/>\n      (\u5c4211: 40\u00d740\u00d71536)   \u2502<br \/>\n             \u2502             \u2502<br \/>\n           C2f(\u5c4212)       \u2502<br \/>\n      (40\u00d740\u00d7512)         \u2502<br \/>\n             \u2502             \u2502<br \/>\n         \u250c\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2510      \u2502<br \/>\n         \u2502          \u2502      \u2502<br \/>\n     Upsample   \u4fdd\u7559P4      \u2502<br \/>\n  (2\u500d\u4e0a\u91c7\u6837)    (40\u00d740\u00d7512) \u2502<br \/>\n         \u2502          \u2502      \u2502<br \/>\n     Concat(P3)     \u2502      \u2502<br \/>\n  (\u5c4214: 80\u00d780\u00d7768) \u2502      \u2502<br \/>\n         \u2502          \u2502      \u2502<br \/>\n       C2f(\u5c4215)    \u2502      \u2502<br \/>\n  (80\u00d780\u00d7256)\u2500\u2500\u2500\u2510   \u2502      \u2502<br \/>\n         \u2502      \u2502   \u2502      \u2502<br \/>\n     Conv\u4e0b\u91c7\u6837 \u2502   \u2502      \u2502<br \/>\n  (\u5c4216: 40\u00d740\u00d7256) \u2502      \u2502<br \/>\n         \u2502      \u2502   \u2502      \u2502<br \/>\n     Concat(\u5c4212)   \u2502      \u2502<br \/>\n  (\u5c4217: 40\u00d740\u00d7768) \u2502      \u2502<br \/>\n         \u2502      \u2502   \u2502      \u2502<br \/>\n       C2f(\u5c4218)    \u2502      \u2502<br \/>\n  (40\u00d740\u00d7512)\u2500\u2500\u2500\u2510   \u2502      \u2502<br \/>\n         \u2502      \u2502   \u2502      \u2502<br \/>\n     Conv\u4e0b\u91c7\u6837 \u2502   \u2502      \u2502<br \/>\n  (\u5c4219: 20\u00d720\u00d7512) \u2502      \u2502<br \/>\n         \u2502      \u2502   \u2502      \u2502<br \/>\n     Concat(\u5c429)    \u2502      \u2502<br \/>\n  (\u5c4220: 20\u00d720\u00d71536)\u2502      \u2502<br \/>\n         \u2502      \u2502   \u2502      \u2502<br \/>\n       C2f(\u5c4221)    \u2502      \u2502<br \/>\n  (20\u00d720\u00d71024)      \u2502      \u2502<br \/>\n         \u2502          \u2502      \u2502<br \/>\n         \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2518<br \/>\n                    \u2502<br \/>\n              Detect(\u5c4222)<br \/>\n          [P3, P4, P5 \u4e09\u5c3a\u5ea6\u68c0\u6d4b]<\/p>\n<h4>2.4 \u68c0\u6d4b\u5934&#xff08;Head&#xff09;<\/h4>\n<p>&#8211; [[15, 18, 21], 1, Detect, [nc]]  # \u68c0\u6d4b\u5c42<\/p>\n<p>Detect\u6a21\u5757\u53c2\u6570&#xff1a;<\/p>\n<ul>\n<li>\n<p>\u8f93\u5165&#xff1a;[\u5c4215, \u5c4218, \u5c4221]\u00a0\u4e09\u4e2a\u5c3a\u5ea6\u7684\u7279\u5f81\u56fe<\/p>\n<\/li>\n<li>\n<p>\u8f93\u51fa&#xff1a;\u6bcf\u4e2a\u5c3a\u5ea6\u9884\u6d4b\u6846\u7684\u4f4d\u7f6e\u3001\u7f6e\u4fe1\u5ea6\u3001\u7c7b\u522b<\/p>\n<\/li>\n<\/ul>\n<p>\u4e09\u5c3a\u5ea6\u68c0\u6d4b&#xff1a;<\/p>\n<li>\n<p>P3\/8&#xff08;\u5c4215&#xff09;&#xff1a;80\u00d780\u5206\u8fa8\u7387 \u2192 \u68c0\u6d4b\u5c0f\u76ee\u6807<\/p>\n<ul>\n<li>\n<p>\u9ad8\u5206\u8fa8\u7387&#xff0c;\u7ec6\u8282\u4e30\u5bcc<\/p>\n<\/li>\n<li>\n<p>\u9002\u5408\u5c0f\u7269\u4f53\u68c0\u6d4b<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>P4\/16&#xff08;\u5c4218&#xff09;&#xff1a;40\u00d740\u5206\u8fa8\u7387 \u2192 \u68c0\u6d4b\u4e2d\u76ee\u6807<\/p>\n<ul>\n<li>\n<p>\u4e2d\u7b49\u5206\u8fa8\u7387<\/p>\n<\/li>\n<li>\n<p>\u5e73\u8861\u7ec6\u8282\u548c\u8bed\u4e49\u4fe1\u606f<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>P5\/32&#xff08;\u5c4221&#xff09;&#xff1a;20\u00d720\u5206\u8fa8\u7387 \u2192 \u68c0\u6d4b\u5927\u76ee\u6807<\/p>\n<ul>\n<li>\n<p>\u4f4e\u5206\u8fa8\u7387&#xff0c;\u8bed\u4e49\u4fe1\u606f\u5f3a<\/p>\n<\/li>\n<li>\n<p>\u9002\u5408\u5927\u7269\u4f53\u68c0\u6d4b<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<h3>\u4e09\u3001\u7279\u5f81\u56fe\u7ef4\u5ea6\u53d8\u5316<\/h3>\n<p>\u5047\u8bbe\u8f93\u5165\u56fe\u50cf\u4e3a\u00a0640\u00d7640\u00d73&#xff1a;<\/p>\n<p>\u9636\u6bb5      \u5c42\u6570       \u64cd\u4f5c               \u8f93\u51fa\u7ef4\u5ea6         \u4e0b\u91c7\u6837\u500d\u6570<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br \/>\n\u8f93\u5165      &#8211;         &#8211;                  640\u00d7640\u00d73        1x<br \/>\nP1\/2      0         Conv, stride&#061;2     320\u00d7320\u00d764       2x<br \/>\nP2\/4      1         Conv, stride&#061;2     160\u00d7160\u00d7128      4x<br \/>\n          2         C2f\u00d73              160\u00d7160\u00d7128      4x<br \/>\nP3\/8      3         Conv, stride&#061;2     80\u00d780\u00d7256        8x<br \/>\n          4         C2f\u00d76              80\u00d780\u00d7256        8x<br \/>\nP4\/16     5         Conv, stride&#061;2     40\u00d740\u00d7512        16x<br \/>\n          6         C2f\u00d76              40\u00d740\u00d7512        16x<br \/>\nP5\/32     7         Conv, stride&#061;2     20\u00d720\u00d71024       32x<br \/>\n          8         C2f\u00d73              20\u00d720\u00d71024       32x<br \/>\n          9         SPPF               20\u00d720\u00d71024       32x<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br \/>\nNeck     10         Upsample\u00d72         40\u00d740\u00d71024       16x<br \/>\n         11         Concat(P4)         40\u00d740\u00d71536       16x<br \/>\n         12         C2f\u00d73              40\u00d740\u00d7512        16x<br \/>\n         13         Upsample\u00d72         80\u00d780\u00d7512        8x<br \/>\n         14         Concat(P3)         80\u00d780\u00d7768        8x<br \/>\n         15         C2f\u00d73              80\u00d780\u00d7256        8x  \u2190 P3\u8f93\u51fa<br \/>\n         16         Conv, stride&#061;2     40\u00d740\u00d7256        16x<br \/>\n         17         Concat(\u5c4212)       40\u00d740\u00d7768        16x<br \/>\n         18         C2f\u00d73              40\u00d740\u00d7512        16x \u2190 P4\u8f93\u51fa<br \/>\n         19         Conv, stride&#061;2     20\u00d720\u00d7512        32x<br \/>\n         20         Concat(\u5c429)        20\u00d720\u00d71536       32x<br \/>\n         21         C2f\u00d73              20\u00d720\u00d71024       32x \u2190 P5\u8f93\u51fa<\/p>\n<h3>\u56db\u3001\u8ba1\u7b97\u91cf\u5206\u6790<\/h3>\n<h4>4.1 \u53c2\u6570\u5206\u5e03<\/h4>\n<p>\u603b\u53c2\u6570: 3,157,200<br \/>\n\u251c\u2500\u2500 \u9aa8\u5e72\u7f51\u7edc: ~45%<br \/>\n\u251c\u2500\u2500 \u9888\u90e8\u7f51\u7edc: ~50%<br \/>\n\u2514\u2500\u2500 \u68c0\u6d4b\u5934: ~5%<\/p>\n<h4>4.2 \u8ba1\u7b97\u590d\u6742\u5ea6<\/h4>\n<p>\u603b\u8ba1\u7b97\u91cf: 8.9 GFLOPS<br \/>\n\u9aa8\u5e72\u7f51\u7edc\u4e3b\u8981\u8ba1\u7b97\u5c42&#xff1a;<br \/>\n1. \u5c424 (C2f\u00d76): ~1.2 GFLOPS<br \/>\n2. \u5c426 (C2f\u00d76): ~2.4 GFLOPS<br \/>\n3. \u5c428 (C2f\u00d73): ~2.0 GFLOPS<\/p>\n<h3>\u4e94\u3001\u8bbe\u8ba1\u7279\u70b9<\/h3>\n<h4>5.1 \u521b\u65b0\u70b9<\/h4>\n<li>\n<p>C2f\u6a21\u5757&#xff1a;\u4ee3\u66ffC3&#xff0c;\u66f4\u591a\u7684\u8de8\u5c42\u8fde\u63a5<\/p>\n<\/li>\n<li>\n<p>SPPF\u4ee3\u66ffSPP&#xff1a;\u8ba1\u7b97\u6548\u7387\u66f4\u9ad8<\/p>\n<\/li>\n<li>\n<p>\u89e3\u8026\u5934&#xff1a;\u5206\u7c7b\u548c\u56de\u5f52\u4efb\u52a1\u5206\u79bb&#xff08;\u5728Detect\u5185\u90e8\u5b9e\u73b0&#xff09;<\/p>\n<\/li>\n<li>\n<p>Anchor-Free&#xff1a;\u4e0d\u9700\u8981\u9884\u8bbe\u951a\u6846<\/p>\n<\/li>\n<h4>5.2 \u6027\u80fd\u4f18\u52bf<\/h4>\n<li>\n<p>\u591a\u5c3a\u5ea6\u68c0\u6d4b&#xff1a;P3\/8, P4\/16, P5\/32\u4e09\u4e2a\u5c3a\u5ea6<\/p>\n<\/li>\n<li>\n<p>\u7279\u5f81\u878d\u5408\u5145\u5206&#xff1a;FPN&#043;PAN\u7ed3\u6784&#xff0c;\u53cc\u5411\u7279\u5f81\u91d1\u5b57\u5854<\/p>\n<\/li>\n<li>\n<p>\u8ba1\u7b97\u6548\u7387\u9ad8&#xff1a;\u6df1\u5ea6\u53ef\u5206\u79bb\u5377\u79ef\u3001\u8f7b\u91cf\u7ea7\u8bbe\u8ba1<\/p>\n<\/li>\n<h4>5.3 \u9002\u7528\u573a\u666f<\/h4>\n<ul>\n<li>\n<p>\u5c0f\u76ee\u6807\u68c0\u6d4b&#xff1a;\u5173\u6ce8P3\/8\u8f93\u51fa<\/p>\n<\/li>\n<li>\n<p>\u5b9e\u65f6\u68c0\u6d4b&#xff1a;8.9 GFLOPS\u9002\u5408\u79fb\u52a8\u7aef<\/p>\n<\/li>\n<li>\n<p>\u901a\u7528\u68c0\u6d4b&#xff1a;\u5e73\u8861\u901f\u5ea6\u4e0e\u7cbe\u5ea6<\/p>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>YOLOv8 \u7f51\u7edc\u53c2\u6570\u8be6\u7ec6\u89e3\u6790\u4e00\u3001\u6574\u4f53\u67b6\u6784\u6982\u89c8\u8fd9\u662f\u4e00\u4e2a\u00a0YOLOv8n&#xff08;Nano&#xff09;\u00a0\u6a21\u578b\u7684\u914d\u7f6e\u6587\u4ef6&#xff0c;\u5177\u6709\u00a0129\u5c42&#xff0c;315\u4e07\u53c2\u6570&#xff0c;\u8ba1\u7b97\u91cf\u00a08.9 GFLOPS\u3002\u6574\u4f53\u7ed3\u6784&#xff1a;<br \/>\n\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510<br \/>\n\u2502   Input 640\u00d7640 \u2502<br \/>\n\u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524<br \/>\n\u2502                 \u2502<br \/>\n\u2502   Backbone      \u2502\u2500\u2500\u2500\u25ba \u7279\u5f81\u63d0\u53d6&amp;#xf<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[156,50,86],"topic":[],"class_list":["post-67563","post","type-post","status-publish","format-standard","hentry","category-server","tag-yolo","tag-50","tag-86"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u6df1\u5ea6\u5b66\u4e60\u7bc7-YOLOv8n\u7f51\u7edc\u53c2\u6570\u8be6\u7ec6\u89e3\u6790 - \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\/67563.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u6df1\u5ea6\u5b66\u4e60\u7bc7-YOLOv8n\u7f51\u7edc\u53c2\u6570\u8be6\u7ec6\u89e3\u6790 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"YOLOv8 \u7f51\u7edc\u53c2\u6570\u8be6\u7ec6\u89e3\u6790\u4e00\u3001\u6574\u4f53\u67b6\u6784\u6982\u89c8\u8fd9\u662f\u4e00\u4e2a\u00a0YOLOv8n&#xff08;Nano&#xff09;\u00a0\u6a21\u578b\u7684\u914d\u7f6e\u6587\u4ef6&#xff0c;\u5177\u6709\u00a0129\u5c42&#xff0c;315\u4e07\u53c2\u6570&#xff0c;\u8ba1\u7b97\u91cf\u00a08.9 GFLOPS\u3002\u6574\u4f53\u7ed3\u6784&#xff1a; \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u2502  Input 640\u00d7640 \u2502 \u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524 \u2502         \u2502 \u2502  Backbone   \u2502\u2500\u2500\u2500\u25ba \u7279\u5f81\u63d0\u53d6&amp;#xf\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/67563.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-28T14:56:44+00:00\" \/>\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=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/67563.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/67563.html\",\"name\":\"\u6df1\u5ea6\u5b66\u4e60\u7bc7-YOLOv8n\u7f51\u7edc\u53c2\u6570\u8be6\u7ec6\u89e3\u6790 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-01-28T14:56:44+00:00\",\"dateModified\":\"2026-01-28T14:56:44+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/67563.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/67563.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/67563.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u6df1\u5ea6\u5b66\u4e60\u7bc7---YOLOv8n\u7f51\u7edc\u53c2\u6570\u8be6\u7ec6\u89e3\u6790\"}]},{\"@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":"\u6df1\u5ea6\u5b66\u4e60\u7bc7-YOLOv8n\u7f51\u7edc\u53c2\u6570\u8be6\u7ec6\u89e3\u6790 - \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\/67563.html","og_locale":"zh_CN","og_type":"article","og_title":"\u6df1\u5ea6\u5b66\u4e60\u7bc7-YOLOv8n\u7f51\u7edc\u53c2\u6570\u8be6\u7ec6\u89e3\u6790 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"YOLOv8 \u7f51\u7edc\u53c2\u6570\u8be6\u7ec6\u89e3\u6790\u4e00\u3001\u6574\u4f53\u67b6\u6784\u6982\u89c8\u8fd9\u662f\u4e00\u4e2a\u00a0YOLOv8n&#xff08;Nano&#xff09;\u00a0\u6a21\u578b\u7684\u914d\u7f6e\u6587\u4ef6&#xff0c;\u5177\u6709\u00a0129\u5c42&#xff0c;315\u4e07\u53c2\u6570&#xff0c;\u8ba1\u7b97\u91cf\u00a08.9 GFLOPS\u3002\u6574\u4f53\u7ed3\u6784&#xff1a; \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u2502  Input 640\u00d7640 \u2502 \u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524 \u2502         \u2502 \u2502  Backbone   \u2502\u2500\u2500\u2500\u25ba \u7279\u5f81\u63d0\u53d6&amp;#xf","og_url":"https:\/\/www.wsisp.com\/helps\/67563.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-01-28T14:56:44+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/67563.html","url":"https:\/\/www.wsisp.com\/helps\/67563.html","name":"\u6df1\u5ea6\u5b66\u4e60\u7bc7-YOLOv8n\u7f51\u7edc\u53c2\u6570\u8be6\u7ec6\u89e3\u6790 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-01-28T14:56:44+00:00","dateModified":"2026-01-28T14:56:44+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/67563.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/67563.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/67563.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u6df1\u5ea6\u5b66\u4e60\u7bc7---YOLOv8n\u7f51\u7edc\u53c2\u6570\u8be6\u7ec6\u89e3\u6790"}]},{"@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\/67563","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=67563"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/67563\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=67563"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=67563"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=67563"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=67563"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}