{"id":6657,"date":"2025-09-29T12:33:57","date_gmt":"2025-09-29T04:33:57","guid":{"rendered":"https:\/\/xinchewhd.com.cn\/?p=6657"},"modified":"2025-09-29T12:34:03","modified_gmt":"2025-09-29T04:34:03","slug":"%e6%b7%b1%e5%ba%a6%e5%ad%a6%e4%b9%a0%e7%9b%ae%e6%a0%87%e6%a3%80%e6%b5%8b-yolov11%e5%a6%82%e4%bd%95%e8%ae%ad%e7%bb%83%e8%87%aa%e5%b7%b1%e7%9a%84%e6%95%b0%e6%8d%ae%e9%9b%86-yolov11%e8%ae%ad%e7%bb%83","status":"publish","type":"post","link":"https:\/\/xinchewhd.com.cn\/index.php\/yolo\/%e6%b7%b1%e5%ba%a6%e5%ad%a6%e4%b9%a0%e7%9b%ae%e6%a0%87%e6%a3%80%e6%b5%8b-yolov11%e5%a6%82%e4%bd%95%e8%ae%ad%e7%bb%83%e8%87%aa%e5%b7%b1%e7%9a%84%e6%95%b0%e6%8d%ae%e9%9b%86-yolov11%e8%ae%ad%e7%bb%83\/","title":{"rendered":"\u6df1\u5ea6\u5b66\u4e60\u76ee\u6807\u68c0\u6d4b YOLOV11\u5982\u4f55\u8bad\u7ec3\u81ea\u5df1\u7684\u6570\u636e\u96c6 YOLOv11\u8bad\u7ec3\u914d\u7f6e\u73af\u5883\u6559\u7a0b \u4ee5\u6c14\u7403\u68c0\u6d4b\u6570\u636e\u96c6\u4e3a\u4f8b"},"content":{"rendered":"\n<p>\u6df1\u5ea6\u5b66\u4e60\u76ee\u6807\u68c0\u6d4b YOLOV11\u8bad\u7ec3\u81ea\u5df1\u7684\u6570\u636e\u96c6\u6d41\u7a0b \u8bad\u7ec3\u914d\u7f6e\u73af\u5883\u6559\u7a0b \u4fee\u6539yaml.<img decoding=\"async\" class=\"lazyload\"alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" data-src=\"https:\/\/mmbiz.qpic.cn\/mmbiz_png\/3aq7xqHVYu1MjxibpFWXNspib0ljllCMiboXtpgeVGPfZkJWgVHu6HodqyAiamjIiaUZJTNn4DERkcPYLUhfzNCGZfA\/640?wx_fmt=png&amp;from=appmsg&amp;watermark=1&amp;tp=wxpic&amp;wxfrom=5&amp;wx_lazy=1#imgIndex=0\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"><noscript><img decoding=\"async\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" src=\"https:\/\/mmbiz.qpic.cn\/mmbiz_png\/3aq7xqHVYu1MjxibpFWXNspib0ljllCMiboXtpgeVGPfZkJWgVHu6HodqyAiamjIiaUZJTNn4DERkcPYLUhfzNCGZfA\/640?wx_fmt=png&amp;from=appmsg&amp;watermark=1&amp;tp=wxpic&amp;wxfrom=5&amp;wx_lazy=1#imgIndex=0\"><\/noscript><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Balloon\/<br>\u251c\u2500\u2500 test\/ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;# \u6d4b\u8bd5\u6570\u636e\u96c6<br>\u2502 &nbsp; \u251c\u2500\u2500 images<br>\u2502 &nbsp; \u2514\u2500\u2500 labels<br>\u251c\u2500\u2500 train\/ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; # \u8bad\u7ec3\u6570\u636e\u96c6<br>\u2502 &nbsp; \u251c\u2500\u2500 images<br>\u2502 &nbsp; \u2514\u2500\u2500 labels<br>\u251c\u2500\u2500 ultralytics\/ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; # Ultralytics\u76f8\u5173\u6587\u4ef6\u5939<br>\u2502 &nbsp; \u2514\u2500\u2500 ... &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;# yolov11.yaml\u5c31\u5728\u5b50\u76ee\u5f55\u4e0b<br>\u251c\u2500\u2500 valid\/ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; # \u9a8c\u8bc1\u6570\u636e\u96c6<br>\u2502 &nbsp; \u251c\u2500\u2500 images<br>\u2502 &nbsp; \u2514\u2500\u2500 labels<br>\u251c\u2500\u2500 data.yaml &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;# \u6570\u636e\u96c6\u914d\u7f6e\u6587\u4ef6\uff08\u5b9a\u4e49\u6570\u636e\u96c6\u7ed3\u6784\u548c\u7c7b\u522b\u7b49\uff09<br>\u251c\u2500\u2500 README.md &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;# \u9879\u76ee\u8bf4\u660e\u6587\u4ef6<br>\u251c\u2500\u2500 yolov11x.pt &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;# \u9884\u8bad\u7ec3\u6a21\u578b\u6587\u4ef6<br>\u2514\u2500\u2500 yolov11_train.py &nbsp; &nbsp; &nbsp; # YOLOv11\u8bad\u7ec3\u811a\u672c<br><br>1. \u914d\u7f6e\u597dyolov11\u7684\u73af\u5883\uff0c\u53c2\u8003https:\/\/github.com\/ultralytics\/ultralytics<br>&nbsp; &nbsp;pip install ultralytics<br><br>2. \u4fee\u6539data.yaml\u6587\u4ef6\uff0c\u628atrain\u3001val\u3001test\u7684\u8def\u5f84\u6539\u4e3a\u4f60\u81ea\u5df1\u7684\u8def\u5f84\u3002<br><br>3. \u4fee\u6539\u8bad\u7ec3\u6587\u4ef6yolov11_train.py\u91cc\u9762\u76f8\u5173\u6587\u6863\u7684\u8def\u5f84\uff1a<br>&nbsp; &nbsp;\u7b2c5\u884c\u4fee\u6539\u4e3a\u4f60\u7684yolov11.yaml\u8def\u5f84\uff0cyolov11.yaml\u6587\u4ef6\u653e\u5728ultralytics\/cfg\/models\/11\/yolo11.yaml\u8def\u5f84\u4e0b<br>&nbsp; &nbsp;\u7b2c7\u884c\u4fee\u6539data.yaml\u8def\u5f84\uff0c\u5c31\u662f\u4f60\u7b2c\u4e8c\u6b65\u4fee\u6539\u7684\u6587\u4ef6\u7684\u8def\u5f84\u3002<br><br>4. \u547d\u4ee4\u884c\u8fd0\u884cpython yolov11_train.py\u5c31\u53ef\u4ee5\u5f00\u59cb\u8bad\u7ec3\u4e86<\/code><\/pre>\n\n\n\n<p><img decoding=\"async\" class=\"lazyload\"alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" data-src=\"https:\/\/mmbiz.qpic.cn\/mmbiz_png\/3aq7xqHVYu1MjxibpFWXNspib0ljllCMibovXObvtmdO2JcFndh2WzRflxbNhxTvDia8A9Lfo2Iic3pzXsJNHnD1oDw\/640?wx_fmt=png&amp;from=appmsg&amp;watermark=1&amp;tp=wxpic&amp;wxfrom=5&amp;wx_lazy=1#imgIndex=1\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"><noscript><img decoding=\"async\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" src=\"https:\/\/mmbiz.qpic.cn\/mmbiz_png\/3aq7xqHVYu1MjxibpFWXNspib0ljllCMibovXObvtmdO2JcFndh2WzRflxbNhxTvDia8A9Lfo2Iic3pzXsJNHnD1oDw\/640?wx_fmt=png&amp;from=appmsg&amp;watermark=1&amp;tp=wxpic&amp;wxfrom=5&amp;wx_lazy=1#imgIndex=1\"><\/noscript><br>1<br><img decoding=\"async\" class=\"lazyload\"alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" data-src=\"https:\/\/mmbiz.qpic.cn\/mmbiz_png\/3aq7xqHVYu1MjxibpFWXNspib0ljllCMiboqWSHqia54Sx56htIy5LLM0hk6ugA9tZ0YBSyruLWq3UkD12jcDoyGvA\/640?wx_fmt=png&amp;from=appmsg&amp;watermark=1&amp;tp=wxpic&amp;wxfrom=5&amp;wx_lazy=1#imgIndex=2\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"><noscript><img decoding=\"async\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" src=\"https:\/\/mmbiz.qpic.cn\/mmbiz_png\/3aq7xqHVYu1MjxibpFWXNspib0ljllCMiboqWSHqia54Sx56htIy5LLM0hk6ugA9tZ0YBSyruLWq3UkD12jcDoyGvA\/640?wx_fmt=png&amp;from=appmsg&amp;watermark=1&amp;tp=wxpic&amp;wxfrom=5&amp;wx_lazy=1#imgIndex=2\"><\/noscript><br><strong>\u57fa\u4e8e YOLOv11\uff08Ultralytics \u5b98\u65b9\u6700\u65b0\u7a33\u5b9a\u7248\uff09<\/strong>\uff0c\u8bad\u7ec3\u4e00\u4e2a&nbsp;<strong>\u5355\u7c7b\u6c14\u7403\u68c0\u6d4b\u6a21\u578b\uff082365\u5f20\u56fe\u7247\uff0cYOLO\u683c\u5f0f\uff09<\/strong>\uff0c<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u2705 \u4e00\u3001\u9879\u76ee\u7ed3\u6784<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>Balloon\/<br>\u251c\u2500\u2500 test\/ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br>\u2502 &nbsp; \u251c\u2500\u2500 images\/<br>\u2502 &nbsp; \u2514\u2500\u2500 labels\/<br>\u251c\u2500\u2500 train\/ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<br>\u2502 &nbsp; \u251c\u2500\u2500 images\/<br>\u2502 &nbsp; \u2514\u2500\u2500 labels\/<br>\u251c\u2500\u2500 valid\/ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<br>\u2502 &nbsp; \u251c\u2500\u2500 images\/<br>\u2502 &nbsp; \u2514\u2500\u2500 labels\/<br>\u251c\u2500\u2500 data.yaml &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;# \u6570\u636e\u96c6\u914d\u7f6e<br>\u251c\u2500\u2500 yolov8n.pt &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; # \u5b98\u65b9\u9884\u8bad\u7ec3\u6743\u91cd\uff08\u66ff\u4ee3 yolov11x.pt\uff09<br>\u251c\u2500\u2500 train.py &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; # \u8bad\u7ec3\u811a\u672c\uff08\u66ff\u4ee3 yolov11_train.py\uff09<br>\u2514\u2500\u2500 README.md<\/code><\/pre>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>\ud83d\udccc \u6ce8\u610f\uff1a<code>ultralytics\/<\/code>&nbsp;\u662f\u901a\u8fc7&nbsp;<code>pip install ultralytics<\/code>&nbsp;\u5b89\u88c5\u7684\u5e93\uff0c\u65e0\u9700\u624b\u52a8\u521b\u5efa\u3002<\/p>\n<\/blockquote>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u2705 \u4e8c\u3001\u73af\u5883\u914d\u7f6e\uff08\u201cYOLOv11\u201d\uff09<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code><em># 1. \u521b\u5efa\u865a\u62df\u73af\u5883<\/em><br>conda create&nbsp;-n&nbsp;yolo&nbsp;python=3.9-y<br>conda activate yolo<br><br><em># 2. \u5b89\u88c5 PyTorch + CUDA\uff08\u63a8\u8350 11.8\uff09<\/em><br>pip&nbsp;installtorch==2.0.1+cu118&nbsp;torchvision==0.15.2+cu118&nbsp;-f&nbsp;https:\/\/download.pytorch.org\/whl\/torch_stable.html<br><br><em># 3. \u5b89\u88c5 Ultralytics\uff08YOLOv8 \u5b98\u65b9\u5e93\uff09<\/em><br>pip&nbsp;install&nbsp;ultralytics<br><br><em># 4. \u9a8c\u8bc1\u5b89\u88c5<\/em><br>yolo version<\/code><\/pre>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>\u2705 \u5f53\u524d\u6700\u65b0\u5b98\u65b9\u7248\u672c\u662f YOLOv11\uff0c\u652f\u6301&nbsp;<code>yolov8n\/s\/m\/l\/x<\/code><\/p>\n<\/blockquote>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u2705 \u4e09\u3001\u6570\u636e\u96c6\u914d\u7f6e\u6587\u4ef6\uff1a<code>data.yaml<\/code><\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code><em># data.yaml<\/em><br>train:&nbsp;.\/train\/images<br>val:&nbsp;.\/valid\/images<br>test:&nbsp;.\/test\/images<br><br>nc:1<br>names:&#91;'balloon']<\/code><\/pre>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>\u2705&nbsp;<code>nc: 1<\/code>&nbsp;\u8868\u793a\u5355\u7c7b\u68c0\u6d4b\uff0c<code>names<\/code>&nbsp;\u4e2d\u4e3a\u7c7b\u522b\u540d\u3002<\/p>\n<\/blockquote>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u2705 \u56db\u3001\u8bad\u7ec3\u811a\u672c\uff1a<code>train.py<\/code><\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code><em># train.py<\/em><br>from&nbsp;ultralytics&nbsp;import&nbsp;YOLO<br><br><em># 1. \u52a0\u8f7d\u9884\u8bad\u7ec3\u6a21\u578b\uff08\u4f7f\u7528\u5b98\u65b9 yolov8n.pt\uff0c\u66ff\u4ee3 yolov11x.pt\uff09<\/em><br>model&nbsp;=&nbsp;YOLO('yolov8n.pt')<em># \u53ef\u6362\u4e3a yolov8s.pt \u7b49<\/em><br><br><em># 2. \u5f00\u59cb\u8bad\u7ec3<\/em><br>results&nbsp;=&nbsp;model.train(<br>&nbsp; &nbsp; data='data.yaml',<em># \u6307\u5411\u4f60\u7684 data.yaml<\/em><br>&nbsp; &nbsp; epochs=150,<em># \u8bad\u7ec3\u8f6e\u6570<\/em><br>&nbsp; &nbsp; imgsz=640,<em># \u8f93\u5165\u56fe\u50cf\u5927\u5c0f<\/em><br>&nbsp; &nbsp; batch=16,<em># \u6279\u6b21\u5927\u5c0f\uff08\u6839\u636e\u663e\u5b58\u8c03\u6574\uff09<\/em><br>&nbsp; &nbsp; name='balloon_yolov8n_640',<em># \u5b9e\u9a8c\u540d\u79f0<\/em><br>&nbsp; &nbsp; device='cuda',<em># \u4f7f\u7528 GPU<\/em><br>&nbsp; &nbsp; workers=8,<em># \u6570\u636e\u52a0\u8f7d\u7ebf\u7a0b<\/em><br>&nbsp; &nbsp; optimizer='AdamW',<em># \u4f18\u5316\u5668<\/em><br>&nbsp; &nbsp; lr0=0.001,<em># \u521d\u59cb\u5b66\u4e60\u7387<\/em><br>&nbsp; &nbsp; weight_decay=0.0005,<br>&nbsp; &nbsp; momentum=0.937,<br>&nbsp; &nbsp; patience=50,<em># \u65e9\u505c\uff1a50\u8f6e\u65e0\u63d0\u5347\u5219\u505c\u6b62<\/em><br>&nbsp; &nbsp; project='runs\/balloon',<em># \u4fdd\u5b58\u8def\u5f84<\/em><br>&nbsp; &nbsp; amp=True,<em># \u6df7\u5408\u7cbe\u5ea6\u8bad\u7ec3<\/em><br>&nbsp; &nbsp; close_mosaic=30,<em># \u5173\u95ed Mosaic \u589e\u5f3a\u7684\u8f6e\u6570<\/em><br>&nbsp; &nbsp; cache='disk'<em># \u7f13\u5b58\u56fe\u50cf\u5230\u78c1\u76d8<\/em><br>)<br><br>print(\"\u8bad\u7ec3\u5b8c\u6210\uff01\")<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u2705 \u4e94\u3001\u8bc4\u4f30\u4e0e\u63a8\u7406<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">1. \u8bc4\u4f30\u6a21\u578b\uff08\u5728\u9a8c\u8bc1\u96c6\u4e0a\uff09<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code><em># val.py<\/em><br>from&nbsp;ultralytics&nbsp;import&nbsp;YOLO<br><br>model&nbsp;=&nbsp;YOLO('runs\/balloon\/balloon_yolov8n_640\/weights\/best.pt')<br><br>metrics&nbsp;=&nbsp;model.val(<br>&nbsp; &nbsp; data='data.yaml',<br>&nbsp; &nbsp; imgsz=640,<br>&nbsp; &nbsp; batch=16,<br>&nbsp; &nbsp; device='cuda'<br>)<br><br>print(f\"mAP50:&nbsp;{metrics.box.map50:.4f}\")<br>print(f\"mAP50-95:&nbsp;{metrics.box.map:.4f}\")<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">2. \u63a8\u7406\uff08\u68c0\u6d4b\u56fe\u7247\/\u89c6\u9891\uff09<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code><em># detect.py<\/em><br>from&nbsp;ultralytics&nbsp;import&nbsp;YOLO<br><br>model&nbsp;=&nbsp;YOLO('runs\/balloon\/balloon_yolov8n_640\/weights\/best.pt')<br><br><em># \u68c0\u6d4b\u56fe\u7247<\/em><br>results&nbsp;=&nbsp;model.predict(<br>&nbsp; &nbsp; source='test\/images\/img001.jpg',<br>&nbsp; &nbsp; conf=0.3,<br>&nbsp; &nbsp; save=True,<br>&nbsp; &nbsp; project='runs\/detect',<br>&nbsp; &nbsp; name='balloon_result'<br>)<\/code><\/pre>\n\n\n\n<p><strong>Ultralytics \u5b98\u65b9\u4ed3\u5e93\u4e2d\u5e76\u65e0\u6b64\u6587\u4ef6<\/strong>\u3002\u53ef\u4ee5\u624b\u52a8\u521b\u5efa\u5b83\u6765\u5b9a\u4e49\u7f51\u7edc\u7ed3\u6784\uff0c\u4f8b\u5982\uff1a<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><code>ultralytics\/cfg\/models\/11\/yolov11.yaml<\/code>\uff08\u793a\u4f8b\uff09<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code><em># ultralytics\/cfg\/models\/11\/yolov11.yaml<\/em><br><em># YOLOv11 \u81ea\u5b9a\u4e49\u6a21\u578b\u914d\u7f6e\uff08\u975e\u5b98\u65b9\uff09<\/em><br>nc:80<br>scales:<br>n:&#91;0.33,0.25]<br>s:&#91;0.33,0.5]<br>m:&#91;0.67,0.75]<br>l:&#91;1.00,1.00]<br>x:&#91;1.00,1.25]<br><br>backbone:<br>-&#91;-1,1,&nbsp;Conv,&#91;64,3,2]]<em># 0<\/em><br>-&#91;-1,1,&nbsp;Conv,&#91;128,3,2]]<em># 1<\/em><br>-&#91;-1,3,&nbsp;C2f,&#91;128,True]]<em># 2<\/em><br>-&#91;-1,1,&nbsp;Conv,&#91;256,3,2]]<em># 3<\/em><br>-&#91;-1,6,&nbsp;C2f,&#91;256,True]]<em># 4<\/em><br>-&#91;-1,1,&nbsp;Conv,&#91;512,3,2]]<em># 5<\/em><br>-&#91;-1,6,&nbsp;C2f,&#91;512,True]]<em># 6<\/em><br>-&#91;-1,1,&nbsp;Conv,&#91;1024,3,2]]<em># 7<\/em><br>-&#91;-1,3,&nbsp;C2f,&#91;1024,True]]<em># 8<\/em><br><br>head:<br>-&#91;-1,1,&nbsp;nn.Upsample,&#91;None,2,'nearest']]<em># 9<\/em><br>-&#91;&#91;-1,6],1,&nbsp;Concat,&#91;1]]<em># 10<\/em><br>-&#91;-1,3,&nbsp;C2f,&#91;512]]<em># 11<\/em><br>-&#91;-1,1,&nbsp;nn.Upsample,&#91;None,2,'nearest']]<em># 12<\/em><br>-&#91;&#91;-1,4],1,&nbsp;Concat,&#91;1]]<em># 13<\/em><br>-&#91;-1,3,&nbsp;C2f,&#91;256]]<em># 14<\/em><br>-&#91;-1,1,&nbsp;Conv,&#91;256,3,2]]<em># 15<\/em><br>-&#91;&#91;-1,11],1,&nbsp;Concat,&#91;1]]<em># 16<\/em><br>-&#91;-1,3,&nbsp;C2f,&#91;512]]<em># 17<\/em><br>-&#91;-1,1,&nbsp;Conv,&#91;512,3,2]]<em># 18<\/em><br>-&#91;&#91;-1,8],1,&nbsp;Concat,&#91;1]]<em># 19<\/em><br>-&#91;-1,3,&nbsp;C2f,&#91;1024]]<em># 20<\/em><br>-&#91;&#91;14,17,20],1,&nbsp;Detect,&#91;nc,&nbsp;anchors]]<em># 21<\/em><\/code><\/pre>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>\u26a0\ufe0f \u6b64\u6587\u4ef6\u9700\u624b\u52a8\u521b\u5efa\uff0c\u4e14\u9700\u786e\u4fdd&nbsp;<code>ultralytics<\/code>&nbsp;\u5e93\u80fd\u52a0\u8f7d\u81ea\u5b9a\u4e49\u6a21\u578b\u3002<\/p>\n<\/blockquote>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u2705 \u4e03\u3001\u8fd0\u884c\u8bad\u7ec3<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code><em># \u6fc0\u6d3b\u73af\u5883<\/em><br>conda activate yolo<br><br><em># \u8fd0\u884c\u8bad\u7ec3<\/em><br>python train.py<\/code><\/pre>\n\n\n\n<p>\u8bad\u7ec3\u5b8c\u6210\u540e\uff0c\u6700\u4f73\u6a21\u578b\u4fdd\u5b58\u5728\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>runs\/balloon\/balloon_yolov8n_640\/weights\/best.pt<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><img decoding=\"async\" class=\"lazyload\"data-src=\"https:\/\/mmbiz.qpic.cn\/mmbiz_png\/3aq7xqHVYu1MjxibpFWXNspib0ljllCMibornbPu5WhPNnxSicKSeRNicDqxEiaeY6Eu5aoGuqWucHUmEIrVZaWemz0Q\/640?wx_fmt=png&amp;from=appmsg&amp;watermark=1&amp;tp=wxpic&amp;wxfrom=5&amp;wx_lazy=1#imgIndex=3\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\"><noscript><img decoding=\"async\" src=\"https:\/\/mmbiz.qpic.cn\/mmbiz_png\/3aq7xqHVYu1MjxibpFWXNspib0ljllCMibornbPu5WhPNnxSicKSeRNicDqxEiaeY6Eu5aoGuqWucHUmEIrVZaWemz0Q\/640?wx_fmt=png&amp;from=appmsg&amp;watermark=1&amp;tp=wxpic&amp;wxfrom=5&amp;wx_lazy=1#imgIndex=3\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\"><\/noscript><br><\/p>\n","raw":"","protected":false},"excerpt":{"rendered":"<p>\u6df1\u5ea6\u5b66\u4e60\u76ee\u6807\u68c0\u6d4b YOLOV11\u8bad\u7ec3\u81ea\u5df1\u7684\u6570\u636e\u96c6\u6d41\u7a0b \u8bad\u7ec3\u914d\u7f6e\u73af\u5883\u6559\u7a0b \u4fee\u6539yaml. 1\u57fa\u4e8e YOLOv11\uff08Ultralyti &#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"emotion":"","emotion_color":"","title_style":"","license":"","footnotes":""},"categories":[46],"tags":[],"class_list":["post-6657","post","type-post","status-publish","format-standard","hentry","category-yolo"],"post_thumbnail_image":"https:\/\/mmbiz.qpic.cn\/mmbiz_png\/3aq7xqHVYu1MjxibpFWXNspib0ljllCMiboXtpgeVGPfZkJWgVHu6HodqyAiamjIiaUZJTNn4DERkcPYLUhfzNCGZfA\/640?wx_fmt=png&amp;from=appmsg&amp;watermark=1&amp;tp=wxpic&amp;wxfrom=5&amp;wx_lazy=1#imgIndex=0","content_first_image":"https:\/\/mmbiz.qpic.cn\/mmbiz_png\/3aq7xqHVYu1MjxibpFWXNspib0ljllCMiboXtpgeVGPfZkJWgVHu6HodqyAiamjIiaUZJTNn4DERkcPYLUhfzNCGZfA\/640?wx_fmt=png&amp;from=appmsg&amp;watermark=1&amp;tp=wxpic&amp;wxfrom=5&amp;wx_lazy=1#imgIndex=0","post_medium_image_300":"https:\/\/mmbiz.qpic.cn\/mmbiz_png\/3aq7xqHVYu1MjxibpFWXNspib0ljllCMiboXtpgeVGPfZkJWgVHu6HodqyAiamjIiaUZJTNn4DERkcPYLUhfzNCGZfA\/640?wx_fmt=png&amp;from=appmsg&amp;watermark=1&amp;tp=wxpic&amp;wxfrom=5&amp;wx_lazy=1#imgIndex=0","post_thumbnail_image_624":"https:\/\/mmbiz.qpic.cn\/mmbiz_png\/3aq7xqHVYu1MjxibpFWXNspib0ljllCMiboXtpgeVGPfZkJWgVHu6HodqyAiamjIiaUZJTNn4DERkcPYLUhfzNCGZfA\/640?wx_fmt=png&amp;from=appmsg&amp;watermark=1&amp;tp=wxpic&amp;wxfrom=5&amp;wx_lazy=1#imgIndex=0","post_frist_image":"https:\/\/mmbiz.qpic.cn\/mmbiz_png\/3aq7xqHVYu1MjxibpFWXNspib0ljllCMiboXtpgeVGPfZkJWgVHu6HodqyAiamjIiaUZJTNn4DERkcPYLUhfzNCGZfA\/640?wx_fmt=png&amp;from=appmsg&amp;watermark=1&amp;tp=wxpic&amp;wxfrom=5&amp;wx_lazy=1#imgIndex=0","post_medium_image":"https:\/\/mmbiz.qpic.cn\/mmbiz_png\/3aq7xqHVYu1MjxibpFWXNspib0ljllCMiboXtpgeVGPfZkJWgVHu6HodqyAiamjIiaUZJTNn4DERkcPYLUhfzNCGZfA\/640?wx_fmt=png&amp;from=appmsg&amp;watermark=1&amp;tp=wxpic&amp;wxfrom=5&amp;wx_lazy=1#imgIndex=0","post_large_image":"https:\/\/mmbiz.qpic.cn\/mmbiz_png\/3aq7xqHVYu1MjxibpFWXNspib0ljllCMiboXtpgeVGPfZkJWgVHu6HodqyAiamjIiaUZJTNn4DERkcPYLUhfzNCGZfA\/640?wx_fmt=png&amp;from=appmsg&amp;watermark=1&amp;tp=wxpic&amp;wxfrom=5&amp;wx_lazy=1#imgIndex=0","post_full_image":"https:\/\/mmbiz.qpic.cn\/mmbiz_png\/3aq7xqHVYu1MjxibpFWXNspib0ljllCMiboXtpgeVGPfZkJWgVHu6HodqyAiamjIiaUZJTNn4DERkcPYLUhfzNCGZfA\/640?wx_fmt=png&amp;from=appmsg&amp;watermark=1&amp;tp=wxpic&amp;wxfrom=5&amp;wx_lazy=1#imgIndex=0","post_all_images":[{"imagesurl":"https:\/\/mmbiz.qpic.cn\/mmbiz_png\/3aq7xqHVYu1MjxibpFWXNspib0ljllCMiboXtpgeVGPfZkJWgVHu6HodqyAiamjIiaUZJTNn4DERkcPYLUhfzNCGZfA\/640?wx_fmt=png&amp;from=appmsg&amp;watermark=1&amp;tp=wxpic&amp;wxfrom=5&amp;wx_lazy=1#imgIndex=0","id":"image0"},{"imagesurl":"https:\/\/mmbiz.qpic.cn\/mmbiz_png\/3aq7xqHVYu1MjxibpFWXNspib0ljllCMiboXtpgeVGPfZkJWgVHu6HodqyAiamjIiaUZJTNn4DERkcPYLUhfzNCGZfA\/640?wx_fmt=png&amp;from=appmsg&amp;watermark=1&amp;tp=wxpic&amp;wxfrom=5&amp;wx_lazy=1#imgIndex=0","id":"image1"},{"imagesurl":"https:\/\/mmbiz.qpic.cn\/mmbiz_png\/3aq7xqHVYu1MjxibpFWXNspib0ljllCMibovXObvtmdO2JcFndh2WzRflxbNhxTvDia8A9Lfo2Iic3pzXsJNHnD1oDw\/640?wx_fmt=png&amp;from=appmsg&amp;watermark=1&amp;tp=wxpic&amp;wxfrom=5&amp;wx_lazy=1#imgIndex=1","id":"image2"},{"imagesurl":"https:\/\/mmbiz.qpic.cn\/mmbiz_png\/3aq7xqHVYu1MjxibpFWXNspib0ljllCMibovXObvtmdO2JcFndh2WzRflxbNhxTvDia8A9Lfo2Iic3pzXsJNHnD1oDw\/640?wx_fmt=png&amp;from=appmsg&amp;watermark=1&amp;tp=wxpic&amp;wxfrom=5&amp;wx_lazy=1#imgIndex=1","id":"image3"},{"imagesurl":"https:\/\/mmbiz.qpic.cn\/mmbiz_png\/3aq7xqHVYu1MjxibpFWXNspib0ljllCMiboqWSHqia54Sx56htIy5LLM0hk6ugA9tZ0YBSyruLWq3UkD12jcDoyGvA\/640?wx_fmt=png&amp;from=appmsg&amp;watermark=1&amp;tp=wxpic&amp;wxfrom=5&amp;wx_lazy=1#imgIndex=2","id":"image4"},{"imagesurl":"https:\/\/mmbiz.qpic.cn\/mmbiz_png\/3aq7xqHVYu1MjxibpFWXNspib0ljllCMiboqWSHqia54Sx56htIy5LLM0hk6ugA9tZ0YBSyruLWq3UkD12jcDoyGvA\/640?wx_fmt=png&amp;from=appmsg&amp;watermark=1&amp;tp=wxpic&amp;wxfrom=5&amp;wx_lazy=1#imgIndex=2","id":"image5"},{"imagesurl":"https:\/\/mmbiz.qpic.cn\/mmbiz_png\/3aq7xqHVYu1MjxibpFWXNspib0ljllCMibornbPu5WhPNnxSicKSeRNicDqxEiaeY6Eu5aoGuqWucHUmEIrVZaWemz0Q\/640?wx_fmt=png&amp;from=appmsg&amp;watermark=1&amp;tp=wxpic&amp;wxfrom=5&amp;wx_lazy=1#imgIndex=3","id":"image6"},{"imagesurl":"https:\/\/mmbiz.qpic.cn\/mmbiz_png\/3aq7xqHVYu1MjxibpFWXNspib0ljllCMibornbPu5WhPNnxSicKSeRNicDqxEiaeY6Eu5aoGuqWucHUmEIrVZaWemz0Q\/640?wx_fmt=png&amp;from=appmsg&amp;watermark=1&amp;tp=wxpic&amp;wxfrom=5&amp;wx_lazy=1#imgIndex=3","id":"image7"}],"videoAdId":"","listAd":"0","listAdId":"","listAdEvery":6,"total_comments":0,"category_name":"YOLO","post_date":"2025-09-29","like_count":"0","praiseWord":"\u9f13\u52b1","copyright_state":"","excitationAd":"0","rewardedVideoAdId":"","detailAdId":"","detailAd":"0","enterpriseMinapp":"0","audios":[],"postImageUrl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230519082947553.jpg","avatarurls":[],"related_posts":null,"pageviews":189,"next_post_id":6673,"next_post_title":"yolo\u7b97\u6cd5\u8fdb\u884c\u8fd0\u52a8\u76d1\u6d4b","previous_post_id":6592,"previous_post_title":"YOLOv8\u6846\u67b6\u8bad\u7ec3\u7ea2\u5916\u56fe\u50cf\u5c0f\u76ee\u6807\u68c0\u6d4b\u6570\u636e\u96c6 \u7ea2\u5916\u56fe\u50cf\u5c0f\u76ee\u6807\u68c0\u6d4b\u6570\u636e\u96c6 \u5efa\u7acb\u7ea2\u5916\u5c0f\u76ee\u6807\u68c0\u6d4b\u7cfb\u7edf\u8bc6\u522b\u68c0\u6d4b\u98de\u673a \u65e0\u4eba\u673a \u76f4\u5347\u673a \u9e1f\u7c7b","_links":{"self":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/posts\/6657","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/comments?post=6657"}],"version-history":[{"count":1,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/posts\/6657\/revisions"}],"predecessor-version":[{"id":6658,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/posts\/6657\/revisions\/6658"}],"wp:attachment":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/media?parent=6657"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/categories?post=6657"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/tags?post=6657"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}