{"id":1003,"date":"2022-03-18T14:37:40","date_gmt":"2022-03-18T06:37:40","guid":{"rendered":"http:\/\/blog.5danyuan.com\/?p=1003"},"modified":"2022-03-18T14:37:40","modified_gmt":"2022-03-18T06:37:40","slug":"windows-%e5%b9%b3%e5%8f%b0%e7%bc%96%e8%af%91-yolo","status":"publish","type":"post","link":"https:\/\/blog.5danyuan.com\/?p=1003","title":{"rendered":"Windows \u5e73\u53f0\u7f16\u8bd1 Yolo"},"content":{"rendered":"\n<p>\u5728\u524d\u9762\u7684\u6587\u6863\u4e2d\uff0c\u6211\u63d0\u53ca\u4e86\u5728Firefly\u91cc\u7f16\u8bd1\u540e\uff0c\u4f46\u662f\u65e0\u6cd5\u6210\u529f\u52a0\u8f7d\u6743\u91cd\u6587\u4ef6\u6765\u9884\u6d4b\uff0c\u53ea\u597d\u8f6c\u5230 windows \u5e73\u53f0\u4e0a\u7422\u78e8\u5176\u4f7f\u7528\uff0c\u56e0\u4e3a\u6211\u6709\u4e2a\u673a\u5668\u662f\u4f7f\u7528\u4e86\u82f1\u4f1f\u8fbe\u7684 2080Ti \u7684\u663e\u5361\uff0c\u5185\u5fc3\u8fd8\u662f\u60f3\u9a8c\u8bc1\u770b\u770b\u901f\u5ea6\u5230\u5e95\u6709\u591a\u5feb\u3002<\/p>\n\n\n\n<p>\u6309\u7167\u7f51\u4e0a\u7684\u8bf4\u6cd5\uff0c\u4ece<a href=\"https:\/\/github.com\/AlexeyAB\/darknet\">\u8fd9\u91cc<\/a>\u628a\u6e90\u7801\u4e0b\u8f7d\u56de\u6765\uff0c\u7136\u540e\u914d\u7f6e OpenCV\u548cCUDNN\u3002\u8bf4\u5230\u8fd9\u4e2aCUDNN\u7684\u914d\u7f6e\uff0c\u662f\u4e2a\u9ebb\u70e6\u4e8b\uff0c\u597d\u5728\u4ee5\u524d\u5df2\u7ecf\u5b89\u88c5\u4e86\uff0c\u8fd9\u6b21\u6ca1\u6709\u505a\u4efb\u4f55\u53d8\u52a8\u5c31\u53ef\u4ee5\u4e86\u3002<\/p>\n\n\n\n<p>\u5bf9\u4e8e\u5982\u4f55\u914d\u7f6e OpenCV\uff0c\u53ef\u4ee5\u53c2\u8003\u6211\u7684\u53e6\u5916\u4e00\u4e2a\u5e16\u5b50\u3002<\/p>\n\n\n\n<p>\u7136\u540e\u5c31\u53ef\u4ee5\u6b63\u5e38\u5730\u7f16\u8bd1 x86\u548cx64\u4f4d\u7684\u4e86\uff0c\u7f16\u8bd1\u540e\u5c31\u53ef\u4ee5\u6309\u7167\u8bf4\u660e\uff0c\u53bb\u505a\u9884\u6d4b\u4e86\u3002\u786e\u5b9e\u901f\u5ea6\u975e\u5e38\u7684\u5feb\uff0c\u5982\u6211\u524d\u6587\u6240\u8ff0\uff0c\u6beb\u79d2\u7ea7\u7684\uff0c\u8fd8\u662f\u6709\u94b1\u597d\u7684\uff0c\u663e\u5361\u725b\u6279\uff0c\u8282\u7701\u65f6\u95f4\u3002<\/p>\n\n\n\n<p>\u5728 Github <a href=\"https:\/\/github.com\/AlexeyAB\/darknet#how-to-compile-on-windows-using-vcpkg\">\u539f\u6587<\/a>\u91cc\uff0c\u8fd8\u63d0\u53ca\u4e86\u4f7f\u7528\u53e6\u5916\u4e00\u79cd\u7f16\u8bd1\u65b9\u5f0f\uff0c\u5c31\u662f\u5fae\u8f6f\u63a8\u51fa\u7684\u4e00\u79cd\u65b0\u7684\u5de5\u5177\uff1avcpkg\u3002<\/p>\n\n\n\n<p>\u8fd9\u4e2a\u5de5\u5177\u597d\u5728\u54ea\u91cc\u5462\uff0c\u5b83\u4f1a\u81ea\u52a8\u67e5\u627e\u4f9d\u8d56\u9879\uff0c\u5e76\u4e14\u4e0b\u8f7d\u4e86\u653e\u5230\u9879\u76ee\u7684\u76ee\u5f55\u91cc\uff0c\u4ee5\u89e3\u51b3\u5404\u79cd\u7f3a\u5c11\u914d\u7f6e\u7684\u95ee\u9898\uff0c\u770b\u8d77\u6765\u4e0b\u8f7d\u56de\u6765\u7684\u90a3\u4e9b\u5305\u6709\u70b9\u50cf\u7eff\u8272\u7248\u7684\u3002\u4e0b\u8f7d\u597d\u540e\uff0c\u6309\u7167\u8bf4\u660e\uff0c\u8fd0\u884c\u547d\u4ee4\uff0c\u5c31\u53ef\u4ee5\u5f00\u59cb\u7f16\u8bd1\u4e86\u3002<\/p>\n\n\n\n<p>\u5728\u6211\u76842\u53f0\u7535\u8111\u4e0a\u90fd\u53ef\u4ee5\u6b63\u786e\u5730\u7f16\u8bd1\uff0c\u7136\u540e\u9a8c\u8bc1\u4e86\u4e0b\uff0c\u4f7f\u7528\u548c\u4e0d\u4f7f\u7528GPU\u6240\u6d88\u8017\u7684\u65f6\u95f4\u5dee\u5f02\u5f88\u5927\u3002\u6beb\u79d2\u7ea7\u7684\u8bc6\u522b\u548c\u5341\u51e0\u79d2\u7684\u8bc6\u522b\u3002<\/p>\n\n\n\n<p>\u4e0d\u8fc7\u518d\u91cd\u65b0\u7f16\u8bd1\u5c31\u5931\u8d25\u4e86\uff0c\u53ef\u80fd\u662f\u6211\u4fee\u6539\u4e86\u4ec0\u4e48\u4e1c\u897f\u51fa\u9519\u3002\u5148\u4e0d\u7ba1\u4e86\uff0c\u4e0d\u7ba1\u5982\u4f55\uff0c\u6211\u73b0\u5728\u6709\u4e86\u53ef\u4ee5\u7f16\u8bd1\u6210\u529f\u7684\u4e8c\u8fdb\u5236\u7684 dll \u4e86\uff0c\u540e\u9762\u5c31\u53ef\u4ee5\u5171\u4eab\u7ed9 C++ \u548c C# \u8c03\u7528\u4e86\u3002\u6211\u770b\u4e86\u4e0b\uff0cpython \u8c03\u7528\u8fd8\u662f\u602a\u9ebb\u70e6\u7684\uff0c\u5c31\u4e0d\u8003\u8651\u4e86\u3002<\/p>\n\n\n\n<p>\u5728\u6700\u540e\uff0c\u7ed9\u51fa\u4e00\u4e9b\u5f53\u521d\u53c2\u8003\u7684\u6587\u6863\uff1a<\/p>\n\n\n\n<p><a href=\"https:\/\/www.cnblogs.com\/fzu-Z9h\/p\/10762318.html\">\u8fd9\u91cc<\/a>\uff0c<a href=\"https:\/\/note.youdao.com\/ynoteshare1\/index.html?id=04fb326760a726f23cbd9ae8ff6b1fc6&amp;type=note#\/\">\u8fd9\u91cc<\/a>\uff0c\u8fd8\u6709<a href=\"https:\/\/zhuanlan.zhihu.com\/p\/32097670\">\u8fd9\u91cc<\/a> \u548c<a href=\"https:\/\/zhuanlan.zhihu.com\/p\/45845454\">\u8fd9\u91cc<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u524d\u9762\u7684\u6587\u6863\u4e2d\uff0c\u6211\u63d0\u53ca\u4e86\u5728Firefly\u91cc\u7f16\u8bd1\u540e\uff0c\u4f46\u662f\u65e0\u6cd5\u6210\u529f\u52a0\u8f7d\u6743\u91cd\u6587\u4ef6\u6765\u9884\u6d4b\uff0c\u53ea\u597d\u8f6c\u5230 windows \u5e73 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[321,5],"tags":[322],"class_list":["post-1003","post","type-post","status-publish","format-standard","hentry","category-ai","category-daily","tag-yolo"],"_links":{"self":[{"href":"https:\/\/blog.5danyuan.com\/index.php?rest_route=\/wp\/v2\/posts\/1003","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.5danyuan.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.5danyuan.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.5danyuan.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.5danyuan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1003"}],"version-history":[{"count":0,"href":"https:\/\/blog.5danyuan.com\/index.php?rest_route=\/wp\/v2\/posts\/1003\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.5danyuan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1003"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.5danyuan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1003"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.5danyuan.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1003"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}