{"id":14592,"date":"2022-05-12T14:56:00","date_gmt":"2022-05-12T06:56:00","guid":{"rendered":"https:\/\/www.circuspi.com\/?p=14592"},"modified":"2022-05-20T15:19:19","modified_gmt":"2022-05-20T07:19:19","slug":"pixelbit-unit6","status":"publish","type":"post","link":"https:\/\/www.circuspi.com\/index.php\/2022\/05\/12\/pixelbit-unit6\/","title":{"rendered":"Pixel:Bit \u6559\u5b78(\u516d)\uff0dEdge Impulse \u5f71\u50cf\u8fa8\u8b58\u5be6\u4f5c(\u4e0b)\uff1a\u6a21\u578b\u8a13\u7df4\u8207\u4f7f\u7528"},"content":{"rendered":"\n<p><style>\n\/* ###\u5be6\u9a57\u4e0b\u4e00\u5217### *\/\n\na:link {color:#0695e4\n;}    \/* \u8a2d\u5b9a\u5c1a\u672a\u9ede\u95b1\u904e\u7684\u9023\u7d50\u6a23\u5f0f *\/\na:visited {color:#0695e4\n;} \/* \u8a2d\u5b9a\u904e\u53bb\u66fe\u7d93\u95b1\u904e\u7684\u9023\u7d50 *\/\na:hover {color:#0695e4\n;}   \/* \u8a2d\u5b9a\u6ed1\u9f20\u6e38\u6a19\u6307\u5728\u9023\u7d50\u4f4d\u7f6e\u4e0a\u7684\u6a23\u5f0f *\/\na:active {color:#0000BB;}  \/* \u8a2d\u5b9a\u4e0a\u9ede\u64ca\u904e\u7684\u9023\u7d50\u6a23\u5f0f *\/\n<\/style><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1000\" height=\"526\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2022\/05\/1000x526-2.jpg\" alt=\"\" class=\"wp-image-15788\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e00\u3001\u524d\u8a00<\/h2>\n\n\n\n<p>\u5728<a href=\"https:\/\/www.circuspi.com\/index.php\/2022\/04\/26\/pixelbit-unit5\/\" target=\"_blank\" rel=\"noreferrer noopener\"> Pixel:Bit \u6559\u5b78(\u4e94) <\/a>\u4e2d\u6211\u5011\u4ecb\u7d39\u4e86\u4ec0\u9ebc\u662f <a href=\"https:\/\/www.tinyml.org\/\" target=\"_blank\" rel=\"noreferrer noopener\">TinyML<\/a>\uff0c\u5728 <a href=\"https:\/\/www.tinyml.org\/\" target=\"_blank\" rel=\"noreferrer noopener\">TinyML<\/a> \u4e2d <a href=\"https:\/\/www.edgeimpulse.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Edge Impulse<\/a> \u6240\u626e\u6f14\u7684\u89d2\u8272\uff0c\u4ee5\u53ca <a href=\"https:\/\/www.edgeimpulse.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Edge Impulse<\/a> \u63d0\u4f9b\u4e86\u54ea\u4e9b\u670d\u52d9\uff0c\u6700\u5f8c\u66f4\u5e36\u5927\u5bb6\u5f9e <a href=\"https:\/\/www.icshop.com.tw\/product-page.php?28659=&amp;utm_source=icshop+front+page&amp;utm_medium=Pixel:Bit+&amp;utm_campaign=purchase_cpc\" target=\"_blank\" rel=\"noreferrer noopener\">Pixel:Bit<\/a> \u6536\u96c6\u5716\u7247\u8cc7\u6599\uff0c\u8f49\u4ea4 <a href=\"https:\/\/www.edgeimpulse.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Edge Impulse<\/a> \u505a\u521d\u6b65\u7684\u8cc7\u6599\u9810\u8655\u7406\u53ca\u7279\u5fb5\u63d0\u53d6\u3002\u9019\u500b\u55ae\u5143\u5c07\u5e36\u5927\u5bb6\u7e7c\u7e8c\u5b8c\u6210\u300c\u6a21\u578b\u8a13\u7df4&amp;\u9a57\u8b49\u300d\u3001\u300c\u6a21\u578b\u6e2c\u8a66\u300d\u3001\u300c\u6a21\u578b\u90e8\u5c6c\u300d\u4e09\u500b\u90e8\u5206\uff0c\u9054\u5230\u5be6\u969b\u4f7f\u7528 <a href=\"https:\/\/www.icshop.com.tw\/product-page.php?28659\" target=\"_blank\" rel=\"noreferrer noopener\">Pixel:Bit <\/a>\u5be6\u4f5c\u5f71\u50cf\u5206\u985e\u7684\u529f\u80fd\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e8c\u3001\u6a21\u578b\u8a13\u7df4<\/h2>\n\n\n\n<p>\u5728 <a href=\"Pixel:Bit \u6559\u5b78(\u4e94) \u4e2d\"><\/a><a href=\"https:\/\/www.circuspi.com\/index.php\/2022\/04\/26\/pixelbit-unit5\/\" target=\"_blank\" rel=\"noreferrer noopener\">Pixel:Bit \u6559\u5b78(\u4e94) <\/a>\u6587\u7ae0\u4e2d\u6211\u5011\u5df2\u7d93\u4e0a\u50b3\u56db\u500b\u985e\u5225\uff08\u526a\u5200\u3001\u77f3\u982d\u3001\u5e03\u3001\u80cc\u666f\uff09\u7684\u8cc7\u6599\uff0c\u4e26\u7d93\u904e <a href=\"https:\/\/www.edgeimpulse.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Edge Impulse<\/a> \u63d0\u4f9b\u7684\u7279\u5fb5\u63d0\u53d6\u529f\u80fd\u53d6\u51fa\u8cc7\u6599\u7279\u5fb5\u503c\uff0c\u63a5\u8457\u6211\u5011\u9700\u8981\u5c07\u9019\u4e9b\u6709\u7528\u7684\u8cc7\u6599\u9032\u884c\u9077\u79fb\u5b78\u7fd2\uff08Transfer learning\uff09\u8a13\u7df4\u3002<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2022\/04\/01-3.jpg\" alt=\"\" class=\"wp-image-15390\" width=\"502\" height=\"302\"\/><figcaption><a href=\"https:\/\/echenshe.com\/class\/tensorflow\/5-16-transfer-learning.html\" target=\"_blank\" rel=\"noreferrer noopener\">\u5716\u7247\u4f86\u6e90<\/a><\/figcaption><\/figure><\/div>\n\n\n\n<p>\u9077\u79fb\u5b78\u7fd2\uff08Transfer learning\uff09\u662f\u5c6c\u65bc\u6a5f\u5668\u5b78\u7fd2\u7684\u4e00\u7a2e\u7814\u7a76\u9818\u57df\uff0c\u5b83\u5c08\u6ce8\u65bc\u5132\u5b58\u5df2\u6709\u554f\u984c\u7684\u89e3\u6c7a\u6a21\u578b\uff0c\u4e26\u5c07\u5176\u5229\u7528\u5728\u5176\u4ed6\u4e0d\u540c\u4f46\u76f8\u95dc\u554f\u984c\u4e0a\uff1b\u6bd4\u5982\u8aaa\uff0c\u7528\u4f86\u8fa8\u8b58\u6c7d\u8eca\u7684\u77e5\u8b58\u4e5f\u53ef\u4ee5\u88ab\u7528\u4f86\u63d0\u5347\u8b58\u5225\u5361\u8eca\u7684\u80fd\u529b\uff0c\u56e0\u6b64\u6211\u5011\u53ef\u5bb9\u6613\u7684\u5f9e\u65e2\u6709\u5df2\u8a13\u7df4\u7684\u6a21\u578b\u4e2d\u7e7c\u627f\u5176\u7d93\u9a57\uff0c\u8b93\u5b83\u80fd\u4ee5\u5c11\u91cf\u8cc7\u6599\u5b78\u7fd2\u65b0\u4e8b\u7269\u3002<\/p>\n\n\n\n<p>\u63a5\u4e0b\u4f86\u5c31\u4f9d\u7167\u4ee5\u4e0b\u6b65\u9a5f\u4e00\u8d77\u9032\u884c\u6a21\u578b\u8a13\u7df4\uff1a<\/p>\n\n\n\n<ol><li>\u9078\u64c7\u5de6\u5074\u6b04 Transfer learning<\/li><li>\u8a13\u7df4\u6578\u503c\u8a2d\u5b9a<ul><li>\u8a2d\u5b9a Training Cycles \u70ba 200 \u6b21\uff08\u82e5\u8a13\u7df4\u7d50\u679c\u4e0d\u7406\u60f3\u53ef\u518d\u63d0\u9ad8\u6b21\u6578\uff0c\u4f46\u9808\u6ce8\u610f<strong>\u904e\u64ec\u5408<\/strong>\u554f\u984c\uff0c\u5373\u6a21\u578b\u53ea\u5b78\u6703\u4e86\u8a13\u7df4\u8cc7\u6599\u7684\u5167\u5bb9\uff0c\u5c0d\u65bc\u672a\u77e5\u7684\u8cc7\u6599\u7f3a\u4e4f\u5206\u8fa8\u7684\u80fd\u529b\uff09\u3002<\/li><li>Learning rate\uff08\u5b78\u7fd2\u901f\u7387\uff09\u4f7f\u7528\u9810\u8a2d 0.0005\u3002<\/li><li>Validation set size\uff08\u9a57\u8b49\u8cc7\u6599\u6bd4\u4f8b\uff09\u4f7f\u7528\u9810\u8a2d 20%\u3002<\/li><li>\u82e5\u5404\u985e\u5225\u8cc7\u6599\u6578\u91cf\u4e0d\u4e00\uff0c\u53ef\u4ee5\u52fe\u9078 Auto-balance dataset \u9078\u9805\uff0c\u5b83\u5c07\u6703\u81ea\u52d5\u5e73\u8861\u6240\u6709\u985e\u5225\u8cc7\u6599\uff0c\u8b93\u8a13\u7df4\u904e\u7a0b\u4e0d\u6703\u56e0\u70ba\u67d0\u985e\u8cc7\u6599\u7279\u5225\u591a\u800c\u7279\u5225\u504f\u5411\u90a3\u4e00\u500b\u985e\u5225\u3002<\/li><li>\u82e5\u60f3\u8981\u589e\u52a0\u5176\u9918\u4e0d\u540c\u74b0\u5883\u8cc7\u6599\u53ef\u52fe\u9078 Data augmentation\uff0c\u5b83\u5c07\u6703\u5c0d\u539f\u59cb\u8cc7\u6599\u505a\u7279\u6b8a\u8655\u7406\uff08\u5982\u8b8a\u8272\u3001\u4eae\u5ea6\u3001\u65cb\u8f49\u3001\u93e1\u50cf\u3001\u52a0\u5165\u96dc\u8a0a\u7b49\uff09\u4ee5\u589e\u52a0\u8cc7\u6599\u91cf\uff0c\u82e5\u8a13\u7df4\u7d50\u679c\u7e3d\u662f\u904e\u64ec\u5408\u4e5f\u53ef\u4ee5\u8a66\u8a66\u6b64\u9078\u9805\uff0c\u52a0\u5165\u4e0d\u540c\u74b0\u5883\u8cc7\u6599\u53ef\u8b93\u6a21\u578b\u66f4\u5bb9\u6613\u5b78\u7fd2\u5230\u771f\u6b63\u7684\u91cd\u9ede\uff08\u4f8b\u5982\u6a21\u578b\u539f\u672c\u7684\u5b78\u7fd2\u7d50\u679c\u53ef\u80fd\u9700\u8981\u5728\u67d0\u7a2e\u4eae\u5ea6\u624d\u53ef\u6b63\u78ba\u63a8\u8ad6\u7d50\u679c\uff0c\u4e00\u65e6\u74b0\u5883\u4eae\u5ea6\u6539\u8b8a\u5b83\u5c07\u8b8a\u5f97\u4e0d\u6e96\u78ba\uff09\uff0c\u6b64\u6642\u52a0\u5165\u5c0d\u8cc7\u6599\u4eae\u6697\u5ea6\u7684\u6539\u8b8a\uff0c\u8b93\u6a21\u578b\u9069\u61c9\u4eae\u8207\u6697\u7684\u74b0\u5883\uff0c\u76e1\u53ef\u80fd\u53bb\u5b78\u7fd2\u5176\u4ed6\u7279\u9ede\uff0c\u4f8b\u5982\u8f2a\u5ed3\uff0c\u6162\u6162\u7684\u8b93\u6a21\u578b\u5b78\u6703\u5176\u4e2d\u7684\u91cd\u9ede\u3002<\/li><\/ul><\/li><li>\u6a21\u578b\u7684\u9078\u64c7\uff0c\u7d93\u904e\u6211\u5011\u53cd\u8986\u6e2c\u8a66\uff0c\u5728\u8f38\u5165\u5716\u50cf\u5c3a\u5bf8 48 x 48 \u4e0b\uff0c\u56e0 RAM \u9650\u5236\uff0cPixel:Bit \u6700\u5927\u80fd\u5920\u4f7f\u7528\u7684\u6a21\u578b\u70ba\u300cMobileNetV1 96&#215;96 0.25\u300d\uff0c\u6240\u4ee5\u6700\u7d42\u6211\u5011\u9078\u64c7\u5b83\u4f5c\u70ba\u6211\u5011\u7684\u9077\u79fb\u5b78\u7fd2\u6a21\u578b\u3002<\/li><li>\u5728\u78ba\u8a8d\u597d\u6211\u5011\u7684\u6a21\u578b\u53ca\u76f8\u95dc\u53c3\u6578\u5f8c\u6211\u5011\u5c31\u53ef\u6309\u4e0b Start training\uff0cEdge Impulse \u5c07\u6703\u5728\u7dda\u4e0a\u5e6b\u6211\u5011\u8a13\u7df4\u6a21\u578b\u3002<\/li><\/ol>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2022\/04\/02.png\" alt=\"\" class=\"wp-image-15391\" width=\"750\" height=\"634\"\/><\/figure><\/div>\n\n\n\n<p>\u8a13\u7df4\u5b8c\u7562\u5f8c\u6211\u5011\u53ef\u5728\u9801\u9762\u53f3\u5074\u770b\u5230\u8a13\u7df4\u5b8c\u7684\u6e96\u78ba\u5ea6\u3001\u640d\u5931\u53ca\u76f8\u95dc\u8cc7\u8a0a\uff0c\u5f9e\u4e0b\u5716\u4e2d\u6211\u5011\u53ef\u4ee5\u770b\u5230\u6b64\u6b21\u8a13\u7df4\u6e96\u78ba\u5ea6\u9054 86%\uff0cLOSS 0.34\uff0c\u4e26\u4e14\u53ef\u4ee5\u770b\u5230\u6bcf\u4e00\u985e\u5225\u7684\u6e96\u78ba\u5ea6\uff0c\u5176\u4e2d\u6211\u5011\u53ef\u4ee5\u767c\u73fe\u300c\u526a\u5200\uff08SCISSORS\uff09\u300d\u985e\u5225\u6e96\u78ba\u5ea6\u6700\u4f4e\u53ea\u6709 75%\uff0c\u6709\u9ad8\u9054 18% \u88ab\u8a8d\u70ba\u662f\u300c\u5e03\u300d\u985e\u5225\uff08\u53ef\u80fd\u4ed6\u5011\u5dee\u7570\u4e0d\u5927\uff0c\u96e3\u9053\u662f\u56e0\u70ba\u5dee\u4e09\u6839\u624b\u6307\u982d\u800c\u5df2\uff1f\uff1f\uff09\uff0c\u4f46\u4e5f\u9084\u5728\u53ef\u63a5\u53d7\u7684\u7bc4\u570d\u5167\uff1b\u6700\u5f8c\u6211\u5011\u53ef\u5728\u4e0b\u65b9\u770b\u5230\u9810\u4f30\u7684\u300c\u63a8\u8ad6\u901f\u5ea6\u300d\u3001\u300cRAM\u3001FLASH\u4f7f\u7528\u91cf\u300d\uff0c\u8b93\u6211\u5011\u521d\u6b65\u8a55\u4f30\u662f\u5426\u9069\u5408\u904b\u884c\u5728\u76ee\u6a19\u88dd\u7f6e\u4e0a\u3002<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"500\" height=\"504\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2022\/04\/03-3.jpg\" alt=\"\" class=\"wp-image-15392\"\/><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e09\u3001\u6a21\u578b\u6e2c\u8a66<\/h2>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2022\/04\/04.png\" alt=\"\" class=\"wp-image-15393\" width=\"300\" height=\"300\"\/><figcaption><a href=\"https:\/\/zh.wikipedia.org\/wiki\/%E9%81%8E%E9%81%A9\">\u5716\u7247\u4f86\u6e90<\/a><\/figcaption><\/figure><\/div>\n\n\n\n<p>\u6a21\u578b\u7d93\u904e Edge Impulse \u8a13\u7df4\u5b8c\u6210\u5f8c\u63a5\u8457\u5c31\u9700\u8981\u6e2c\u8a66\u6a21\u578b\uff0c\u9084\u8a18\u5f97\u6700\u521d\u4e0a\u50b3\u5716\u7247\u8cc7\u6599\u6642\u6211\u5011\u9078\u64c7\u300c\u81ea\u52d5\u62c6\u5206\u8cc7\u6599\u5230\u8a13\u7df4\u3001\u9a57\u8b49\u3001\u6e2c\u8a66\u968e\u6bb5\u300d\u9078\u9805\uff0c\u6240\u4ee5\u6bcf\u500b\u968e\u6bb5\u6703\u53d6\u5404\u81ea\u7684\u8cc7\u6599\u505a\u8655\u7406\uff0c\u5728\u8a13\u7df4\u968e\u6bb5\u5b83\u5c07\u6703\u91dd\u5c0d\u8a13\u7df4\u8cc7\u6599\u505a\u8a13\u7df4\uff0c\u8a13\u7df4\u904e\u7a0b\u900f\u904e\u9a57\u8b49\u8cc7\u6599\u9a57\u8b49\u6e96\u78ba\u5ea6\u3002<\/p>\n\n\n\n<p>\u5176\u4e2d\u82e5\u6211\u5011\u6c92\u6709\u900f\u904e\u6e2c\u8a66\u968e\u6bb5\u6e2c\u8a66\u6a21\u578b\uff0c\u55ae\u7d14\u53ea\u770b\u8a13\u7df4\u5f8c\u9a57\u8b49\u7684\u6e96\u78ba\u5ea6\uff0c\u5c31\u6709\u53ef\u80fd\u6703\u7522\u751f\u904e\u64ec\u5408\uff08\u5982\u4e0a\u5716\uff09\u7684\u554f\u984c\uff0c\u5373\u8aa4\u4ee5\u70ba\u6a21\u578b\u8a13\u7df4\u7684\u7d50\u679c\u4f3c\u4e4e\u5f88\u597d\uff0c\u80fd\u5920\u6e96\u78ba\u5206\u8fa8\u6240\u6709\u4e8b\u7269\uff0c\u4f46\u5176\u5be6\u6a21\u578b\u53ea\u662f\u5b78\u6703\u4e86\u8868\u9762\u5de5\u592b\uff0c\u5c0d\u65bc\u6c92\u6709\u5b78\u7fd2\u904e\u7684\u8cc7\u6599\u5be6\u969b\u4e0a\u662f\u4e00\u7ac5\u4e0d\u901a\uff0c\u6240\u4ee5\u6700\u7d42\u6211\u5011\u9084\u662f\u9700\u8981\u9032\u4e00\u6b65\u6e2c\u8a66\u6a21\u578b\uff0c\u4ee5\u78ba\u4fdd\u6a21\u578b\u5c0d\u65bc\u4e00\u4e9b\u672a\u77e5\u7684\u8cc7\u6599\u4e5f\u80fd\u5920\u64c1\u6709\u8f03\u9ad8\u7684\u8fa8\u8b58\u6e96\u78ba\u5ea6\u3002<\/p>\n\n\n\n<ol><li>\u9ede\u9078 Model testing \u9032\u5230\u6e2c\u8a66\u9801\u9762\u3002<\/li><li>\u9ede\u9078 Classify all \u5c07\u6240\u6709\u6e2c\u8a66\u8cc7\u6599\u9032\u884c\u5f71\u50cf\u5206\u985e\u3002<\/li><\/ol>\n\n\n\n<p>\u5206\u985e\u5b8c\u7562\u5f8c\u6211\u5011\u53ef\u4ee5\u770b\u5230\u6709\u54ea\u4e9b\u8cc7\u6599\u5206\u985e\u932f\u8aa4\uff0c\u4e26\u4e14\u53ef\u4ee5\u9032\u4e00\u6b65\u67e5\u770b\u6216\u79fb\u52d5\u8cc7\u6599\u5230\u8a13\u7df4\u8cc7\u6599\u96c6\u5167\u3002<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2022\/04\/05.png\" alt=\"\" class=\"wp-image-15394\" width=\"793\" height=\"459\"\/><\/figure><\/div>\n\n\n\n<p>\u5f9e\u4e0b\u5716\u6211\u5011\u53ef\u770b\u5230\u6574\u9ad4\u5206\u985e\u5f8c\u7684\u6e96\u78ba\u5ea6\u9ad8\u9054 84%\uff0c\u4e26\u4e14\u4e00\u6a23\u662f\u300c\u526a\u5200\u300d\u985e\u5225\u6e96\u78ba\u5ea6\u6700\u4f4e\uff0c\u53ea\u6709 73%\uff0c\u4f46\u4e5f\u9084\u5728\u53ef\u63a5\u53d7\u7684\u7bc4\u570d\u5167\uff1b\u6574\u9ad4\u6e96\u78ba\u5ea6\u8207\u8a13\u7df4\u5f8c\u9a57\u8b49\u6e96\u78ba\u5ea6\u76f8\u7b26\uff0c\u6240\u4ee5\u6211\u5011\u53ef\u4ee5\u6709\u6bd4\u8f03\u9ad8\u7684\u4fe1\u5fc3\u8a8d\u70ba\u6b64\u6a21\u578b\u61c9\u8a72\u6c92\u6709\u554f\u984c\u3002<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2022\/04\/06.png\" alt=\"\" class=\"wp-image-15395\" width=\"595\" height=\"465\"\/><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">\u56db\u3001\u6a21\u578b\u90e8\u5c6c<\/h2>\n\n\n\n<p>\u6e2c\u8a66\u5b8c\u6a21\u578b\u5f8c\uff0c\u6700\u5f8c\u4e00\u500b\u6b65\u9a5f\u4e5f\u662f\u6211\u5011\u8f9b\u82e6\u9019\u9ebc\u4e45\u6700\u671f\u5f85\u7684\u6b65\u9a5f\uff0c\u5373\u6a21\u578b\u7684\u90e8\u5c6c\uff0c\u5c07\u8a13\u7df4\u597d\u7684\u6a21\u578b\u653e\u5165\u6211\u5011\u7684 Pixel:Bit \u4e2d\uff0c\u5be6\u969b\u5728 Pixel:Bit \u63a8\u8ad6\uff0c\u73fe\u5728\u5c31\u8b93\u6211\u5011\u4f86\u770b\u770b\u5be6\u969b\u7684\u6548\u679c\u5982\u4f55\u5427\uff01<\/p>\n\n\n\n<ol><li>\u9078\u64c7\u5de6\u5074 Deployment \u9078\u9805\u9032\u5165\u6a21\u578b\u90e8\u5c6c\u9801\u9762\u3002<\/li><li>\u56e0\u6211\u5011\u7684\u958b\u767c\u5e73\u53f0\u4f7f\u7528 Arduino\uff0c\u6240\u4ee5\u9078\u64c7 Arduino Library\uff0c\u82e5\u662f\u55ae\u7d14\u4f7f\u7528 C++ \u958b\u767c\u53ef\u9078\u64c7 C++ Library\uff0cSTM \u7cfb\u5217 MCU \u53ef\u9078\u64c7\u642d\u914d Cube.MX Library\u3002<\/li><\/ol>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2022\/04\/07.png\" alt=\"\" class=\"wp-image-15396\" width=\"869\" height=\"447\"\/><\/figure><\/div>\n\n\n\n<p>\u6700\u7d42\u6309\u4e0b Build \u5c07\u6211\u5011\u7684 Model \u53ca\u76f8\u95dc\u63a8\u8ad6\u6240\u9700\u7684 Library \u4e0b\u8f09\u5230 PC \u7aef\uff0c\u4e26\u4e14\u5c07\u6b64 Library \u89e3\u58d3\u7e2e\u81f3 Arduinio \u9810\u8a2d Library \u5b58\u653e\u7684\u8def\u5f91\u5e95\u4e0b\uff08C:\\Users\\xxxx\\Documents\\Arduino\\libraries\\\uff09\u3002<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2022\/04\/08.png\" alt=\"\" class=\"wp-image-15397\" width=\"669\" height=\"478\"\/><\/figure><\/div>\n\n\n\n<p>\u7dca\u63a5\u8457\u6211\u5011\u958b\u555f\u4e0a\u4e00\u7bc7\u4e2d\u4e0b\u8f09\u7684 Pixel:Bit \u7bc4\u4f8b\u7a0b\u5f0f\u300cPixelBit_EdgeImpulse_ESP.ino\u300d\uff0c\u540c\u6a23\u81ea\u884c\u66f4\u6539\u7b2c 16\u300117 \u884c Wi-Fi \u5e33\u865f\u5bc6\u78bc\u3002<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2022\/04\/09.png\" alt=\"\" class=\"wp-image-15398\" width=\"597\" height=\"611\"\/><\/figure><\/div>\n\n\n\n<p>\u4e26\u4e14\u4fee\u6539\u300capp_httpd.cpp\u300d\u6a94\u6848\u4e2d\u7b2c 19 \u884c Library \u540d\u7a31\uff0c\u8acb\u66f4\u6539\u70ba\u8207\u5148\u524d\u4e0b\u8f09\u7684 Edge Impulse Library \u76f8\u540c\u540d\u7a31\uff08\u540d\u7a31\u6703\u4f9d\u7167 Edge Impulse \u5c08\u6848\u540d\u7a31\uff09\uff0c\u6700\u5f8c\u5c07\u7a0b\u5f0f\u78bc\u4e0a\u50b3\u81f3 Pixel:Bit \u5c31\u5927\u529f\u544a\u6210\u5566\uff01<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2022\/04\/10.png\" alt=\"\" class=\"wp-image-15399\" width=\"603\" height=\"655\"\/><\/figure><\/div>\n\n\n\n<p>\u4e0a\u50b3\u5b8c\u7562\u5f8c\u958b\u555f\u5e8f\u5217\u57e0\u8996\u7a97\uff0c\u61c9\u8a72\u6703\u770b\u5230\u5982\u4e0b\u5716\u6240\u793a\u756b\u9762\u3002<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2022\/05\/11.png\" alt=\"\" class=\"wp-image-15400\" width=\"653\" height=\"347\"\/><\/figure><\/div>\n\n\n\n<p>\u6253\u958b\u700f\u89bd\u5668\u9032\u5165\u6307\u793a\u7684 IP \u4f4d\u7f6e\u5373\u53ef\u770b\u5230\u5982\u4e0b\u5716\u6240\u793a\u7684\u63a8\u8ad6\u9801\u9762\uff08\u672c\u6559\u5b78\u7684 IP \u70ba 192.168.76\uff09\u3002<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2022\/05\/12.png\" alt=\"\" class=\"wp-image-15401\" width=\"557\" height=\"419\"\/><\/figure><\/div>\n\n\n\n<p>\u63a5\u4e0b\u4f86\u4f9d\u7167\u4ee5\u4e0b\u6b65\u9a5f\u8abf\u6574\u5167\u5bb9\uff1a<\/p>\n\n\n\n<ol><li>\u555f\u7528 Edge Impulse Inference\u3002<\/li><li>\u6309\u4e0b Start Stream \u555f\u7528\u4e32\u6d41\u756b\u9762\u5373\u53ef\u5728\u53f3\u5074\u770b\u5230\u5373\u6642\u7684\u4e32\u6d41\u756b\u9762\u3002<\/li><li>\u63a5\u8457\u6309\u4e0b Run inference \u5373\u53ef\u64f7\u53d6\u7167\u7247\u4e26\u9032\u884c\u63a8\u8ad6\u3002<\/li><\/ol>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2022\/05\/13-1.jpg\" alt=\"\" class=\"wp-image-15402\" width=\"564\" height=\"402\"\/><\/figure><\/div>\n\n\n\n<ul><li>\u6309\u4e0b\u63a8\u8ad6\u5f8c\u5716\u7247\u5c07\u6703\u88ab\u7e2e\u70ba 48&#215;48 \u5927\u5c0f\u4f9b\u8f38\u5165\u6a21\u578b\uff0c\u4e26\u4e14\u5728\u5716\u7247\u53f3\u5074\u986f\u793a\u63a8\u8ad6\u7d50\u679c\uff0c\u5982\u4e0b\u5716\u6211\u5011\u64fa\u51fa\u300c\u5e03\u300d\u7684\u5716\u6848\uff0c\u5f9e\u63a8\u8ad6\u7d50\u679c\u53ef\u4ee5\u767c\u73fe\u6e96\u78ba\u5ea6\u9ad8\u9054 99%\uff0c\u5982\u4e0b\u5716\u6240\u793a\uff1a<\/li><\/ul>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2022\/05\/14.png\" alt=\"\" class=\"wp-image-15403\" width=\"574\" height=\"606\"\/><\/figure><\/div>\n\n\n\n<ul><li>\u5982\u679c\u64fa\u51fa\u300c\u526a\u5200\u300d\u7684\u5716\u6848\uff0c\u6e96\u78ba\u5ea6 80%\uff0c\u5982\u540c\u5148\u524d\u9806\u7df4\u6642\u7684\u72c0\u6cc1\uff0c\u526a\u5200\u9019\u500b\u985e\u5225\u7684\u6e96\u78ba\u5ea6\u504f\u4f4e\uff0c\u53ef\u80fd\u7a0d\u5fae\u5bb9\u6613\u88ab\u8a8d\u70ba\u662f\u300c\u5e03\u300d\u7684\u985e\u5225\uff0c\u5982\u4e0b\u5716\u6240\u793a\uff1a<\/li><\/ul>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2022\/05\/15.png\" alt=\"\" class=\"wp-image-15404\" width=\"570\" height=\"599\"\/><\/figure><\/div>\n\n\n\n<p>\u64fa\u51fa\u300c\u77f3\u982d\u300d\u7684\u5716\u6848\uff0c\u6e96\u78ba\u5ea6 99%\uff0c\u5982\u4e0b\u5716\u6240\u793a\uff1a<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2022\/05\/16.png\" alt=\"\" class=\"wp-image-15405\" width=\"575\" height=\"599\"\/><\/figure><\/div>\n\n\n\n<ul><li>\u6700\u5f8c\u4f7f\u7528\u525b\u525b\u7684\u7a0b\u5f0f\u300c\u672a\u77e5\u300d\u7684\u5716\u6848\uff0c\u6e96\u78ba\u5ea6 94%\uff0c\u5982\u4e0b\u5716\u6240\u793a\uff1a<\/li><\/ul>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2022\/05\/17.png\" alt=\"\" class=\"wp-image-15406\" width=\"568\" height=\"599\"\/><\/figure><\/div>\n\n\n\n<p>\u9664\u4e86\u5f9e\u7db2\u9801\u89c0\u770b\u63a8\u8ad6\u7d50\u679c\u5916\uff0c\u4e5f\u53ef\u900f\u904e\u5e8f\u5217\u57e0\u8996\u7a97\u67e5\u770b\uff0c\u4e26\u4e14\u53ef\u4ee5\u767c\u73fe\u6bcf\u6b21\u63a8\u8ad6\u82b1\u8cbb\u7684\u6642\u9593\u70ba 0.6 \u79d2\u5de6\u53f3\uff0c\u5982\u4e0b\u5716\u6240\u793a\uff1a<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2022\/05\/18.png\" alt=\"\" class=\"wp-image-15407\" width=\"696\" height=\"315\"\/><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e94\u3001\u5c0f\u7d50<\/h2>\n\n\n\n<p>\u4ee5\u4e0a\u5c31\u662f\u9019\u6b21\u7684 Pixel:Bit \u6559\u5b78\uff0c\u53ea\u8981\u4f7f\u7528 Pixel:Bit \u672c\u8eab\u7684\u9ad8\u756b\u8cea\u76f8\u6a5f\u4e26\u4e14\u642d\u914d <a href=\"https:\/\/www.edgeimpulse.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Edge Impulse<\/a> \u5c31\u53ef\u73a9\u51fa\u8a31\u591a\u65b0\u61c9\u7528\uff0c\u4f8b\u5982\u9019\u6b21\u793a\u7bc4\u7684\u8fa8\u8b58\u526a\u5200\u3001\u77f3\u982d\u3001\u5e03\uff0c\u672a\u4f86\u53ef\u4ee5\u5728\u9019\u500b\u57fa\u790e\u4e0a\u642d\u914d Pixel:Bit \u7684 TFT \u884d\u751f\u88fd\u4f5c\u51fa\u81ea\u52d5\u731c\u62f3\u6a5f\uff0c\u8b93\u6211\u5011\u9019\u7a2e\u908a\u7de3\u4eba\u5728\u7121\u6cd5\u505a\u51fa\u6c7a\u5b9a\u7684\u6642\u5019\u4e5f\u80fd\u627e\u500b\u5c0d\u624b\u73a9\u731c\u62f3XD\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Pixel:Bit \u6559\u5b78 (\u516d) \u5c07\u5e36\u5927\u5bb6\u7e7c\u7e8c\u900f\u904e Edge Impulse \u5e73\u53f0\u5b8c\u6210\u5f71\u50cf\u8fa8\u8b58\u5be6\u4f5c\u7684\u300c\u6a21\u578b\u8a13\u7df4 &#038; \u9a57\u8b49\u300d\u3001\u300c\u6a21\u578b\u6e2c\u8a66\u300d\u3001\u300c\u6a21\u578b\u90e8\u5c6c\u300d\u4e09\u500b\u90e8\u5206\uff0c\u9054\u5230\u5be6\u969b\u4f7f\u7528 Pixel:Bit \u5be6\u4f5c\u5f71\u50cf\u5206\u985e\u7684\u529f\u80fd\u3002<\/p>\n","protected":false},"author":1,"featured_media":15789,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[274,238],"tags":[36,275,109],"table_tags":[],"_links":{"self":[{"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/posts\/14592"}],"collection":[{"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/comments?post=14592"}],"version-history":[{"count":24,"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/posts\/14592\/revisions"}],"predecessor-version":[{"id":15828,"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/posts\/14592\/revisions\/15828"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/media\/15789"}],"wp:attachment":[{"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/media?parent=14592"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/categories?post=14592"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/tags?post=14592"},{"taxonomy":"table_tags","embeddable":true,"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/table_tags?post=14592"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}