{"id":7880,"date":"2022-09-17T21:17:01","date_gmt":"2022-09-17T13:17:01","guid":{"rendered":"http:\/\/139.9.1.231\/?p=7880"},"modified":"2022-09-17T21:17:03","modified_gmt":"2022-09-17T13:17:03","slug":"yolov7-yolov6","status":"publish","type":"post","link":"http:\/\/139.9.1.231\/index.php\/2022\/09\/17\/yolov7-yolov6\/","title":{"rendered":"\u8d85\u8d8aYOLOv7 | YOLOv6\u8bba\u6587"},"content":{"rendered":"\n<p>\u5404\u79cdTricks\u5927\u653e\u5f02\u5f69\uff01\uff01<\/p>\n\n\n\n<p>\u8bba\u6587\uff1a <em><a href=\"https:\/\/arxiv.org\/abs\/2209.02976\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/arxiv.org\/abs\/2209.02976<\/a><\/em><\/p>\n\n\n\n<p>github\uff1a<em><a href=\"https:\/\/github.com\/meituan\/YOLOv6\">https:\/\/github.com\/meituan\/YOLOv6<\/a><\/em><\/p>\n\n\n\n<blockquote class=\"wp-block-quote\"><p>\u591a\u5e74\u6765\uff0c<code>YOLO<\/code>&nbsp;\u7cfb\u5217\u4e00\u76f4\u662f\u9ad8\u6548\u76ee\u6807\u68c0\u6d4b\u7684\u884c\u4e1a\u6807\u51c6\u3002<code>YOLO<\/code>&nbsp;\u793e\u533a\u84ec\u52c3\u53d1\u5c55\uff0c\u4e30\u5bcc\u4e86\u5176\u5728\u4f17\u591a\u786c\u4ef6\u5e73\u53f0\u548c\u4e30\u5bcc\u573a\u666f\u4e2d\u7684\u4f7f\u7528\u3002\u5728\u8fd9\u4efd\u6280\u672f\u62a5\u544a\u529b\u6c42\u5c06\u5176\u6781\u9650\u63a8\u5411\u65b0\u7684\u9ad8\u5ea6\uff0c\u4ee5\u575a\u5b9a\u4e0d\u79fb\u7684\u884c\u4e1a\u5e94\u7528\u5fc3\u6001\u5411\u524d\u8fc8\u8fdb\u3002<\/p><p>\u8003\u8651\u5230\u771f\u5b9e\u73af\u5883\u4e2d\u5bf9\u901f\u5ea6\u548c\u51c6\u786e\u6027\u7684\u4e0d\u540c\u8981\u6c42\uff0c\u4f5c\u8005\u5e7f\u6cdb\u7814\u7a76\u4e86\u6765\u81ea\u5de5\u4e1a\u754c\u6216\u5b66\u672f\u754c\u7684\u6700\u65b0\u76ee\u6807\u68c0\u6d4b\u8fdb\u5c55\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u4ece\u6700\u8fd1\u7684\u7f51\u7edc\u8bbe\u8ba1\u3001\u8bad\u7ec3\u7b56\u7565\u3001\u6d4b\u8bd5\u6280\u672f\u3001\u91cf\u5316\u548c\u4f18\u5316\u65b9\u6cd5\u4e2d\u5927\u91cf\u5438\u6536\u4e86\u4e00\u4e9b\u60f3\u6cd5\u3002\u6700\u91cd\u8981\u7684\u662f\uff0c\u6574\u5408\u601d\u60f3\u548c\u5b9e\u8df5\uff0c\u6784\u5efa\u4e86\u4e00\u5957\u4e0d\u540c\u89c4\u6a21\u7684\u90e8\u7f72\u7f51\u7edc\uff0c\u4ee5\u9002\u5e94\u591a\u6837\u5316\u7684\u7528\u4f8b\u3002<\/p><p>\u5728&nbsp;<code>YOLO<\/code>&nbsp;\u4f5c\u8005\u7684\u6177\u6168\u8bb8\u53ef\u4e0b\uff0c\u4f5c\u8005\u5c06\u5176\u547d\u540d\u4e3a&nbsp;<code>YOLOv6<\/code>\u3002\u4f5c\u8005\u4e5f\u70ed\u70c8\u6b22\u8fce\u7528\u6237\u548c\u8d21\u732e\u8005\u8fdb\u4e00\u6b65\u589e\u5f3a\u3002<code>YOLOv6-N<\/code>&nbsp;\u5728&nbsp;<code>NVIDIA Tesla T4 GPU<\/code>&nbsp;\u4e0a\u4ee5 1234 FPS \u7684\u541e\u5410\u91cf\u5728&nbsp;<code>COCO<\/code>&nbsp;\u6570\u636e\u96c6\u4e0a\u8fbe\u5230 35.9% \u7684 AP\u3002<code>YOLOv6-S<\/code>&nbsp;\u4ee5 495 FPS \u7684\u901f\u5ea6\u8fbe\u5230 43.5% \u7684 AP\uff0c\u4f18\u4e8e\u540c\u89c4\u6a21\u7684\u5176\u4ed6\u4e3b\u6d41\u68c0\u6d4b\u5668\uff08<code>YOLOv5-S<\/code>\u3001<code>YOLOX-S<\/code>&nbsp;\u548c&nbsp;<code>PPYOLOE-S<\/code>\uff09\u3002<\/p><p><code>YOLOv6-S<\/code>&nbsp;\u91cf\u5316\u7248\u672c\u751a\u81f3\u5e26\u6765\u4e86 869 FPS \u7684\u6700\u65b0 43.3% AP\u3002\u6b64\u5916\uff0c\u4e0e\u5177\u6709\u76f8\u4f3c\u63a8\u7406\u901f\u5ea6\u7684\u5176\u4ed6\u68c0\u6d4b\u5668\u76f8\u6bd4\uff0c<code>YOLOv6-M\/L<\/code>&nbsp;\u8fd8\u5b9e\u73b0\u4e86\u66f4\u597d\u7684\u51c6\u786e\u5ea6\u6027\u80fd\uff08\u5373 49.5%\/52.3%\uff09\u3002<\/p><\/blockquote>\n\n\n\n<h2>1\u3001\u7b80\u4ecb<\/h2>\n\n\n\n<p><code>YOLO<\/code>&nbsp;\u7cfb\u5217\u56e0\u5176\u5728\u901f\u5ea6\u548c\u51c6\u786e\u6027\u4e4b\u95f4\u7684\u51fa\u8272\u5e73\u8861\u800c\u6210\u4e3a\u5de5\u4e1a\u5e94\u7528\u4e2d\u6700\u6d41\u884c\u7684\u68c0\u6d4b\u6846\u67b6\u3002<code>YOLO<\/code>&nbsp;\u7cfb\u5217\u7684\u5f00\u521b\u6027\u4f5c\u54c1\u662f<code>YOLOv1-3<\/code>\uff0c\u968f\u7740\u540e\u671f\u7684\u5b9e\u8d28\u6027\u6539\u8fdb\uff0c\u5f00\u521b\u4e86\u5355\u9636\u6bb5\u68c0\u6d4b\u5668\u7684\u65b0\u8def\u3002<code>YOLOv4<\/code>&nbsp;\u5c06\u68c0\u6d4b\u6846\u67b6\u91cd\u7ec4\u4e3a\u51e0\u4e2a\u72ec\u7acb\u7684\u90e8\u5206\uff08<code>backbone<\/code>\u3001<code>neck<\/code>&nbsp;\u548c&nbsp;<code>head<\/code>\uff09\uff0c\u5e76\u9a8c\u8bc1\u4e86\u5f53\u65f6\u7684&nbsp;<code>bag-of-freebies<\/code>&nbsp;\u548c&nbsp;<code>bag-of-specials<\/code>\uff0c\u8bbe\u8ba1\u4e86\u4e00\u4e2a\u9002\u5408\u5728\u5355&nbsp;<code>GPU<\/code>&nbsp;\u4e0a\u8bad\u7ec3\u7684\u6846\u67b6\u3002\u76ee\u524d\uff0c<code>YOLOv5<\/code>\u3001<code>YOLOX<\/code>\u3001<code>PPYOLOE<\/code>&nbsp;\u548c&nbsp;<code>YOLOv7<\/code>&nbsp;\u90fd\u662f\u9ad8\u6548\u68c0\u6d4b\u5668\u90e8\u7f72\u7684\u7ade\u4e89\u5019\u9009\u8005\u3002\u4e0d\u540c\u5927\u5c0f\u7684\u6a21\u578b\u901a\u5e38\u901a\u8fc7\u7f29\u653e\u6280\u672f\u83b7\u5f97\u3002<\/p>\n\n\n\n<p>\u5728\u672c\u62a5\u544a\u4e2d\uff0c\u4f5c\u8005\u51ed\u7ecf\u9a8c\u89c2\u5bdf\u4e86\u51e0\u4e2a\u4fc3\u4f7f\u66f4\u65b0&nbsp;<code>YOLO<\/code>&nbsp;\u6846\u67b6\u7684\u91cd\u8981\u56e0\u7d20\uff1a<\/p>\n\n\n\n<ol><li><code>RepVGG<\/code>&nbsp;\u7684\u91cd\u53c2\u5316\u662f\u4e00\u79cd\u9ad8\u7ea7\u6280\u672f\uff0c\u5c1a\u672a\u5728\u68c0\u6d4b\u4e2d\u5f97\u5230\u5f88\u597d\u7684\u5229\u7528\u3002\u4f5c\u8005\u8fd8\u6ce8\u610f\u5230&nbsp;<code>RepVGG Block<\/code>&nbsp;\u7684\u7b80\u5355\u6a21\u578b\u7f29\u653e\u53d8\u5f97\u4e0d\u5207\u5b9e\u9645\uff0c\u4e3a\u6b64\u4f5c\u8005\u8ba4\u4e3a\u5c0f\u578b\u548c\u5927\u578b\u7f51\u7edc\u4e4b\u95f4\u7684\u7f51\u7edc\u8bbe\u8ba1\u7684\u4f18\u96c5\u4e00\u81f4\u6027\u662f\u4e0d\u5fc5\u8981\u7684\u3002\u666e\u901a\u7684\u5355\u8def\u5f84\u67b6\u6784\u5bf9\u4e8e\u5c0f\u578b\u7f51\u7edc\u662f\u66f4\u597d\u7684\u9009\u62e9\uff0c\u4f46\u5bf9\u4e8e\u8f83\u5927\u7684\u6a21\u578b\uff0c\u53c2\u6570\u7684\u6307\u6570\u589e\u957f\u548c\u5355\u8def\u5f84\u67b6\u6784\u7684\u8ba1\u7b97\u6210\u672c\u4f7f\u5176\u4e0d\u53ef\u884c\uff1b<\/li><li>\u57fa\u4e8e\u91cd\u53c2\u5316\u7684\u68c0\u6d4b\u5668\u7684\u91cf\u5316\u4e5f\u9700\u8981\u7ec6\u81f4\u5904\u7406\uff0c\u5426\u5219\u7531\u4e8e\u5176\u5728\u8bad\u7ec3\u548c\u63a8\u7406\u8fc7\u7a0b\u4e2d\u7684\u5f02\u6784\u914d\u7f6e\uff0c\u5c06\u96be\u4ee5\u5904\u7406\u6027\u80fd\u4e0b\u964d\u3002<\/li><li>\u4ee5\u524d\u7684\u5de5\u4f5c\u5f80\u5f80\u4e0d\u592a\u5173\u6ce8\u90e8\u7f72\uff0c\u5176\u5ef6\u8fdf\u901a\u5e38\u5728 V100 \u7b49\u9ad8\u6210\u672c\u673a\u5668\u4e0a\u8fdb\u884c\u6bd4\u8f83\u3002\u5728\u5b9e\u9645\u670d\u52a1\u73af\u5883\u65b9\u9762\u5b58\u5728\u786c\u4ef6\u5dee\u8ddd\u3002\u901a\u5e38\uff0c\u50cf Tesla T4 \u8fd9\u6837\u7684\u4f4e\u529f\u8017 GPU \u6210\u672c\u66f4\u4f4e\uff0c\u5e76\u4e14\u63d0\u4f9b\u76f8\u5f53\u597d\u7684\u63a8\u7406\u6027\u80fd\u3002<\/li><li>\u8003\u8651\u5230\u67b6\u6784\u5dee\u5f02\uff0c\u6807\u7b7e\u5206\u914d\u548c\u635f\u5931\u51fd\u6570\u8bbe\u8ba1\u7b49\u9ad8\u7ea7\u7279\u5b9a\u9886\u57df\u7b56\u7565\u9700\u8981\u8fdb\u4e00\u6b65\u9a8c\u8bc1\uff1b<\/li><li>\u5bf9\u4e8e\u90e8\u7f72\uff0c\u53ef\u4ee5\u5bb9\u5fcd\u8bad\u7ec3\u7b56\u7565\u7684\u8c03\u6574\uff0c\u63d0\u9ad8\u51c6\u786e\u5ea6\u6027\u80fd\u4f46\u4e0d\u589e\u52a0\u63a8\u7406\u6210\u672c\uff0c\u4f8b\u5982\u77e5\u8bc6\u84b8\u998f\u3002<\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1024\" height=\"373\" src=\"http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-181-1024x373.png\" alt=\"\" class=\"wp-image-7881\" srcset=\"http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-181-1024x373.png 1024w, http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-181-300x109.png 300w, http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-181-768x280.png 768w, http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-181.png 1056w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>\u8003\u8651\u5230\u4e0a\u8ff0\u89c2\u5bdf\uff0c\u5e26\u6765\u4e86&nbsp;<code>YOLOv6<\/code>&nbsp;\u7684\u8bde\u751f\uff0c\u5b83\u5728\u51c6\u786e\u6027\u548c\u901f\u5ea6\u65b9\u9762\u5b9e\u73b0\u4e86\u8fc4\u4eca\u4e3a\u6b62\u6700\u597d\u7684\u6743\u8861\u3002\u5728\u56fe 1 \u4e2d\u5c55\u793a\u4e86&nbsp;<code>YOLOv6<\/code>&nbsp;\u4e0e\u5176\u4ed6\u7c7b\u4f3c\u89c4\u6a21\u7684\u540c\u884c\u7684\u6bd4\u8f83\u3002\u4e3a\u4e86\u5728\u4e0d\u5927\u5e45\u964d\u4f4e\u6027\u80fd\u7684\u60c5\u51b5\u4e0b\u63d0\u9ad8\u63a8\u7406\u901f\u5ea6\uff0c\u7814\u7a76\u4e86\u5305\u62ec\u8bad\u7ec3\u540e\u91cf\u5316 (<code>PTQ<\/code>) \u548c\u91cf\u5316\u611f\u77e5\u8bad\u7ec3 (<code>QAT<\/code>) \u5728\u5185\u7684\u5c16\u7aef\u91cf\u5316\u65b9\u6cd5\uff0c\u5e76\u5c06\u5b83\u4eec\u7eb3\u5165&nbsp;<code>YOLOv6<\/code>&nbsp;\u4ee5\u5b9e\u73b0\u90e8\u7f72\u5c31\u7eea\u7f51\u7edc\u7684\u76ee\u6807\u3002<\/p>\n\n\n\n<p>\u5c06&nbsp;<code>YOLOv6<\/code>&nbsp;\u7684\u4e3b\u8981\u65b9\u9762\u603b\u7ed3\u5982\u4e0b\uff1a<\/p>\n\n\n\n<ul><li>\u9488\u5bf9\u4e0d\u540c\u573a\u666f\u4e2d\u7684\u5de5\u4e1a\u5e94\u7528\u91cd\u65b0\u8bbe\u8ba1\u4e86\u4e00\u7cfb\u5217\u4e0d\u540c\u89c4\u6a21\u7684\u7f51\u7edc\u3002\u4e0d\u540c\u89c4\u6a21\u7684\u67b6\u6784\u5404\u4e0d\u76f8\u540c\uff0c\u4ee5\u5b9e\u73b0\u6700\u4f73\u7684\u901f\u5ea6\u548c\u51c6\u786e\u6027\u6743\u8861\uff0c\u5176\u4e2d\u5c0f\u578b\u6a21\u578b\u5177\u6709\u7b80\u5355\u7684\u5355\u8def\u5f84\u4e3b\u5e72\uff0c\u5927\u578b\u6a21\u578b\u5efa\u7acb\u5728\u9ad8\u6548\u7684\u591a\u5206\u652f\u5757\u4e0a\u3002<\/li><li>\u4e3a&nbsp;<code>YOLOv6<\/code>&nbsp;\u6ce8\u5165\u4e86\u4e00\u79cd<code>self-distillation<\/code>\u7b56\u7565\uff0c\u5728\u5206\u7c7b\u4efb\u52a1\u548c\u56de\u5f52\u4efb\u52a1\u4e0a\u90fd\u6267\u884c\u3002\u540c\u65f6\uff0c\u52a8\u6001\u8c03\u6574\u6765\u81ea\u6559\u5e08\u548c\u6807\u7b7e\u7684\u77e5\u8bc6\uff0c\u4ee5\u5e2e\u52a9\u5b66\u751f\u6a21\u578b\u5728\u6240\u6709\u8bad\u7ec3\u9636\u6bb5\u66f4\u6709\u6548\u5730\u5b66\u4e60\u77e5\u8bc6\u3002<\/li><li>\u5e7f\u6cdb\u9a8c\u8bc1\u6807\u7b7e\u5206\u914d\u3001\u635f\u5931\u51fd\u6570\u548c\u6570\u636e\u589e\u5f3a\u6280\u672f\u7684\u5148\u8fdb\u68c0\u6d4b\u6280\u672f\uff0c\u5e76\u6709\u9009\u62e9\u5730\u91c7\u7528\u5b83\u4eec\u4ee5\u8fdb\u4e00\u6b65\u63d0\u9ad8\u6027\u80fd\u3002<\/li><li>\u5728&nbsp;<code>RepOptimizer<\/code>&nbsp;\u548c\u901a\u9053\u84b8\u998f\u7684\u5e2e\u52a9\u4e0b\u6539\u8fdb\u4e86\u68c0\u6d4b\u7684\u91cf\u5316\u65b9\u6848\uff0c\u8fd9\u5e26\u6765\u4e86\u5177\u6709 43.3% \u7684 COCO AP \u548c 869 FPS \u7684\u541e\u5410\u91cf\u7684\u5feb\u901f\u51c6\u786e\u7684\u68c0\u6d4b\u5668\uff0c\u6279\u91cf\u5927\u5c0f\u4e3a 32\u3002<\/li><\/ul>\n\n\n\n<h2>2\u3001YOLOv6\u65b9\u6cd5\u5168\u89e3<\/h2>\n\n\n\n<p><code>YOLOv6<\/code>&nbsp;\u7684\u6539\u9020\u8bbe\u8ba1\u5305\u62ec\u4ee5\u4e0b\u7ec4\u4ef6\uff0c\u7f51\u7edc\u8bbe\u8ba1\u3001\u6807\u7b7e\u5206\u914d\u3001\u635f\u5931\u51fd\u6570\u3001\u6570\u636e\u589e\u5f3a\u3001\u884c\u4e1a\u4fbf\u5229\u6539\u8fdb\u4ee5\u53ca\u91cf\u5316\u548c\u90e8\u7f72\uff1a<\/p>\n\n\n\n<h4>\u7f51\u7edc\u8bbe\u8ba1\uff1a<\/h4>\n\n\n\n<ul><li><code>Backbone<\/code>\uff1a\u4e0e\u5176\u4ed6\u4e3b\u6d41\u67b6\u6784\u76f8\u6bd4\uff0c&nbsp;<code>RepVGG<\/code>&nbsp;\u4e3b\u5e72\u5728\u76f8\u4f3c\u7684\u63a8\u7406\u901f\u5ea6\u4e0b\u5728\u5c0f\u578b\u7f51\u7edc\u4e2d\u5177\u6709\u66f4\u5f3a\u7684\u7279\u5f81\u8868\u793a\u80fd\u529b\uff0c\u4f46\u7531\u4e8e\u53c2\u6570\u548c\u8ba1\u7b97\u6210\u672c\u7684\u7206\u70b8\u5f0f\u589e\u957f\uff0c\u5b83\u5f88\u96be\u6269\u5c55\u4ee5\u83b7\u5f97\u66f4\u5927\u7684\u6a21\u578b\u3002\u5728\u8fd9\u65b9\u9762\uff0c\u5c06&nbsp;<code>RepBlock<\/code>&nbsp;\u4f5c\u4e3a\u5c0f\u578b\u7f51\u7edc\u7684\u6784\u5efa\u5757\u3002\u5bf9\u4e8e\u5927\u578b\u6a21\u578b\uff0c\u4fee\u6539\u4e86\u4e00\u4e2a\u66f4\u9ad8\u6548\u7684&nbsp;<code>CSP Block<\/code>\uff0c\u540d\u4e3a&nbsp;<code>CSPStackRep<\/code>&nbsp;\u5757\u3002<\/li><li><code>Neck<\/code>\uff1aYOLOv6 \u7684&nbsp;<code>Neck<\/code>&nbsp;\u91c7\u7528&nbsp;<code>YOLOv4<\/code>&nbsp;\u548c&nbsp;<code>YOLOv5<\/code>&nbsp;\u4e4b\u540e\u7684&nbsp;<code>PAN<\/code>\u3002\u4f7f\u7528&nbsp;<code>RepBlocks<\/code>&nbsp;\u6216&nbsp;<code>CSPStackRep Blocks<\/code>&nbsp;\u589e\u5f3a&nbsp;<code>Neck<\/code>&nbsp;\u4ee5\u83b7\u5f97&nbsp;<code>Rep-PAN<\/code>\u3002<\/li><li><code>Head<\/code>\uff1a\u7b80\u5316\u4e86&nbsp;<code>Decoupled Head<\/code>\uff0c\u4f7f\u5176\u66f4\u9ad8\u6548\uff0c\u79f0\u4e3a<code>Efficient Decoupled Head<\/code>\u3002<\/li><\/ul>\n\n\n\n<h4>\u6807\u7b7e\u5206\u914d\uff1a<\/h4>\n\n\n\n<p>\u901a\u8fc7\u5927\u91cf\u5b9e\u9a8c\u8bc4\u4f30\u4e86&nbsp;<code>YOLOv6<\/code>&nbsp;\u4e0a\u6807\u7b7e\u5206\u914d\u7b56\u7565\u7684\u6700\u65b0\u8fdb\u5c55\uff0c\u7ed3\u679c\u8868\u660e&nbsp;<code>TAL<\/code>&nbsp;\u66f4\u6709\u6548\u4e14\u5bf9\u8bad\u7ec3\u66f4\u53cb\u597d\u3002<\/p>\n\n\n\n<h4>\u635f\u5931\u51fd\u6570\uff1a<\/h4>\n\n\n\n<p>\u4e3b\u6d41\u7684<code>Anchor-Free<\/code>\u68c0\u6d4b\u5668\u7684\u635f\u5931\u51fd\u6570\u5305\u62ec\u5206\u7c7b\u635f\u5931\u3001\u6846\u56de\u5f52\u635f\u5931\u548c\u76ee\u6807\u635f\u5931\u3002\u5bf9\u4e8e\u6bcf\u4e2a\u635f\u5931\uff0c\u7528\u6240\u6709\u53ef\u7528\u7684\u6280\u672f\u7cfb\u7edf\u5730\u5bf9\u5176\u8fdb\u884c\u8bd5\u9a8c\uff0c\u6700\u540e\u9009\u62e9&nbsp;<code>VariFocal Loss<\/code>&nbsp;\u5206\u7c7b\u635f\u5931,<code>SIoU<\/code>\/<code>GIoU<\/code>&nbsp;\u635f\u5931\u4f5c\u4e3a\u56de\u5f52\u635f\u5931\u3002<\/p>\n\n\n\n<h4>\u884c\u4e1a\u4fbf\u5229\u7684\u6539\u8fdb\uff1a<\/h4>\n\n\n\n<p>\u5f15\u5165\u4e86\u989d\u5916\u7684\u5e38\u89c1\u5b9e\u8df5\u548c\u6280\u5de7\u6765\u63d0\u9ad8\u6027\u80fd\uff0c\u5305\u62ec<code>self-distillation<\/code>\u548c\u66f4\u591a\u7684\u8bad\u7ec3\u65f6\u671f\u3002\u5bf9\u4e8e<code>self-distillation<\/code>\uff0c\u5206\u7c7b\u548c\u6846\u56de\u5f52\u5206\u522b\u7531\u6559\u5e08\u6a21\u578b\u76d1\u7763\u3002\u591a\u4e8f\u4e86&nbsp;<code>DFL<\/code>\u4f7f\u5f97\u6846\u56de\u5f52\u7684\u84b8\u998f\u6210\u4e3a\u53ef\u80fd\u3002\u6b64\u5916\uff0c\u6765\u81eaSoft Label\u548cHard Label\u7684\u4fe1\u606f\u6bd4\u4f8b\u901a\u8fc7\u4f59\u5f26\u8870\u51cf\u52a8\u6001\u4e0b\u964d\uff0c\u8fd9\u6709\u52a9\u4e8e\u5b66\u751f\u5728\u8bad\u7ec3\u8fc7\u7a0b\u4e2d\u7684\u4e0d\u540c\u9636\u6bb5\u9009\u62e9\u6027\u5730\u83b7\u53d6\u77e5\u8bc6\u3002\u6b64\u5916\uff0c\u4f5c\u8005\u9047\u5230\u4e86\u6027\u80fd\u53d7\u635f\u7684\u95ee\u9898\uff0c\u800c\u5728\u8bc4\u4f30\u65f6\u6ca1\u6709\u6dfb\u52a0\u989d\u5916\u7684\u7070\u8272\u8fb9\u6846\uff0c\u4e3a\u6b64\u63d0\u4f9b\u4e86\u4e00\u4e9b\u8865\u6551\u63aa\u65bd\u3002<\/p>\n\n\n\n<h4>\u91cf\u5316\u548c\u90e8\u7f72\uff1a<\/h4>\n\n\n\n<p>\u4e3a\u4e86\u89e3\u51b3\u91cf\u5316\u57fa\u4e8e\u91cd\u53c2\u5316\u6a21\u578b\u7684\u6027\u80fd\u4e0b\u964d\u95ee\u9898\uff0c\u4f7f\u7528&nbsp;<code>RepOptimizer<\/code>&nbsp;\u8bad\u7ec3&nbsp;<code>YOLOv6<\/code>&nbsp;\u4ee5\u83b7\u5f97\u5bf9&nbsp;<code>PTQ<\/code>&nbsp;\u53cb\u597d\u7684\u6743\u91cd\u3002\u8fdb\u4e00\u6b65\u91c7\u7528&nbsp;<code>QAT<\/code>&nbsp;\u548c\u901a\u9053\u84b8\u998f\u548c\u56fe\u4f18\u5316\u6765\u8ffd\u6c42\u6781\u81f4\u6027\u80fd\u3002\u91cf\u5316&nbsp;<code>YOLOv6-S<\/code>&nbsp;\u8fbe\u5230\u4e86\u6700\u65b0\u7684\u6280\u672f\u6c34\u5e73\uff0cAP \u4e3a 42.3%\uff0c\u541e\u5410\u91cf\u4e3a 869 FPS\uff08batch size=32\uff09\u3002<\/p>\n\n\n\n<h3>2.1\u3001\u7f51\u7edc\u8bbe\u8ba1<\/h3>\n\n\n\n<p>\u5355\u9636\u6bb5\u76ee\u6807\u68c0\u6d4b\u5668\u4e00\u822c\u7531\u4ee5\u4e0b\u90e8\u5206\u7ec4\u6210\uff1a<code>Backbone<\/code>\u3001<code>Neck<\/code>\u548c<code>Head<\/code>\u3002<code>Backbone<\/code>\u4e3b\u8981\u51b3\u5b9a\u7279\u5f81\u8868\u793a\u80fd\u529b\uff0c\u540c\u65f6\uff0c\u5b83\u7684\u8bbe\u8ba1\u5bf9\u63a8\u7406\u6548\u7387\u6709\u81f3\u5173\u91cd\u8981\u7684\u5f71\u54cd\uff0c\u56e0\u4e3a\u5b83\u627f\u8f7d\u4e86\u5f88\u5927\u4e00\u90e8\u5206\u8ba1\u7b97\u6210\u672c\u3002<code>Neck<\/code>\u7528\u4e8e\u5c06\u4f4e\u5c42\u6b21\u7684\u7269\u7406\u7279\u5f81\u4e0e\u9ad8\u5c42\u6b21\u7684\u8bed\u4e49\u7279\u5f81\u8fdb\u884c\u805a\u5408\uff0c\u7136\u540e\u6784\u5efa\u5404\u4e2a\u5c42\u6b21\u7684\u91d1\u5b57\u5854\u7279\u5f81\u56fe\u3002<code>Head<\/code>\u7531\u51e0\u4e2a\u5377\u79ef\u5c42\u7ec4\u6210\uff0c\u5b83\u6839\u636e<code>Neck<\/code>\u878d\u5408\u7684\u591a\u7ea7\u7279\u5f81\u9884\u6d4b\u6700\u7ec8\u68c0\u6d4b\u7ed3\u679c\u3002\u4ece\u7ed3\u6784\u7684\u89d2\u5ea6\u6765\u770b\uff0c\u5b83\u53ef\u4ee5\u5206\u4e3a<code>Anchor-Base<\/code>\u548c<code>Anchor-Free<\/code>\uff0c\u6216\u8005\u66f4\u786e\u5207\u5730\u8bf4\u662f\u53c2\u6570\u8026\u5408<code>Head<\/code>\u548c\u53c2\u6570\u89e3\u8026<code>Head<\/code>\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" width=\"971\" height=\"292\" src=\"http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-182.png\" alt=\"\" class=\"wp-image-7882\" srcset=\"http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-182.png 971w, http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-182-300x90.png 300w, http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-182-768x231.png 768w\" sizes=\"(max-width: 971px) 100vw, 971px\" \/><\/figure>\n\n\n\n<p>\u5728\u00a0<code>YOLOv6<\/code>\u00a0\u4e2d\uff0c\u57fa\u4e8e\u786c\u4ef6\u53cb\u597d\u7684\u7f51\u7edc\u8bbe\u8ba1\u539f\u5219\uff0c\u63d0\u51fa\u4e86\u4e24\u4e2a\u53ef\u7f29\u653e\u7684\u53ef\u91cd\u53c2\u6570<code>Backbone<\/code>\u548c<code>Neck<\/code>\u4ee5\u9002\u5e94\u4e0d\u540c\u5927\u5c0f\u7684\u6a21\u578b\uff0c\u4ee5\u53ca\u4e00\u4e2a\u5177\u6709\u6df7\u5408\u901a\u9053\u7b56\u7565\u7684\u9ad8\u6548\u89e3\u8026<code>Head<\/code>\u3002<code>YOLOv6<\/code>\u00a0\u7684\u6574\u4f53\u67b6\u6784\u5982\u56fe 2 \u6240\u793a\u3002<\/p>\n\n\n\n<h4>1\u3001Backbone<\/h4>\n\n\n\n<p>\u5982\u4e0a\u6240\u8ff0\uff0c<code>Backbone<\/code>\u7f51\u7edc\u7684\u8bbe\u8ba1\u5bf9\u68c0\u6d4b\u6a21\u578b\u7684\u6709\u6548\u6027\u548c\u6548\u7387\u6709\u5f88\u5927\u7684\u5f71\u54cd\u3002\u4ee5\u524d\uff0c\u5df2\u7ecf\u8868\u660e\u591a\u5206\u652f\u7f51\u7edc\u901a\u5e38\u53ef\u4ee5\u6bd4\u5355\u8def\u5f84\u7f51\u7edc\u5b9e\u73b0\u66f4\u597d\u7684\u5206\u7c7b\u6027\u80fd\uff0c\u4f46\u5b83\u901a\u5e38\u4f34\u968f\u7740\u5e76\u884c\u5ea6\u7684\u964d\u4f4e\u5e76\u5bfc\u81f4\u63a8\u7406\u5ef6\u8fdf\u7684\u589e\u52a0\u3002\u76f8\u53cd\uff0c\u50cf\u00a0<code>VGG<\/code>\u00a0\u8fd9\u6837\u7684\u666e\u901a\u5355\u8def\u5f84\u7f51\u7edc\u5177\u6709\u9ad8\u5e76\u884c\u6027\u548c\u66f4\u5c11\u5185\u5b58\u5360\u7528\u7684\u4f18\u52bf\uff0c\u4ece\u800c\u5e26\u6765\u66f4\u9ad8\u7684\u63a8\u7406\u6548\u7387\u3002\u6700\u8fd1\u5728\u00a0<code>RepVGG<\/code>\u00a0\u4e2d\uff0c\u63d0\u51fa\u4e86\u4e00\u79cd\u7ed3\u6784\u91cd\u53c2\u5316\u65b9\u6cd5\uff0c\u5c06\u8bad\u7ec3\u65f6\u591a\u5206\u652f\u62d3\u6251\u4e0e\u63a8\u7406\u65f6\u666e\u901a\u67b6\u6784\u89e3\u8026\uff0c\u4ee5\u5b9e\u73b0\u66f4\u597d\u7684\u901f\u5ea6-\u51c6\u786e\u5ea6\u6743\u8861\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" width=\"997\" height=\"765\" src=\"http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-183.png\" alt=\"\" class=\"wp-image-7883\" srcset=\"http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-183.png 997w, http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-183-300x230.png 300w, http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-183-768x589.png 768w\" sizes=\"(max-width: 997px) 100vw, 997px\" \/><\/figure>\n\n\n\n<p>\u53d7\u4e0a\u8ff0\u5de5\u4f5c\u7684\u542f\u53d1\uff0c\u8bbe\u8ba1\u4e86\u4e00\u4e2a\u9ad8\u6548\u7684\u53ef\u91cd\u53c2\u5316<code>Backbone<\/code>\uff0c\u8868\u793a\u4e3a&nbsp;<code>EfficientRep<\/code>\u3002\u5bf9\u4e8e\u5c0f\u578b\u6a21\u578b\uff0c<code>Backbone<\/code>\u7684\u4e3b\u8981\u7ec4\u6210\u90e8\u5206\u662f\u8bad\u7ec3\u9636\u6bb5\u7684&nbsp;<code>RepBlock<\/code>\uff0c\u5982\u56fe 3\uff08a\uff09\u6240\u793a\u3002\u5e76\u4e14\u6bcf\u4e2a&nbsp;<code>RepBlock<\/code>&nbsp;\u5728\u63a8\u7406\u9636\u6bb5\u88ab\u8f6c\u6362\u4e3a\u5177\u6709&nbsp;<code>ReLU<\/code>&nbsp;\u6fc0\u6d3b\u51fd\u6570\u7684 3\u00d73 \u5377\u79ef\u5c42\uff08\u8868\u793a\u4e3a&nbsp;<code>RepConv<\/code>\uff09\u7684\u5806\u6808\uff0c\u5982\u56fe 3\uff08b\uff09\u6240\u793a\u3002\u901a\u5e38\uff0c3\u00d73 \u5377\u79ef\u5728\u4e3b\u6d41&nbsp;<code>GPU<\/code>&nbsp;\u548c&nbsp;<code>CPU<\/code>&nbsp;\u4e0a\u8fdb\u884c\u4e86\u9ad8\u5ea6\u4f18\u5316\uff0c\u5e76\u4e14\u5177\u6709\u66f4\u9ad8\u7684\u8ba1\u7b97\u5bc6\u5ea6\u3002\u56e0\u6b64\uff0c<code>EfficientRep Backbone<\/code>&nbsp;\u5145\u5206\u5229\u7528\u4e86\u786c\u4ef6\u7684\u8ba1\u7b97\u80fd\u529b\uff0c\u5728\u663e\u7740\u964d\u4f4e\u63a8\u7406\u5ef6\u8fdf\u7684\u540c\u65f6\u589e\u5f3a\u4e86\u8868\u793a\u80fd\u529b\u3002<\/p>\n\n\n\n<p>\u7136\u800c\uff0c\u4f5c\u8005\u6ce8\u610f\u5230\u968f\u7740\u6a21\u578b\u5bb9\u91cf\u7684\u8fdb\u4e00\u6b65\u6269\u5927\uff0c\u5355\u8def\u5f84\u666e\u901a\u7f51\u7edc\u4e2d\u7684\u8ba1\u7b97\u6210\u672c\u548c\u53c2\u6570\u6570\u91cf\u5448\u6307\u6570\u589e\u957f\u3002\u4e3a\u4e86\u5728\u8ba1\u7b97\u8d1f\u62c5\u548c\u51c6\u786e\u6027\u4e4b\u95f4\u53d6\u5f97\u66f4\u597d\u7684\u5e73\u8861\uff0c\u4fee\u6539\u4e86\u4e00\u4e2a\u00a0<code>CSPStackRep Block<\/code>\u00a0\u6765\u6784\u5efa\u4e2d\u578b\u548c\u5927\u578b\u7f51\u7edc\u7684<code>Backbone<\/code>\u3002\u5982\u56fe 3(c) \u6240\u793a\uff0c<code>CSPStackRep Block<\/code>\u00a0\u75313\u4e2a 1\u00d71 \u5377\u79ef\u5c42\u548c\u4e00\u5806\u5b50\u5757\u7ec4\u6210\uff0c\u8be5\u5b50\u5757\u7531\u4e24\u4e2a\u00a0<code>RepVGG Block<\/code>\u00a0\u6216\u00a0<code>RepConv<\/code>\uff08\u5206\u522b\u5728\u8bad\u7ec3\u6216\u63a8\u7406\u65f6\uff09\u548c\u4e00\u4e2a\u6b8b\u5dee\u8fde\u63a5\u7ec4\u6210\u3002\u6b64\u5916\uff0c\u91c7\u7528\u8de8\u7ea7\u90e8\u5206\uff08<code>CSP<\/code>\uff09\u8fde\u63a5\u6765\u63d0\u9ad8\u6027\u80fd\uff0c\u800c\u4e0d\u4f1a\u4ea7\u751f\u8fc7\u591a\u7684\u8ba1\u7b97\u6210\u672c\u3002\u4e0e\u00a0<code>CSPRepResStage<\/code>\u00a0\u76f8\u6bd4\uff0c\u5b83\u7684\u5916\u89c2\u66f4\u52a0\u7b80\u6d01\uff0c\u5e76\u8003\u8651\u4e86\u51c6\u786e\u6027\u548c\u901f\u5ea6\u4e4b\u95f4\u7684\u5e73\u8861\u3002<\/p>\n\n\n\n<h4>2\u3001Neck<\/h4>\n\n\n\n<p>\u5728\u5b9e\u8df5\u4e2d\uff0c\u591a\u5c3a\u5ea6\u7684\u7279\u5f81\u96c6\u6210\u5df2\u88ab\u8bc1\u660e\u662f\u76ee\u6807\u68c0\u6d4b\u7684\u5173\u952e\u548c\u6709\u6548\u90e8\u5206\u3002\u91c7\u7528\u6765\u81ea&nbsp;<code>YOLOv4<\/code>&nbsp;\u548c&nbsp;<code>YOLOv5<\/code>&nbsp;\u7684\u4fee\u6539\u540e\u7684&nbsp;<code>PAN \u62d3\u6251<\/code>\u4f5c\u4e3a\u68c0\u6d4b<code>Neck<\/code>\u7684\u57fa\u7840\u3002\u6b64\u5916\uff0c\u5c06&nbsp;<code>YOLOv5<\/code>&nbsp;\u4e2d\u4f7f\u7528\u7684&nbsp;<code>CSPBlock<\/code>&nbsp;\u66ff\u6362\u4e3a&nbsp;<code>RepBlock<\/code>\uff08\u9002\u7528\u4e8e\u5c0f\u578b\u6a21\u578b\uff09\u6216&nbsp;<code>CSPStackRep Block<\/code>\uff08\u9002\u7528\u4e8e\u5927\u578b\u6a21\u578b\uff09\uff0c\u5e76\u76f8\u5e94\u8c03\u6574\u5bbd\u5ea6\u548c\u6df1\u5ea6\u3002<code>YOLOv6<\/code>&nbsp;\u7684<code>Neck<\/code>\u8868\u793a\u4e3a&nbsp;<code>Rep-PAN<\/code>\u3002<\/p>\n\n\n\n<h4>3\u3001Head<\/h4>\n\n\n\n<h4>Efficient decoupled head<\/h4>\n\n\n\n<p><code>YOLOv5<\/code>&nbsp;\u7684\u68c0\u6d4b\u5934\u662f\u4e00\u4e2a\u8026\u5408<code>Head<\/code>\uff0c\u5728\u5206\u7c7b\u548c\u5b9a\u4f4d\u5206\u652f\u4e4b\u95f4\u5171\u4eab\u53c2\u6570\uff0c\u800c&nbsp;<code>FCOS<\/code>&nbsp;\u548c&nbsp;<code>YOLOX<\/code>&nbsp;\u4e2d\u7684\u68c0\u6d4b\u5934\u5c06\u4e24\u4e2a\u5206\u652f\u89e3\u8026\uff0c\u5e76\u4e14\u5728\u6bcf\u4e2a\u5206\u652f\u4e2d\u5f15\u5165\u4e86\u989d\u5916\u7684\u4e24\u4e2a 3\u00d73 \u5377\u79ef\u5c42\u4ee5\u63d0\u9ad8\u6027\u80fd\u3002<\/p>\n\n\n\n<p>\u5728&nbsp;<code>YOLOv6<\/code>&nbsp;\u4e2d\u91c7\u7528\u6df7\u5408\u901a\u9053\u7b56\u7565\u6765\u6784\u5efa\u66f4\u9ad8\u6548\u7684\u89e3\u8026<code>Head<\/code>\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u5c06\u4e2d\u95f4 3\u00d73 \u5377\u79ef\u5c42\u7684\u6570\u91cf\u51cf\u5c11\u5230\u53ea\u6709\u4e00\u4e2a\u3002\u5934\u90e8\u7684\u5bbd\u5ea6\u7531<code>Backbone<\/code>\u548c<code>Neck<\/code>\u7684\u5bbd\u5ea6\u4e58\u6570\u5171\u540c\u7f29\u653e\u3002\u8fd9\u4e9b\u4fee\u6539\u8fdb\u4e00\u6b65\u964d\u4f4e\u4e86\u8ba1\u7b97\u6210\u672c\uff0c\u4ee5\u5b9e\u73b0\u66f4\u4f4e\u7684\u63a8\u7406\u5ef6\u8fdf\u3002<\/p>\n\n\n\n<h4>Anchor-free<\/h4>\n\n\n\n<p><code>Anchor-free<\/code>\u68c0\u6d4b\u5668\u56e0\u5176\u66f4\u597d\u7684\u6cdb\u5316\u80fd\u529b\u548c\u89e3\u7801\u9884\u6d4b\u7ed3\u679c\u7684\u7b80\u5355\u6027\u800c\u8131\u9896\u800c\u51fa\u3002\u5176\u540e\u5904\u7406\u7684\u65f6\u95f4\u6210\u672c\u5927\u5927\u964d\u4f4e\u3002\u6709\u4e24\u79cd\u7c7b\u578b\u7684<code>Anchor-free<\/code>\u68c0\u6d4b\u5668\uff1a\u57fa\u4e8e<code>Anchor<\/code>\u548c\u57fa\u4e8e\u5173\u952e\u70b9\u3002\u5728&nbsp;<code>YOLOv6<\/code>&nbsp;\u4e2d\uff0c\u6211\u4eec\u91c7\u7528\u4e86\u57fa\u4e8e<code>Anchor<\/code>\u70b9\u7684\u8303\u5f0f\uff0c\u5176\u6846\u56de\u5f52\u5206\u652f\u5b9e\u9645\u4e0a\u9884\u6d4b\u4e86<code>Anchor<\/code>\u70b9\u5230\u8fb9\u754c\u68464\u4e2a\u8fb9\u7684\u8ddd\u79bb\u3002<\/p>\n\n\n\n<h3>2.2\u3001Label Assignment<\/h3>\n\n\n\n<p>\u6807\u7b7e\u5206\u914d\u8d1f\u8d23\u5728\u8bad\u7ec3\u9636\u6bb5\u4e3a\u9884\u5b9a\u4e49\u7684<code>Anchor<\/code>\u5206\u914d\u6807\u7b7e\u3002\u4ee5\u524d\u7684\u5de5\u4f5c\u5df2\u7ecf\u63d0\u51fa\u4e86\u5404\u79cd\u6807\u7b7e\u5206\u914d\u7b56\u7565\uff0c\u4ece\u7b80\u5355\u7684\u57fa\u4e8e&nbsp;<code>IoU<\/code>&nbsp;\u7684\u7b56\u7565\u548c\u5185\u90e8\u771f\u5b9e\u65b9\u6cd5\u5230\u5176\u4ed6\u66f4\u590d\u6742\u7684\u65b9\u6848\u3002<\/p>\n\n\n\n<p><code>SimOTA OTA<\/code>&nbsp;\u5c06\u76ee\u6807\u68c0\u6d4b\u4e2d\u7684\u6807\u7b7e\u5206\u914d\u89c6\u4e3a\u6700\u4f73\u4f20\u8f93\u95ee\u9898\u3002\u5b83\u4ece\u5168\u5c40\u89d2\u5ea6\u4e3a\u6bcf\u4e2a\u771f\u5b9e\u5bf9\u8c61\u5b9a\u4e49\u4e86\u6b63\/\u8d1f\u8bad\u7ec3\u6837\u672c\u3002<code>SimOTA<\/code>&nbsp;\u662f&nbsp;<code>OTA<\/code>&nbsp;\u7684\u7b80\u5316\u7248\u672c\uff0c\u5b83\u51cf\u5c11\u4e86\u989d\u5916\u7684\u8d85\u53c2\u6570\u5e76\u4fdd\u6301\u4e86\u6027\u80fd\u3002\u5728&nbsp;<code>YOLOv6<\/code>&nbsp;\u7684\u65e9\u671f\u7248\u672c\u4e2d\u4f7f\u7528&nbsp;<code>SimOTA<\/code>&nbsp;\u4f5c\u4e3a\u6807\u7b7e\u5206\u914d\u65b9\u6cd5\u3002\u7136\u800c\uff0c\u5728\u5b9e\u8df5\u4e2d\uff0c\u4f5c\u8005\u53d1\u73b0\u5f15\u5165&nbsp;<code>SimOTA<\/code>&nbsp;\u4f1a\u51cf\u6162\u8bad\u7ec3\u8fc7\u7a0b\u3002\u800c\u4e14\u9677\u5165\u4e0d\u7a33\u5b9a\u8bad\u7ec3\u7684\u60c5\u51b5\u5e76\u4e0d\u5c11\u89c1\u3002\u56e0\u6b64\uff0c\u5e0c\u671b\u66f4\u6362&nbsp;<code>SimOTA<\/code>\u3002<\/p>\n\n\n\n<p>\u4efb\u52a1\u5bf9\u9f50\u5b66\u4e60\u4efb\u52a1\u5bf9\u9f50\u5b66\u4e60\uff08<code>Task Alignment Learning<\/code>\uff0cTAL\uff09\u6700\u65e9\u662f\u5728<code>TOOD<\/code>\u4e2d\u63d0\u51fa\u7684\uff0c\u5176\u4e2d\u8bbe\u8ba1\u4e86\u4e00\u4e2a\u5206\u7c7b\u5206\u6570\u548c\u9884\u6d4b\u6846\u8d28\u91cf\u7684\u7edf\u4e00\u5ea6\u91cf\u3002<code>IoU<\/code>&nbsp;\u88ab\u8fd9\u4e2a\u6307\u6807\u66ff\u6362\u4ee5\u5206\u914d\u5bf9\u8c61\u6807\u7b7e\u3002\u5728\u4e00\u5b9a\u7a0b\u5ea6\u4e0a\u7f13\u89e3\u4e86\u4efb\u52a1\u9519\u4f4d\uff08\u5206\u7c7b\u548c\u6846\u56de\u5f52\uff09\u7684\u95ee\u9898\u3002<code>TOOD<\/code>&nbsp;\u7684\u53e6\u4e00\u4e2a\u4e3b\u8981\u8d21\u732e\u662f\u5173\u4e8e\u4efb\u52a1\u5bf9\u9f50\u7684\u5934\u90e8\uff08<code>T-head<\/code>\uff09\u3002<code>T-head<\/code>&nbsp;\u5806\u53e0\u5377\u79ef\u5c42\u4ee5\u6784\u5efa\u4ea4\u4e92\u5f0f\u7279\u5f81\uff0c\u5728\u5176\u4e4b\u4e0a\u4f7f\u7528\u4efb\u52a1\u5bf9\u9f50\u9884\u6d4b\u5668 (TAP)\u3002<code>PP-YOLOE<\/code>&nbsp;\u6539\u8fdb\u4e86&nbsp;<code>T-head<\/code>\uff0c\u5c06&nbsp;<code>T-head<\/code>&nbsp;\u4e2d\u7684&nbsp;<code>layer attention<\/code>&nbsp;\u66ff\u6362\u4e3a\u8f7b\u91cf\u7ea7\u7684&nbsp;<code>ESE attention<\/code>\uff0c\u5f62\u6210&nbsp;<code>ET-head<\/code>\u3002\u7136\u800c\uff0c\u6211\u4eec\u53d1\u73b0&nbsp;<code>ET-head<\/code>&nbsp;\u4f1a\u964d\u4f4e\u6a21\u578b\u4e2d\u7684\u63a8\u7406\u901f\u5ea6\uff0c\u5e76\u4e14\u6ca1\u6709\u51c6\u786e\u5ea6\u589e\u76ca\u3002\u56e0\u6b64\uff0c\u4fdd\u7559\u4e86\u9ad8\u6548\u89e3\u8026\u5934\u7684\u8bbe\u8ba1\u3002<\/p>\n\n\n\n<p>\u6b64\u5916\uff0c\u4f5c\u8005\u89c2\u5bdf\u5230&nbsp;<code>TAL<\/code>&nbsp;\u53ef\u4ee5\u5e26\u6765\u6bd4&nbsp;<code>SimOTA<\/code>&nbsp;\u66f4\u591a\u7684\u6027\u80fd\u63d0\u5347\u5e76\u7a33\u5b9a\u8bad\u7ec3\u3002\u56e0\u6b64\uff0c\u91c7\u7528&nbsp;<code>TAL<\/code>&nbsp;\u4f5c\u4e3a&nbsp;<code>YOLOv6<\/code>&nbsp;\u4e2d\u7684\u9ed8\u8ba4\u6807\u7b7e\u5206\u914d\u7b56\u7565\u3002<\/p>\n\n\n\n<h3>2.3\u3001\u635f\u5931\u51fd\u6570<\/h3>\n\n\n\n<h4>1\u3001Classification Loss<\/h4>\n\n\n\n<p>\u63d0\u9ad8\u5206\u7c7b\u5668\u7684\u6027\u80fd\u662f\u4f18\u5316\u68c0\u6d4b\u5668\u7684\u5173\u952e\u90e8\u5206\u3002<code>Focal Loss<\/code>&nbsp;\u4fee\u6539\u4e86\u4f20\u7edf\u7684\u4ea4\u53c9\u71b5\u635f\u5931\uff0c\u4ee5\u89e3\u51b3\u6b63\u8d1f\u6837\u672c\u4e4b\u95f4\u6216\u96be\u6613\u6837\u672c\u4e4b\u95f4\u7684\u7c7b\u522b\u4e0d\u5e73\u8861\u95ee\u9898\u3002\u4e3a\u4e86\u89e3\u51b3\u8bad\u7ec3\u548c\u63a8\u7406\u4e4b\u95f4\u8d28\u91cf\u4f30\u8ba1\u548c\u5206\u7c7b\u7684\u4e0d\u4e00\u81f4\u4f7f\u7528\uff0c<code>Quality Focal Loss<\/code>\uff08<code>QFL<\/code>\uff09\u8fdb\u4e00\u6b65\u6269\u5c55\u4e86<code>Focal Loss<\/code>\uff0c\u8054\u5408\u8868\u793a\u5206\u7c7b\u5206\u6570\u548c\u5206\u7c7b\u76d1\u7763\u7684\u5b9a\u4f4d\u8d28\u91cf\u3002\u800c&nbsp;<code>VariFocal Loss<\/code>&nbsp;(<code>VFL<\/code>) \u6e90\u4e8e&nbsp;<code>Focal Loss<\/code>\uff0c\u4f46\u5b83\u4e0d\u5bf9\u79f0\u5730\u5bf9\u5f85\u6b63\u6837\u672c\u548c\u8d1f\u6837\u672c\u3002\u901a\u8fc7\u8003\u8651\u4e0d\u540c\u91cd\u8981\u6027\u7684\u6b63\u8d1f\u6837\u672c\uff0c\u5b83\u5e73\u8861\u4e86\u6765\u81ea\u4e24\u4e2a\u6837\u672c\u7684\u5b66\u4e60\u4fe1\u53f7\u3002<code>Poly Loss<\/code>&nbsp;\u5c06\u5e38\u7528\u7684\u5206\u7c7b\u635f\u5931\u5206\u89e3\u4e3a\u4e00\u7cfb\u5217\u52a0\u6743\u591a\u9879\u5f0f\u57fa\u3002\u5b83\u5728\u4e0d\u540c\u7684\u4efb\u52a1\u548c\u6570\u636e\u96c6\u4e0a\u8c03\u6574\u591a\u9879\u5f0f\u7cfb\u6570\uff0c\u901a\u8fc7\u5b9e\u9a8c\u8bc1\u660e\u6bd4\u4ea4\u53c9\u71b5\u635f\u5931\u548c<code>Focal Loss<\/code>\u635f\u5931\u66f4\u597d\u3002<\/p>\n\n\n\n<p>\u5728&nbsp;<code>YOLOv6<\/code>&nbsp;\u4e0a\u8bc4\u4f30\u6240\u6709\u8fd9\u4e9b\u9ad8\u7ea7\u5206\u7c7b\u635f\u5931\uff0c\u6700\u7ec8\u91c7\u7528&nbsp;<code>VFL<\/code>\u3002<\/p>\n\n\n\n<h4>2\u3001Box Regression Loss<\/h4>\n\n\n\n<p>\u6846\u56de\u5f52\u635f\u5931\u63d0\u4f9b\u4e86\u7cbe\u786e\u5b9a\u4f4d\u8fb9\u754c\u6846\u7684\u91cd\u8981\u5b66\u4e60\u4fe1\u53f7\u3002<code>L1 Loss<\/code>&nbsp;\u662f\u65e9\u671f\u4f5c\u54c1\u4e2d\u7684\u539f\u59cb\u6846\u56de\u5f52\u635f\u5931\u3002\u9010\u6e10\u5730\uff0c\u5404\u79cd\u7cbe\u5fc3\u8bbe\u8ba1\u7684\u6846\u56de\u5f52\u635f\u5931\u5982\u96e8\u540e\u6625\u7b0b\u822c\u6d8c\u73b0\uff0c\u4f8b\u5982&nbsp;<code>IoU-series<\/code>&nbsp;\u635f\u5931\u548c\u6982\u7387\u635f\u5931\u3002<\/p>\n\n\n\n<p><code>IoU-series Loss IoU loss<\/code>&nbsp;\u5c06\u9884\u6d4b\u6846\u7684\u56db\u4e2a\u8fb9\u754c\u4f5c\u4e3a\u4e00\u4e2a\u6574\u4f53\u8fdb\u884c\u56de\u5f52\u3002\u5b83\u5df2\u88ab\u8bc1\u660e\u662f\u6709\u6548\u7684\uff0c\u56e0\u4e3a\u5b83\u4e0e\u8bc4\u4f30\u6307\u6807\u7684\u4e00\u81f4\u6027\u3002<code>IoU<\/code>\u7684\u53d8\u79cd\u6709\u5f88\u591a\uff0c\u5982<code>GIoU<\/code>\u3001<code>DIoU<\/code>\u3001<code>CIoU<\/code>\u3001<code>\u03b1-IoU<\/code>\u548c<code>SIoU<\/code>\u7b49\uff0c\u5f62\u6210\u4e86\u76f8\u5173\u7684\u635f\u5931\u51fd\u6570\u3002\u6211\u4eec\u5728\u8fd9\u9879\u5de5\u4f5c\u4e2d\u5bf9&nbsp;<code>GIoU<\/code>\u3001<code>CIoU<\/code>&nbsp;\u548c&nbsp;<code>SIoU<\/code>&nbsp;\u8fdb\u884c\u4e86\u5b9e\u9a8c\u3002\u5e76\u4e14<code>SIoU<\/code>\u5e94\u7528\u4e8e<code>YOLOv6-N<\/code>\u548c<code>YOLOv6-T<\/code>\uff0c\u800c\u5176\u4ed6\u7684\u5219\u4f7f\u7528<code>GIoU<\/code>\u3002<\/p>\n\n\n\n<p><code>Probability Loss Distribution Focal Loss<\/code>&nbsp;(<code>DFL<\/code>) \u5c06\u6846\u4f4d\u7f6e\u7684\u57fa\u672c\u8fde\u7eed\u5206\u5e03\u7b80\u5316\u4e3a\u79bb\u6563\u5316\u7684\u6982\u7387\u5206\u5e03\u3002\u5b83\u5728\u4e0d\u5f15\u5165\u4efb\u4f55\u5176\u4ed6\u5f3a\u5148\u9a8c\u7684\u60c5\u51b5\u4e0b\u8003\u8651\u4e86\u6570\u636e\u4e2d\u7684\u6a21\u7cca\u6027\u548c\u4e0d\u786e\u5b9a\u6027\uff0c\u8fd9\u6709\u52a9\u4e8e\u63d0\u9ad8\u6846\u5b9a\u4f4d\u7cbe\u5ea6\uff0c\u5c24\u5176\u662f\u5728<code>ground-truth<\/code>\u6846\u7684\u8fb9\u754c\u6a21\u7cca\u65f6\u3002\u5728&nbsp;<code>DFL<\/code>&nbsp;\u4e0a\uff0c<code>DFLv2<\/code>&nbsp;\u5f00\u53d1\u4e86\u4e00\u4e2a\u8f7b\u91cf\u7ea7\u7684\u5b50\u7f51\u7edc\uff0c\u4ee5\u5229\u7528\u5206\u5e03\u7edf\u8ba1\u6570\u636e\u4e0e\u771f\u5b9e\u5b9a\u4f4d\u8d28\u91cf\u4e4b\u95f4\u7684\u5bc6\u5207\u76f8\u5173\u6027\uff0c\u8fdb\u4e00\u6b65\u63d0\u9ad8\u4e86\u68c0\u6d4b\u6027\u80fd\u3002\u7136\u800c\uff0c<code>DFL<\/code>&nbsp;\u8f93\u51fa\u7684\u56de\u5f52\u503c\u901a\u5e38\u6bd4\u4e00\u822c\u6846\u56de\u5f52\u591a 17 \u500d\uff0c\u4ece\u800c\u5bfc\u81f4\u5927\u91cf\u5f00\u9500\u3002\u989d\u5916\u7684\u8ba1\u7b97\u6210\u672c\u963b\u788d\u4e86\u5c0f\u578b\u6a21\u578b\u7684\u8bad\u7ec3\u3002\u800c&nbsp;<code>DFLv2<\/code>&nbsp;\u7531\u4e8e\u989d\u5916\u7684\u5b50\u7f51\u7edc\uff0c\u8fdb\u4e00\u6b65\u589e\u52a0\u4e86\u8ba1\u7b97\u8d1f\u62c5\u3002\u5728\u5b9e\u9a8c\u4e2d\uff0c<code>DFLv2<\/code>&nbsp;\u5728\u6a21\u578b\u4e0a\u4e3a&nbsp;<code>DFL<\/code>&nbsp;\u5e26\u6765\u4e86\u7c7b\u4f3c\u7684\u6027\u80fd\u63d0\u5347\u3002\u56e0\u6b64\uff0c\u53ea\u5728&nbsp;<code>YOLOv6-M\/L<\/code>&nbsp;\u4e2d\u91c7\u7528&nbsp;<code>DFL<\/code>\u3002<\/p>\n\n\n\n<h4>3\u3001Object Loss<\/h4>\n\n\n\n<p><code>Object loss<\/code>&nbsp;\u6700\u65e9\u662f\u5728&nbsp;<code>FCOS<\/code>&nbsp;\u4e2d\u63d0\u51fa\u7684\uff0c\u7528\u4e8e\u964d\u4f4e\u4f4e\u8d28\u91cf\u8fb9\u754c\u6846\u7684\u5f97\u5206\uff0c\u4ee5\u4fbf\u5728\u540e\u5904\u7406\u4e2d\u5c06\u5176\u8fc7\u6ee4\u6389\u3002\u5b83\u8fd8\u88ab\u7528\u4e8e&nbsp;<code>YOLOX<\/code>&nbsp;\u4ee5\u52a0\u901f\u6536\u655b\u5e76\u63d0\u9ad8\u7f51\u7edc\u7cbe\u5ea6\u3002\u4f5c\u4e3a\u50cf&nbsp;<code>FCOS<\/code>&nbsp;\u548c&nbsp;<code>YOLOX<\/code>&nbsp;\u8fd9\u6837\u7684<code>Anchor-free<\/code>\u6846\u67b6\uff0c\u5728&nbsp;<code>YOLOv6<\/code>&nbsp;\u4e2d\u5c1d\u8bd5\u8fc7&nbsp;<code>object loss<\/code>\u3002\u4e0d\u5e78\u7684\u662f\uff0c\u5b83\u5e76\u6ca1\u6709\u5e26\u6765\u5f88\u591a\u79ef\u6781\u7684\u5f71\u54cd\u3002<\/p>\n\n\n\n<h3>2.4\u3001\u884c\u4e1a\u4fbf\u5229\u7684\u6539\u8fdb<\/h3>\n\n\n\n<h4>1\u3001More training epochs<\/h4>\n\n\n\n<p>\u7ecf\u9a8c\u7ed3\u679c\u8868\u660e\uff0c\u68c0\u6d4b\u5668\u7684\u6027\u80fd\u968f\u7740\u8bad\u7ec3\u65f6\u95f4\u7684\u589e\u52a0\u800c\u4e0d\u65ad\u8fdb\u6b65\u3002\u4f5c\u8005\u5c06\u8bad\u7ec3\u6301\u7eed\u65f6\u95f4\u4ece 300 \u4e2a epoch \u5ef6\u957f\u5230 400 \u4e2a epoch\uff0c\u4ee5\u8fbe\u5230\u66f4\u597d\u7684\u6536\u655b\u6027\u3002<\/p>\n\n\n\n<h4>2\u3001Self-distillation<\/h4>\n\n\n\n<p>\u4e3a\u4e86\u5728\u4e0d\u5f15\u5165\u592a\u591a\u989d\u5916\u8ba1\u7b97\u6210\u672c\u7684\u60c5\u51b5\u4e0b\u8fdb\u4e00\u6b65\u63d0\u9ad8\u6a21\u578b\u7cbe\u5ea6\uff0c\u5e94\u7528\u4e86\u7ecf\u5178\u7684\u77e5\u8bc6\u84b8\u998f\u6280\u672f\uff0c\u6700\u5c0f\u5316\u4e86\u6559\u5e08\u548c\u5b66\u751f\u9884\u6d4b\u4e4b\u95f4\u7684&nbsp;<code>KL-divergence<\/code>\u3002\u5c06\u8001\u5e08\u9650\u5236\u4e3a\u5b66\u751f\u672c\u8eab\uff0c\u4f46\u7ecf\u8fc7\u9884\u8bad\u7ec3\uff0c\u56e0\u6b64\u79f0\u4e4b\u4e3a\u81ea\u6211\u84b8\u998f\u3002<\/p>\n\n\n\n<p>\u8bf7\u6ce8\u610f\uff0c<code>KL-divergence<\/code>\u901a\u5e38\u7528\u4e8e\u8861\u91cf\u6570\u636e\u5206\u5e03\u4e4b\u95f4\u7684\u5dee\u5f02\u3002\u7136\u800c\uff0c\u76ee\u6807\u68c0\u6d4b\u4e2d\u6709\u4e24\u4e2a\u5b50\u4efb\u52a1\uff0c\u5176\u4e2d\u53ea\u6709\u5206\u7c7b\u4efb\u52a1\u53ef\u4ee5\u76f4\u63a5\u5229\u7528\u57fa\u4e8e\u00a0<code>KL-divergence<\/code>\u7684\u77e5\u8bc6\u84b8\u998f\u3002\u7531\u4e8e\u00a0<code>DFL<\/code>\u00a0\u635f\u5931\uff0c\u4e5f\u53ef\u4ee5\u5728\u6846\u56de\u5f52\u4e0a\u6267\u884c\u5b83\u3002\u77e5\u8bc6\u84b8\u998f\u635f\u5931\u53ef\u4ee5\u8868\u793a\u4e3a\uff1a<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" width=\"482\" height=\"194\" src=\"http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-184.png\" alt=\"\" class=\"wp-image-7884\" srcset=\"http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-184.png 482w, http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-184-300x121.png 300w\" sizes=\"(max-width: 482px) 100vw, 482px\" \/><\/figure><\/div>\n\n\n\n<p>\u5176\u4e2dLdet\u00a0\u00a0\u662f\u4f7f\u7528\u9884\u6d4b\u548c\u6807\u7b7e\u8ba1\u7b97\u7684\u68c0\u6d4b\u635f\u5931\u3002\u5f15\u5165\u8d85\u53c2\u6570\u03b1\u6765\u5e73\u8861\u4e24\u4e2a\u635f\u5931\u3002\u5728\u8bad\u7ec3\u7684\u65e9\u671f\u9636\u6bb5\uff0c\u6765\u81ea\u8001\u5e08\u7684\u8f6f\u6807\u7b7e\u66f4\u5bb9\u6613\u5b66\u4e60\u3002\u968f\u7740\u8bad\u7ec3\u7684\u7ee7\u7eed\uff0c\u5b66\u751f\u7684\u8868\u73b0\u5c06\u4e0e\u8001\u5e08\u76f8\u5339\u914d\uff0c\u56e0\u6b64\u786c\u6807\u7b7e\u5c06\u66f4\u591a\u5730\u5e2e\u52a9\u5b66\u751f\u3002\u5728\u6b64\u57fa\u7840\u4e0a\uff0c\u5c06\u4f59\u5f26\u6743\u91cd\u8870\u51cf\u5e94\u7528\u4e8e \u03b1\uff0c\u4ee5\u52a8\u6001\u8c03\u6574\u6765\u81ea\u786c\u6807\u7b7e\u548c\u6765\u81ea\u6559\u5e08\u7684\u8f6f\u6807\u7b7e\u7684\u4fe1\u606f\u3002<\/p>\n\n\n\n<h4>3\u3001Gray border of images<\/h4>\n\n\n\n<p>\u4f5c\u8005\u6ce8\u610f\u5230\u5728\u00a0<code>YOLOv5<\/code>\u00a0\u548c\u00a0<code>YOLOv7<\/code>\u00a0\u7684\u5b9e\u73b0\u4e2d\u8bc4\u4f30\u6a21\u578b\u6027\u80fd\u65f6\uff0c\u6bcf\u4e2a\u56fe\u50cf\u5468\u56f4\u90fd\u6709\u4e00\u4e2a\u534a\u6b65\u957f\u7684\u7070\u8272\u8fb9\u6846\u3002\u867d\u7136\u6ca1\u6709\u6dfb\u52a0\u6709\u7528\u7684\u4fe1\u606f\uff0c\u4f46\u5b83\u6709\u52a9\u4e8e\u68c0\u6d4b\u56fe\u50cf\u8fb9\u7f18\u9644\u8fd1\u7684\u5bf9\u8c61\u3002\u8fd9\u4e2a\u6280\u5de7\u4e5f\u9002\u7528\u4e8e\u00a0<code>YOLOv6<\/code>\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" width=\"1017\" height=\"559\" src=\"http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-185.png\" alt=\"\" class=\"wp-image-7886\" srcset=\"http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-185.png 1017w, http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-185-300x165.png 300w, http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-185-768x422.png 768w\" sizes=\"(max-width: 1017px) 100vw, 1017px\" \/><\/figure>\n\n\n\n<p>\u7136\u800c\uff0c\u989d\u5916\u7684\u7070\u8272\u50cf\u7d20\u660e\u663e\u964d\u4f4e\u4e86\u63a8\u7406\u901f\u5ea6\u3002\u6ca1\u6709\u7070\u8272\u8fb9\u6846\uff0c<code>YOLOv6<\/code>\u00a0\u7684\u6027\u80fd\u4f1a\u53d8\u5dee\u3002\u5047\u8bbe\u8be5\u95ee\u9898\u4e0e\u9a6c\u8d5b\u514b\u589e\u5f3a\u4e2d\u7684\u7070\u8272\u8fb9\u6846\u586b\u5145\u6709\u5173\u3002\u8fdb\u884c\u4e86\u5728\u6700\u540e\u4e00\u4e2a\u65f6\u671f\u5173\u95ed\u9a6c\u8d5b\u514b\u589e\u5f3a\u7684\u5b9e\u9a8c\uff08\u4e5f\u79f0\u4e3a\u6de1\u5165\u6de1\u51fa\u7b56\u7565\uff09\u4ee5\u8fdb\u884c\u9a8c\u8bc1\u3002\u5bf9\u6b64\uff0c\u6539\u53d8\u4e86\u7070\u8272\u8fb9\u6846\u7684\u533a\u57df\uff0c\u5c06\u5e26\u6709\u7070\u8272\u8fb9\u6846\u7684\u56fe\u50cf\u76f4\u63a5\u8c03\u6574\u4e3a\u76ee\u6807\u56fe\u50cf\u5927\u5c0f\u3002\u7ed3\u5408\u8fd9\u4e24\u79cd\u7b56\u7565\uff0c\u6a21\u578b\u53ef\u4ee5\u5728\u4e0d\u964d\u4f4e\u63a8\u7406\u901f\u5ea6\u7684\u60c5\u51b5\u4e0b\u4fdd\u6301\u751a\u81f3\u63d0\u9ad8\u6027\u80fd\u3002<\/p>\n\n\n\n<h3>2.5\u3001\u91cf\u5316\u4e0e\u90e8\u7f72<\/h3>\n\n\n\n<p>\u5bf9\u4e8e\u5de5\u4e1a\u90e8\u7f72\uff0c\u901a\u5e38\u7684\u505a\u6cd5\u662f\u91c7\u7528\u91cf\u5316\u6765\u8fdb\u4e00\u6b65\u52a0\u5feb\u8fd0\u884c\u65f6\u95f4\u800c\u4e0d\u4f1a\u5bf9\u6027\u80fd\u9020\u6210\u592a\u5927\u5f71\u54cd\u3002\u8bad\u7ec3\u540e\u91cf\u5316\uff08<code>PTQ<\/code>\uff09\u76f4\u63a5\u91cf\u5316\u6a21\u578b\uff0c\u53ea\u9700\u8981\u4e00\u4e2a\u5c0f\u7684\u6821\u51c6\u96c6\u3002\u800c\u91cf\u5316\u611f\u77e5\u8bad\u7ec3\uff08QAT\uff09\u901a\u8fc7\u8bbf\u95ee\u8bad\u7ec3\u96c6\u8fdb\u4e00\u6b65\u63d0\u9ad8\u4e86\u6027\u80fd\uff0c\u8fd9\u901a\u5e38\u4e0e\u84b8\u998f\u7ed3\u5408\u4f7f\u7528\u3002\u7136\u800c\uff0c\u7531\u4e8e\u5728&nbsp;<code>YOLOv6<\/code>&nbsp;\u4e2d\u5927\u91cf\u4f7f\u7528\u4e86\u91cd\u53c2\u5316\u5757\uff0c\u4ee5\u524d\u7684&nbsp;<code>PTQ<\/code>&nbsp;\u6280\u672f\u65e0\u6cd5\u4ea7\u751f\u9ad8\u6027\u80fd\uff0c\u800c\u5728\u8bad\u7ec3\u548c\u63a8\u7406\u671f\u95f4\u5728\u5339\u914d\u5047\u91cf\u5316\u5668\u65f6\u5f88\u96be\u7ed3\u5408&nbsp;<code>QAT<\/code>\u3002<\/p>\n\n\n\n<h4>1\u3001Reparameterizing Optimizer<\/h4>\n\n\n\n<p><code>RepOptimizer<\/code>\u00a0\u5728\u6bcf\u4e2a\u4f18\u5316\u6b65\u9aa4\u63d0\u51fa\u68af\u5ea6\u91cd\u53c2\u5316\u3002\u8be5\u6280\u672f\u4e5f\u5f88\u597d\u5730\u89e3\u51b3\u4e86\u57fa\u4e8e\u91cd\u53c2\u5316\u6a21\u578b\u7684\u91cf\u5316\u95ee\u9898\u3002\u56e0\u6b64\uff0c\u4ee5\u8fd9\u79cd\u65b9\u5f0f\u91cd\u5efa\u00a0<code>YOLOv6<\/code>\u00a0\u7684\u91cd\u53c2\u5316\u5757\uff0c\u5e76\u4f7f\u7528\u00a0<code>RepOptimizer<\/code>\u00a0\u5bf9\u5176\u8fdb\u884c\u8bad\u7ec3\u4ee5\u83b7\u5f97\u5bf9\u00a0<code>PTQ<\/code>\u00a0\u53cb\u597d\u7684\u6743\u91cd\u3002\u7279\u5f81\u56fe\u7684\u5206\u5e03\u5728\u5f88\u5927\u7a0b\u5ea6\u4e0a\u53d8\u7a84\u4e86\uff0c\u8fd9\u6781\u5927\u5730\u6709\u5229\u4e8e\u91cf\u5316\u8fc7\u7a0b\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" width=\"452\" height=\"332\" src=\"http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-186.png\" alt=\"\" class=\"wp-image-7887\" srcset=\"http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-186.png 452w, http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-186-300x220.png 300w\" sizes=\"(max-width: 452px) 100vw, 452px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1024\" height=\"441\" src=\"http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-187-1024x441.png\" alt=\"\" class=\"wp-image-7888\" srcset=\"http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-187-1024x441.png 1024w, http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-187-300x129.png 300w, http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-187-768x331.png 768w, http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-187.png 1037w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h4>2\u3001Sensitivity Analysis<\/h4>\n\n\n\n<p>\u901a\u8fc7\u5c06\u91cf\u5316\u654f\u611f\u64cd\u4f5c\u90e8\u5206\u8f6c\u6362\u4e3a\u6d6e\u70b9\u8ba1\u7b97\u6765\u8fdb\u4e00\u6b65\u63d0\u9ad8\u00a0<code>PTQ<\/code>\u00a0\u6027\u80fd\u3002\u4e3a\u4e86\u83b7\u5f97\u7075\u654f\u5ea6\u5206\u5e03\uff0c\u901a\u5e38\u4f7f\u7528\u51e0\u4e2a\u6307\u6807\uff0c\u5747\u65b9\u8bef\u5dee (<code>MSE<\/code>)\u3001\u4fe1\u566a\u6bd4 (<code>SNR<\/code>) \u548c\u4f59\u5f26\u76f8\u4f3c\u5ea6\u3002\u901a\u5e38\u4e3a\u4e86\u6bd4\u8f83\uff0c\u53ef\u4ee5\u9009\u62e9\u8f93\u51fa\u7279\u5f81\u56fe\uff08\u5728\u6fc0\u6d3b\u67d0\u4e2a\u5c42\u4e4b\u540e\uff09\u6765\u8ba1\u7b97\u8fd9\u4e9b\u5e26\u6709\u548c\u4e0d\u5e26\u91cf\u5316\u7684\u6307\u6807\u3002\u4f5c\u4e3a\u66ff\u4ee3\u65b9\u6848\uff0c\u901a\u8fc7\u6253\u5f00\u548c\u5173\u95ed\u7279\u5b9a\u5c42\u7684\u91cf\u5316\u6765\u8ba1\u7b97\u9a8c\u8bc1\u00a0<code>AP<\/code>\u00a0\u4e5f\u662f\u53ef\u884c\u7684\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" width=\"812\" height=\"355\" src=\"http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-188.png\" alt=\"\" class=\"wp-image-7889\" srcset=\"http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-188.png 812w, http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-188-300x131.png 300w, http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-188-768x336.png 768w\" sizes=\"(max-width: 812px) 100vw, 812px\" \/><\/figure>\n\n\n\n<p>\u5728\u4f7f\u7528&nbsp;<code>RepOptimizer<\/code>&nbsp;\u8bad\u7ec3\u7684&nbsp;<code>YOLOv6-S<\/code>&nbsp;\u6a21\u578b\u4e0a\u8ba1\u7b97\u6240\u6709\u8fd9\u4e9b\u6307\u6807\uff0c\u5e76\u9009\u62e9\u524d 6 \u4e2a\u654f\u611f\u5c42\u4ee5\u6d6e\u52a8\u8fd0\u884c\u3002<\/p>\n\n\n\n<h4>3\u3001\u4f7f\u7528 Channel-wise Distillation \u8fdb\u884c\u91cf\u5316\u611f\u77e5\u8bad\u7ec3<\/h4>\n\n\n\n<p>\u5982\u679c\u00a0<code>PTQ<\/code>\u00a0\u4e0d\u8db3\uff0c\u5efa\u8bae\u4f7f\u7528\u91cf\u5316\u611f\u77e5\u8bad\u7ec3 (<code>QAT<\/code>) \u6765\u63d0\u9ad8\u91cf\u5316\u6027\u80fd\u3002\u4e3a\u4e86\u89e3\u51b3\u8bad\u7ec3\u548c\u63a8\u7406\u8fc7\u7a0b\u4e2d\u5047\u91cf\u5316\u5668\u4e0d\u4e00\u81f4\u7684\u95ee\u9898\uff0c\u6709\u5fc5\u8981\u5728\u00a0<code>RepOptimizer<\/code>\u00a0\u4e0a\u6784\u5efa\u00a0<code>QAT<\/code>\u3002\u6b64\u5916\uff0c\u901a\u9053\u84b8\u998f\uff08\u540e\u6765\u79f0\u4e3a\u00a0<code>CW Distill<\/code>\uff09\u9002\u7528\u4e8e\u00a0<code>YOLOv6<\/code>\u00a0\u6846\u67b6\uff0c\u5982\u56fe 5 \u6240\u793a\u3002\u8fd9\u4e5f\u662f\u4e00\u79cd\u81ea\u6211\u84b8\u998f\u65b9\u6cd5\uff0c\u5176\u4e2d\u6559\u5e08\u7f51\u7edc\u662f FP32 \u7cbe\u5ea6\u7684\u5b66\u751f\u672c\u8eab\u3002<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" width=\"475\" height=\"344\" src=\"http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-189.png\" alt=\"\" class=\"wp-image-7890\" srcset=\"http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-189.png 475w, http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-189-300x217.png 300w\" sizes=\"(max-width: 475px) 100vw, 475px\" \/><\/figure><\/div>\n\n\n\n<h2>\u5b9e\u9a8c<\/h2>\n\n\n\n<h3>\u6d88\u878d\u5b9e\u9a8c<\/h3>\n\n\n\n<h4>1\u3001label assignment<\/h4>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" width=\"265\" height=\"165\" src=\"http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-190.png\" alt=\"\" class=\"wp-image-7891\"\/><\/figure>\n\n\n\n<p>2\u3001\u635f\u5931\u51fd\u6570<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" width=\"395\" height=\"359\" src=\"http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-191.png\" alt=\"\" class=\"wp-image-7892\" srcset=\"http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-191.png 395w, http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-191-300x273.png 300w\" sizes=\"(max-width: 395px) 100vw, 395px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" width=\"500\" height=\"309\" src=\"http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-192.png\" alt=\"\" class=\"wp-image-7893\" srcset=\"http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-192.png 500w, http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-192-300x185.png 300w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" width=\"380\" height=\"267\" src=\"http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-193.png\" alt=\"\" class=\"wp-image-7894\" srcset=\"http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-193.png 380w, http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-193-300x211.png 300w\" sizes=\"(max-width: 380px) 100vw, 380px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" width=\"466\" height=\"308\" src=\"http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-195.png\" alt=\"\" class=\"wp-image-7896\" srcset=\"http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-195.png 466w, http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-195-300x198.png 300w\" sizes=\"(max-width: 466px) 100vw, 466px\" \/><\/figure>\n\n\n\n<p>3\u3001\u81ea\u84b8\u998f<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" width=\"471\" height=\"281\" src=\"http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-196.png\" alt=\"\" class=\"wp-image-7897\" srcset=\"http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-196.png 471w, http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-196-300x179.png 300w\" sizes=\"(max-width: 471px) 100vw, 471px\" \/><\/figure>\n\n\n\n<p>4\u3001Gray border of images<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" width=\"454\" height=\"515\" src=\"http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-197.png\" alt=\"\" class=\"wp-image-7898\" srcset=\"http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-197.png 454w, http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-197-264x300.png 264w\" sizes=\"(max-width: 454px) 100vw, 454px\" \/><\/figure>\n\n\n\n<p>5\u3001PTQ<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" width=\"475\" height=\"345\" src=\"http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-198.png\" alt=\"\" class=\"wp-image-7899\" srcset=\"http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-198.png 475w, http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-198-300x218.png 300w\" sizes=\"(max-width: 475px) 100vw, 475px\" \/><\/figure>\n\n\n\n<p>6\u3001QAT<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" width=\"454\" height=\"178\" src=\"http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-199.png\" alt=\"\" class=\"wp-image-7900\" srcset=\"http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-199.png 454w, http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-199-300x118.png 300w\" sizes=\"(max-width: 454px) 100vw, 454px\" \/><\/figure>\n\n\n\n<p>SOTA\u5bf9\u6bd4<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" width=\"964\" height=\"661\" src=\"http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-200.png\" alt=\"\" class=\"wp-image-7901\" srcset=\"http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-200.png 964w, http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-200-300x206.png 300w, http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-200-768x527.png 768w\" sizes=\"(max-width: 964px) 100vw, 964px\" \/><\/figure>\n\n\n\n<h3>TensorRT\u90e8\u7f72\u5b9e\u8df5\u5bf9\u6bd4<\/h3>\n\n\n\n<h4>T4 GPU<\/h4>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" width=\"488\" height=\"657\" src=\"http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-201.png\" alt=\"\" class=\"wp-image-7902\" srcset=\"http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-201.png 488w, http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-201-223x300.png 223w\" sizes=\"(max-width: 488px) 100vw, 488px\" \/><\/figure>\n\n\n\n<p>V100 GPU<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" width=\"437\" height=\"603\" src=\"http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-202.png\" alt=\"\" class=\"wp-image-7903\" srcset=\"http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-202.png 437w, http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-202-217x300.png 217w\" sizes=\"(max-width: 437px) 100vw, 437px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>\u5404\u79cdTricks\u5927\u653e\u5f02\u5f69\uff01\uff01 \u8bba\u6587\uff1a https:\/\/arxiv.org\/abs\/2209.02976 git &hellip; <a href=\"http:\/\/139.9.1.231\/index.php\/2022\/09\/17\/yolov7-yolov6\/\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">\u8d85\u8d8aYOLOv7 | YOLOv6\u8bba\u6587<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[4,25],"tags":[],"_links":{"self":[{"href":"http:\/\/139.9.1.231\/index.php\/wp-json\/wp\/v2\/posts\/7880"}],"collection":[{"href":"http:\/\/139.9.1.231\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/139.9.1.231\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/139.9.1.231\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/139.9.1.231\/index.php\/wp-json\/wp\/v2\/comments?post=7880"}],"version-history":[{"count":4,"href":"http:\/\/139.9.1.231\/index.php\/wp-json\/wp\/v2\/posts\/7880\/revisions"}],"predecessor-version":[{"id":7906,"href":"http:\/\/139.9.1.231\/index.php\/wp-json\/wp\/v2\/posts\/7880\/revisions\/7906"}],"wp:attachment":[{"href":"http:\/\/139.9.1.231\/index.php\/wp-json\/wp\/v2\/media?parent=7880"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/139.9.1.231\/index.php\/wp-json\/wp\/v2\/categories?post=7880"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/139.9.1.231\/index.php\/wp-json\/wp\/v2\/tags?post=7880"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}