{"id":810,"date":"2020-04-07T13:32:56","date_gmt":"2020-04-07T06:32:56","guid":{"rendered":"http:\/\/www.miai.vn\/?p=810"},"modified":"2020-04-07T13:32:56","modified_gmt":"2020-04-07T06:32:56","slug":"yolo-on-windowshuong-dan-chi-tiet-cach-cai-dat-va-train-yolo-tren-windows","status":"publish","type":"post","link":"https:\/\/miai.vn\/?p=810","title":{"rendered":"[YOLO on Windows]H\u01b0\u1edbng d\u1eabn chi ti\u1ebft c\u00e1ch c\u00e0i \u0111\u1eb7t v\u00e0 train YOLO tr\u00ean Windows"},"content":{"rendered":"\n<p>Xin ch\u00e0o anh em, h\u00f4m nay ch\u00fang ta s\u1ebd c\u00f9ng nhau t\u00ecm c\u00e1ch c\u00e0i \u0111\u1eb7t v\u00e0 train YOLO tr\u00ean Windows nh\u00e9.<\/p>\n\n\n\n<p>\u0110\u00e2y l\u00e0 b\u00e0i vi\u1ebft c\u1ee7a MOD c\u1ee7a M\u00ec Ai Blog &#8211; <a rel=\"noreferrer noopener\" href=\"https:\/\/www.facebook.com\/nhaquedidepletrongcangphe\" target=\"_blank\">D\u01b0\u1ee1ng H\u00e0<\/a>, b\u1ea1n D\u01b0\u1ee1ng H\u00e0 chuy\u00ean v\u1ec1 OpenCV, Deep Learning tr\u00ean Windows.<\/p>\n\n\n\n<p>S\u1edf d\u0129 c\u00f3 b\u00e0i n\u00e0y l\u00e0 v\u00ec c\u00e0i \u0111\u1eb7t v\u00e0 train tr\u00ean Windows kh\u00f3 h\u01a1n, nhi\u1ec1u thao t\u00e1c h\u01a1n v\u00e0 d\u1ec5 l\u1ed7i h\u01a1n tr\u00ean Linux v\u00e0 MacOS. Th\u1eddi gian v\u1eeba qua c\u00f3 r\u1ea5t nhi\u1ec1u b\u1ea1n \u0111\u00e3 g\u1eb7p kh\u00f3 kh\u0103n khi th\u1ef1c h\u00e0nh c\u00e1c b\u00e0i to\u00e1n. M\u00ecnh th\u00ec l\u1ea1i s\u1eed d\u1ee5ng Mac v\u00e0 ko c\u00f3 m\u00e1y t\u00ednh Windows n\u00ean kh\u00f4ng gi\u00fap anh em \u0111\u01b0\u1ee3c nhi\u1ec1u. Do v\u1eady c\u00f3 \u0111\u1eb7t h\u00e0ng MOD D\u01b0\u1ee1ng H\u00e0 v\u00e0 nay \u0111\u00e3 c\u00f3 b\u00e0i kh\u00e1 hay cho c\u00e1c b\u1ea1n. Ch\u00fang ta c\u00f9ng b\u1eaft \u0111\u1ea7u nh\u00e9!<\/p>\n\n\n\n<ins class=\"adsbygoogle\"\n     style=\"display:block\"\n     data-ad-client=\"ca-pub-5095883280136027\"\n     data-ad-slot=\"7735063137\"\n     data-ad-format=\"auto\"\n     data-full-width-responsive=\"true\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script>\n\n\n\n<h2 class=\"wp-block-heading\">Ph\u1ea7n 1 &#8211; C\u1ea5u h\u00ecnh m\u00e1y t\u00ednh khuy\u1ebfn ngh\u1ecb<\/h2>\n\n\n\n<p>Do YOLO l\u00e0 m\u1ed9t m\u00f4 h\u00ecnh kh\u00e1 n\u1eb7ng n\u00ean c\u00e1c b\u1ea1n c\u1ea7n c\u00f3 m\u00e1y t\u00ednh m\u1ea1nh, c\u00f3 GPU \u0111\u1ec3 c\u00f3 th\u1ec3 train th\u00e0nh c\u00f4ng nh\u00e9. N\u1ebfu kh\u00f4ng c\u00f3 th\u00ec c\u00e1c b\u1ea1n c\u00f3 th\u1ec3 tham kh\u1ea3o b\u00e0i train YOLO tr\u00ean COLAB <strong><a rel=\"noreferrer noopener\" href=\"https:\/\/www.miai.vn\/2019\/08\/15\/yolo-series-cach-train-yolo-tren-google-colab\/\" target=\"_blank\">t\u1ea1i \u0111\u00e2y.<\/a><\/strong><\/p>\n\n\n\n<p>C\u1ea5u h\u00ecnh m\u00e1y m\u00ecnh d\u00f9ng trong b\u00e0i n\u00e0y l\u00e0: <strong>Win 10 64-bit, RAM 32Gb, Card m\u00e0n h\u00ecnh GPU: GetForce GTX 1070 Ti<\/strong>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Ph\u1ea7n 2 &#8211; M\u00e3 ngu\u1ed3n YOLO s\u1eed d\u1ee5ng cho Window<\/h2>\n\n\n\n<p>C\u00e1c b\u1ea1n ch\u00fa \u00fd nh\u00e9, m\u00e3 ngu\u1ed3n YOLO g\u1ed1c s\u1eed d\u1ee5ng trong c\u00e1c b\u00e0i tr\u00ean COLAB th\u00ec kh\u00f4ng s\u1eed d\u1ee5ng \u0111\u01b0\u1ee3c tr\u00ean Window, n\u00ean c\u00e1c b\u1ea1n d\u00f9ng m\u00e3 ngu\u1ed3n m\u1edbi t\u1ea1i \u0111\u1ecba ch\u1ec9:<\/p>\n\n\n\n<p><a href=\"https:\/\/github.com\/AlexeyAB\/darknet\">https:\/\/github.com\/AlexeyAB\/darknet<\/a><\/p>\n\n\n\n<p>C\u00e1c b\u1ea1n b\u1ea5m v\u00e0o link tr\u00ean, ch\u1ecdn m\u1ee5c Download v\u1ec1 nh\u01b0 h\u00ecnh:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/github.com\/thangnch\/photos\/blob\/master\/duongha\/Screen%20Shot%202020-04-07%20at%2017.23.32.png?raw=true\" alt=\"github darknet\"\/><\/figure>\n\n\n\n<p>Sau khi t\u1ea3i v\u1ec1 c\u00e1c b\u1ea1n \u0111\u01b0\u1ee3c 1 file darknet_master, c\u00e1c b\u1ea1n ti\u1ebfn h\u00e0nh gi\u1ea3i n\u00e9n file n\u00e0y \u0111\u1ec3 c\u00f3 th\u01b0 m\u1ee5c darknet nh\u01b0 h\u00ecnh d\u01b0\u1edbi:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/github.com\/thangnch\/photos\/blob\/master\/duongha\/a.png?raw=true\" alt=\"darknet window\"\/><\/figure>\n\n\n\n<p>Nh\u01b0 v\u1eady l\u00e0 xong ph\u1ea7n m\u00e3 ngu\u1ed3n, \u0111i ti\u1ebfp c\u00e1c ph\u1ea7n c\u00e0i c\u1eafm nh\u00e9!<\/p>\n\n\n\n<ins class=\"adsbygoogle\"\n     style=\"display:block\"\n     data-ad-client=\"ca-pub-5095883280136027\"\n     data-ad-slot=\"7735063137\"\n     data-ad-format=\"auto\"\n     data-full-width-responsive=\"true\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script>\n\n\n\n<h2 class=\"wp-block-heading\">Ph\u1ea7n 3 &#8211; C\u00e0i \u0111\u1eb7t c\u00e1c th\u01b0 vi\u1ec7n, ph\u1ea7n m\u1ec1m c\u1ea7n thi\u1ebft<\/h2>\n\n\n\n<p>Ph\u1ea7n n\u00e0y t\u1ea3i v\u00e0 c\u00e0i c\u1eafm h\u01a1i nhi\u1ec1u v\u00e0 l\u1eb1ng nh\u1eb1ng, c\u00e1c b\u1ea1n theo d\u00f5i k\u1ef9 nh\u00e9.<\/p>\n\n\n\n<p><strong><span style=\"text-decoration: underline;\">B\u01b0\u1edbc 1: T\u1ea3i v\u00e0 c\u00e0i \u0111\u1eb7t CUDA<\/span><\/strong><\/p>\n\n\n\n<p>C\u00e1i n\u00e0y c\u00e1c b\u1ea1n c\u1ee9 h\u00ecnh dung l\u00e0 th\u01b0 vi\u1ec7n \u0111\u1ec3 c\u00f3 th\u1ec3 ch\u1ea1y \u0111\u01b0\u1ee3c c\u00e1c b\u00e0i to\u00e1n tr\u00ean GPU nh\u00e9. Th\u00f4ng th\u01b0\u1eddng GPU \u0111\u1ec3 ch\u01a1i game cho m\u01b0\u1ee3t kaka.<\/p>\n\n\n\n<p>C\u00e1c b\u1ea1n t\u1ea3i v\u1ec1 CUDA <strong><a rel=\"noreferrer noopener\" href=\"https:\/\/developer.nvidia.com\/cuda-10.0-download-archive?target_os=Windows&amp;target_arch=x86_64&amp;target_version=10&amp;target_type=exelocal\" target=\"_blank\">t\u1ea1i \u0111\u00e2y<\/a><\/strong> v\u00e0 ti\u1ebfn h\u00e0nh c\u00e0i \u0111\u1eb7t (c\u1ee9  NEXT th\u00f4i, anh em ta c\u0169ng ch\u01b0a thu\u1ed9c d\u1ea1ng expert haha). Nh\u1edb ch\u1ecdn \u0111\u00fang phi\u00ean b\u1ea3n v\u00e0 h\u1ec7 \u0111i\u1ec1u h\u00e0nh nh\u00e9. M\u00ecnh khuy\u1ebfn c\u00e1o ch\u01b0a n\u00ean d\u00f9ng b\u1ea3n 10.1. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/github.com\/thangnch\/photos\/blob\/master\/duongha\/Screen%20Shot%202020-04-07%20at%2017.32.04.png?raw=true\" alt=\"cuda windows\"\/><\/figure>\n\n\n\n<p><strong><span style=\"text-decoration: underline;\">B\u01b0\u1edbc 2: T\u1ea3i v\u1ec1 CUDNN<\/span><\/strong><\/p>\n\n\n\n<p>\u0110\u00e2y l\u00e0 th\u01b0 vi\u1ec7n NVidia&nbsp;CUDA\u00ae Deep Neural Network:&nbsp;L\u00e0&nbsp;m\u1ed9t th\u01b0 vi\u1ec7n n\u1ec1n t\u1ea3ng cho c\u00e1c m\u1ea1ng deep neural network \u0111\u01b0\u1ee3c t\u0103ng t\u1ed1c b\u1edfi GPU. T\u00f3m l\u1ea1i l\u00e0 c\u00f3 th\u1eb1ng n\u00e0y th\u00ec m\u1ea5y c\u00e1i m\u1ea1ng YOLO m\u1edbi ch\u1ea1y \u0111\u01b0\u1ee3c tr\u00ean GPU.<\/p>\n\n\n\n<p>T\u1ea3i v\u1ec1 <strong><a rel=\"noreferrer noopener\" href=\"https:\/\/developer.nvidia.com\/rdp\/cudnn-archive\" target=\"_blank\">t\u1ea1i \u0111\u00e2y<\/a><\/strong>, ch\u00fa \u00fd ch\u1ecdn \u0111\u00fang phi\u00ean b\u1ea3n OS. Ph\u1ea7n n\u00e0y c\u00f3 th\u1ec3 c\u1ea7n t\u1ea1o t\u00e0i kho\u1ea3n th\u00ec c\u00e1c b\u1ea1n c\u1ee9 x\u00e0i gmail l\u00e0m c\u00e1i t\u00e0i kho\u1ea3n cho n\u00f3 ho\u00e0nh nh\u00e9.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/github.com\/thangnch\/photos\/blob\/master\/duongha\/Screen%20Shot%202020-04-07%20at%2017.31.42.png?raw=true\" alt=\"cudnn\"\/><\/figure>\n\n\n\n<ins class=\"adsbygoogle\"\n     style=\"display:block\"\n     data-ad-client=\"ca-pub-5095883280136027\"\n     data-ad-slot=\"7735063137\"\n     data-ad-format=\"auto\"\n     data-full-width-responsive=\"true\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script>\n\n\n\n<p><strong><span style=\"text-decoration: underline;\">B\u01b0\u1edbc 3. T\u1ea3i th\u01b0 vi\u1ec7n OpenCV<\/span><\/strong><\/p>\n\n\n\n<p>\u1ede \u0111\u00e2y m\u00ecnh d\u00f9ng b\u1ea3n 3.4.0 <strong><a rel=\"noreferrer noopener\" href=\"https:\/\/sourceforge.net\/projects\/opencvlibrary\/files\/opencv-win\/3.4.0\/opencv-3.4.0-vc14_vc15.exe\/download\" target=\"_blank\">t\u1ea1i \u0111\u00e2y<\/a><\/strong>. C\u00e1i n\u00e0y c\u1ee9 t\u1ea3i v\u1ec1 c\u00e0i nh\u01b0 c\u00e0i ph\u1ea7n m\u1ec1m kh\u00e1c th\u00f4i, ko c\u00f3 g\u00ec \u0111\u00e1ng ch\u00fa \u00fd.<\/p>\n\n\n\n<p><strong><span style=\"text-decoration: underline;\">B\u01b0\u1edbc 4. C\u00e0i \u0111\u1eb7t Visual Studio <\/span><\/strong><\/p>\n\n\n\n<p>C\u00e1c b\u1ea1n n\u00ean x\u00e0i b\u1ea3n 2015 ho\u1eb7c 2017. N\u1ebfu b\u1ea1n n\u00e0o c\u00f3 r\u1ed3i th\u00ec b\u1ecf qua b\u01b0\u1edbc n\u00e0y c\u00f2n b\u1ea1n n\u00e0o ch\u01b0a c\u00f3 th\u00ec c\u00f3 2 l\u1ef1a ch\u1ecdn:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>T\u1ea3i v\u00e0 t\u00ecm b\u1ea3n c\u1edd r\u00e1ch tr\u00ean m\u1ea1ng v\u1ec1 c\u00e0i cho n\u00f3 full. <\/li><li>S\u1eed d\u1ee5ng b\u1ea3n Community c\u0169ng okie. T\u1ea3i <strong><a href=\"https:\/\/visualstudio.microsoft.com\/license-terms\/mlt553321\/\" target=\"_blank\" rel=\"noreferrer noopener\">t\u1ea1i \u0111\u00e2y<\/a><\/strong>.<\/li><\/ul>\n\n\n\n<p>Ch\u00fa \u00fd: Khi c\u00e0i \u0111\u1eb7t ph\u1ea3i ch\u1ecdn ph\u1ea7n C++ nh\u00e9.<\/p>\n\n\n\n<p>Th\u1ebf l\u00e0 xong ph\u1ea7n c\u00e0i c\u1eafm, h\u00e3y ch\u1eafc ch\u1eafn b\u1ea1n c\u00e0i c\u1eafm \u0111\u1ee7 tr\u01b0\u1edbc khi sang ph\u1ea7n ti\u1ebfp theo nh\u00e1.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Ph\u1ea7n 4 &#8211; C\u1ea5u h\u00ecnh v\u00e0 gh\u00e9p n\u1ed1i c\u00e1c th\u01b0 vi\u1ec7n, ph\u1ea7n m\u1ec1m \u0111\u1ec3 train YOLO tr\u00ean Windows<\/h2>\n\n\n\n<p><strong><span style=\"text-decoration: underline;\">B\u01b0\u1edbc 1. C\u1ea5u h\u00ecnh PATH cho c\u00e1c ph\u1ea7n m\u1ec1m. <\/span><\/strong><\/p>\n\n\n\n<p>C\u00e1c b\u1ea1n m\u1edf ph\u1ea7n Edit System Value l\u00ean, \u0111\u1ec3 v\u00e0o ph\u1ea7n n\u00e0y c\u00e1c b\u1ea1n theo h\u01b0\u1edbng d\u1eabn <a rel=\"noreferrer noopener\" href=\"https:\/\/www.codehub.vn\/Cai-dat-bien-moi-truong-tren-Windows\" target=\"_blank\">t\u1ea1i \u0111\u00e2y<\/a>.<\/p>\n\n\n\n<p>Sau \u0111\u00f3 c\u00e1c b\u1ea1n th\u00eam 2 bi\u1ebfn nh\u01b0 sau trong ph\u00e0n System Variables (c\u00f3 r\u1ed3i th\u00ec s\u1eeda l\u1ea1i ph\u1ea7n Value cho \u0111\u00fang nh\u00e9)<\/p>\n\n\n\n<ins class=\"adsbygoogle\"\n     style=\"display:block\"\n     data-ad-client=\"ca-pub-5095883280136027\"\n     data-ad-slot=\"7735063137\"\n     data-ad-format=\"auto\"\n     data-full-width-responsive=\"true\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/github.com\/thangnch\/photos\/blob\/master\/duongha\/Screen%20Shot%202020-04-07%20at%2017.48.57.png?raw=true\" alt=\"yolo tr\u00ean windows\"\/><\/figure>\n\n\n\n<p><strong><span style=\"text-decoration: underline;\">B\u01b0\u1edbc 2. Copy c\u00e1c file v\u00e0o \u0111\u00fang v\u1ecb tr\u00ed<\/span><\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Copy <strong><strong>&lt;\u0110\u01b0\u1eddng \u0111\u1eabn c\u00e0i \u0111\u1eb7t&gt;<\/strong>\\cuda\\bin\\cudnn64_7.dll <\/strong>to <strong>C:\\Program Files \\NVIDIA GPU<\/strong> <strong>Computing Toolkit\\CUDA\\v10.0\\bin<\/strong><\/li><\/ul>\n\n\n\n<ul class=\"wp-block-list\"><li>Copy <strong>&lt;\u0110\u01b0\u1eddng \u0111\u1eabn c\u00e0i \u0111\u1eb7t&gt;\\cuda\\include\\cudnn.h<\/strong> to <strong>C:\\Program Files \\NVIDIA GPU Computing Toolkit\\CUDA\\v10.0\\include<\/strong><\/li><li>Copy <strong><strong>&lt;\u0110\u01b0\u1eddng \u0111\u1eabn c\u00e0i \u0111\u1eb7t&gt;<\/strong>\\cuda\\lib\\x64\\cudnn.lib <\/strong>to <strong>C:\\Program Files \\NVIDIA GPU<\/strong> <strong>Computing Toolkit\\CUDA\\v10.0\\lib\\x64<\/strong><\/li><\/ul>\n\n\n\n<p>R\u1ed3i, b\u00e2y gi\u1edd kh\u1edfi \u0111\u1ed9ng l\u1ea1i m\u00e1y t\u00ednh, tranh th\u1ee7 ngh\u1ec9 l\u1ea5y h\u01a1i t\u00fd \ud83d\ude00<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Ph\u1ea7n 5 &#8211; C\u1ea5u h\u00ecnh Project darket<\/h2>\n\n\n\n<p>Ti\u1ebfn h\u00e0nh quay tr\u1edf l\u1ea1i th\u01b0 m\u1ee5c Darknet_master \u0111\u00e3 gi\u1ea3i n\u00e9n \u1edf tr\u00ean, c\u00e1c b\u1ea1n chuy\u1ec3n v\u00e0o th\u01b0 m\u1ee5c build\/darknet v\u00e0 \u0111\u1ec3 \u00fd 2 file sau:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>File darknet.sln: L\u00e0 file solution c\u1ee7a Visual Studio cho m\u00e1y c\u00f3 GPU<\/li><li>File darket_no_gpu.sln l\u00e0 d\u00e0nh cho m\u00e1y kh\u00f4ng c\u00f3 GPU<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/github.com\/thangnch\/photos\/blob\/master\/duongha\/Screen%20Shot%202020-04-07%20at%2017.55.34.png?raw=true\" alt=\"yolo tr\u00ean windows\"\/><\/figure>\n\n\n\n<ins class=\"adsbygoogle\"\n     style=\"display:block\"\n     data-ad-client=\"ca-pub-5095883280136027\"\n     data-ad-slot=\"7735063137\"\n     data-ad-format=\"auto\"\n     data-full-width-responsive=\"true\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script>\n\n\n\n<p>\u1ede b\u00e0i n\u00e0y m\u00ecnh t\u1eadp trung v\u00e0o train YOLO tr\u00ean Windows v\u1edbi m\u00e1y c\u00f3 GPU nh\u00e9, ko c\u00f3 GPU th\u00ec ko train n\u1ed5i \u0111\u00e2u, c\u00e1c b\u1ea1n l\u00ean COLAB cho nhanh.<\/p>\n\n\n\n<p>C\u00e1c b\u1ea1n click \u0111\u00fap v\u00e0o file sln \u0111\u1ec3 m\u1edf solution trong Visual Studio. N\u1ebfu b\u1ea1n d\u00f9ng VS 2017 th\u00ec s\u1ebd c\u00f3 c\u1eeda s\u1ed5 h\u1ecfi c\u00f3 n\u00e2ng c\u1ea5p kh\u00f4ng (v\u00ec Source Darknet vi\u1ebft b\u1eb1ng VS 2015) v\u00e0 c\u00e1c b\u1ea1n OK nh\u00e9.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/github.com\/thangnch\/photos\/blob\/master\/duongha\/Screen%20Shot%202020-04-07%20at%2017.55.43.png?raw=true\" alt=\"windows\"\/><\/figure>\n\n\n\n<p>Sau khi solution \u0111\u00e3 \u0111\u01b0\u1ee3c m\u1edf l\u00ean c\u00e1c b\u1ea1n click chu\u1ed9t ph\u1ea3i ch\u1ecdn <strong>Properties<\/strong> v\u00e0  chuy\u1ec3n combox <strong>Configuration sang Release<\/strong> nh\u01b0 h\u00ecnh:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/github.com\/thangnch\/photos\/blob\/master\/duongha\/Screen%20Shot%202020-04-07%20at%2017.55.52.png?raw=true\" alt=\"yolo tr\u00ean windows\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/github.com\/thangnch\/photos\/blob\/master\/duongha\/Screen%20Shot%202020-04-07%20at%2017.55.59.png?raw=true\" alt=\"yolo tr\u00ean windows\"\/><\/figure>\n\n\n\n<ins class=\"adsbygoogle\"\n     style=\"display:block\"\n     data-ad-client=\"ca-pub-5095883280136027\"\n     data-ad-slot=\"7735063137\"\n     data-ad-format=\"auto\"\n     data-full-width-responsive=\"true\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script>\n\n\n\n<p>Ti\u1ebfp theo c\u00e1c b\u1ea1n \u0111\u1ec3 \u00fd m\u1ee5c CUDA C\/C++, ch\u00fang ta b\u1ea5m v\u00e0o \u0111\u00f3 \u0111\u1ec3 m\u00e0n h\u00ecnh hi\u1ec7n ra nh\u01b0 sau:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/github.com\/thangnch\/photos\/blob\/master\/duongha\/Screen%20Shot%202020-04-07%20at%2020.18.53.png?raw=true\" alt=\"yolo tr\u00ean windows\"\/><\/figure>\n\n\n\n<p>C\u00e1c b\u1ea1n copy \u0111\u01b0\u1eddng d\u1eabn \u0111\u1ebfn CUDA (v\u00ed d\u1ee5 nh\u01b0 tr\u00ean c\u1ee7a m\u00ecnh) v\u00e0o d\u00f2ng CUDA Toolkit Custom Dir v\u00e0 nh\u1ea5n OK \u0111\u1ec3 \u0111\u00f3ng l\u1ea1i.<\/p>\n\n\n\n<p>Ngh\u1ec9 t\u00fd \u0111i c\u00e1c b\u1ea1n, l\u00e0m ch\u00e9n n\u01b0\u1edbc \u0111i\u1ebfu thu\u1ed1c r\u1ed3i b\u1eaft \u0111\u1ea7u sau \u00edt ph\u00fat nh\u00e1.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Ph\u1ea7n 6 &#8211; Ti\u1ebfn h\u00e0nh build tr\u00ean Windows<\/h2>\n\n\n\n<p>B\u00e2y gi\u1edd, n\u1ebfu b\u1ea1n l\u00e0m chu\u1ea9n c\u00e1c b\u01b0\u1edbc tr\u00ean r\u1ed3i th\u00ec h\u00e3y quay tr\u1edf l\u1ea1i VS v\u00e0 nh\u1ea5n menu Build &gt; Rebuild v\u00e0 \u0111\u1ee3i VS ch\u1ea1y v\u00e0 bi\u00ean d\u1ecbch m\u00e3 ngu\u1ed3n.<\/p>\n\n\n\n<p>\u0110\u1ee3i l\u00fac th\u00ec s\u1ebd th\u1ea5y trong th\u01b0 m\u1ee5c darknet\/x64 xu\u1ea5t hi\u1ec7n file darknet.exe k\u00e8m c\u1ea3 m\u1edb file n\u1eefa. Nh\u01b0 v\u1eady l\u00e0 \u0111\u00e3 th\u00e0nh c\u00f4ng. <\/p>\n\n\n\n<p>C\u00e1c b\u1ea1n copy file opencv_world340.dll v\u00e0o th\u01b0 m\u1ee5c x64 n\u00e0y \u0111\u1ec3 chu\u1ea9n b\u1ecb cho b\u01b0\u1edbc train sau nh\u00e9.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Ph\u1ea7n 7 &#8211; Train model YOLO tr\u00ean Windows<\/h2>\n\n\n\n<p>Tr\u01b0\u1edbc khi train h\u00e3y \u0111\u1ea3m b\u1ea3o l\u00e0 c\u00e1c b\u1ea1n \u0111\u00e3 t\u1ea1o c\u00e1c file<strong> yolo.data, yolo.names, darknet53.conv.74, train.txt. val.txt. yolo3.cfg<\/strong> theo c\u00e1c b\u00e0i tr\u01b0\u1edbc c\u1ee7a M\u00ec AI nh\u00e9 (link search <strong><a href=\"https:\/\/miai.vn\/?s=yolo\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/miai.vn\/?s=yolo<\/a><\/strong>) <\/p>\n\n\n\n<ins class=\"adsbygoogle\"\n     style=\"display:block\"\n     data-ad-client=\"ca-pub-5095883280136027\"\n     data-ad-slot=\"7735063137\"\n     data-ad-format=\"auto\"\n     data-full-width-responsive=\"true\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script>\n\n\n\n<p>B\u00e2y gi\u1edd \u0111\u1ec3 train model YOLO b\u1eb1ng file darknet.ext v\u1eeba bi\u00ean d\u1ecbch ra, c\u00e1c b\u1ea1n m\u1edf b\u00e0i n\u00e0y : <a href=\"https:\/\/www.miai.vn\/2019\/08\/25\/yolo-series-train-va-detect-su-dung-yolo-model-tren-windows\/\">https:\/\/www.miai.vn\/2019\/08\/25\/yolo-series-train-va-detect-su-dung-yolo-model-tren-windows\/<\/a> v\u00e0 l\u00e0m t\u1eeb B\u01b0\u1edbc 4 tr\u1edf \u0111i nh\u00e9.<\/p>\n\n\n\n<p>\u0110\u1ea1i kh\u00e1i l\u00e0 s\u1ebd run command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">darknet.exe detector train yolo.data cfg\/yolov3.cfg darknet53.conv.74<\/pre>\n\n\n\n<p>Model s\u1ebd ch\u1ea1y train v\u00e0 loss gi\u1ea3m theo th\u1eddi gian cho \u0111\u1ebfn khi h\u1ed9i t\u1ee5 l\u00e0 okie nh\u00e9.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/github.com\/thangnch\/photos\/blob\/master\/duongha\/Screen%20Shot%202020-04-07%20at%2020.28.48.png?raw=true\" alt=\"yolo tr\u00ean windows\"\/><\/figure>\n\n\n\n<p>Ch\u00fac c\u00e1c b\u1ea1n th\u00e0nh c\u00f4ng! N\u1ebfu c\u00f3 kh\u00f3 kh\u0103n g\u00ec c\u1ee9 post l\u00ean Group trao \u0111\u1ed5i, chia s\u1ebb: <strong><a rel=\"noreferrer noopener\" href=\"https:\/\/facebook.com\/groups\/miaigroup\" target=\"_blank\">https:\/\/facebook.com\/groups\/miaigroup<\/a><\/strong>  nh\u00e9!<\/p>\n\n\n\n<p>#MiAI<br>Fanpage:&nbsp;<a rel=\"noreferrer noopener\" href=\"http:\/\/facebook.com\/miaiblog\" target=\"_blank\">http:\/\/facebook.com\/miaiblog<\/a><br>Group trao \u0111\u1ed5i, chia s\u1ebb:&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/www.facebook.com\/groups\/miaigroup\" target=\"_blank\">https:\/\/www.facebook.com\/groups\/miaigroup<\/a><br>Website:&nbsp;<a href=\"https:\/\/miai.vn\/\">https:\/\/miai.vn\/<\/a><br>Youtube:&nbsp;<a rel=\"noreferrer noopener\" href=\"http:\/\/bit.ly\/miaiyoutube\" target=\"_blank\">http:\/\/bit.ly\/miaiyoutube<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Xin ch\u00e0o anh em, h\u00f4m nay ch\u00fang ta s\u1ebd c\u00f9ng nhau t\u00ecm c\u00e1ch c\u00e0i \u0111\u1eb7t v\u00e0 train YOLO tr\u00ean Windows nh\u00e9. \u0110\u00e2y l\u00e0 b\u00e0i vi\u1ebft c\u1ee7a MOD c\u1ee7a M\u00ec Ai Blog &#8211; D\u01b0\u1ee1ng H\u00e0, b\u1ea1n D\u01b0\u1ee1ng H\u00e0 chuy\u00ean v\u1ec1 OpenCV, Deep Learning tr\u00ean Windows. S\u1edf d\u0129 c\u00f3 b\u00e0i n\u00e0y l\u00e0 v\u00ec c\u00e0i \u0111\u1eb7t v\u00e0 train [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[27],"tags":[19,237,238,21,22,23,24,25,41,28,47,48,29,239],"class_list":["post-810","post","type-post","status-publish","format-standard","hentry","category-computer-vision","tag-ai","tag-cuda","tag-cudnn","tag-deep-learning","tag-dl","tag-machine-learning","tag-mi-ai","tag-ml","tag-nhan-dang","tag-opencv","tag-vietai","tag-windows","tag-yolo","tag-yolo-tren-windows"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>H\u01b0\u1edbng d\u1eabn chi ti\u1ebft t\u1eeb A-Z c\u00e1ch train YOLO tr\u00ean Windows - M\u00ec AI<\/title>\n<meta name=\"description\" content=\"Xin ch\u00e0o anh em, h\u00f4m nay ch\u00fang ta s\u1ebd quay l\u1ea1i series YOLO v\u00e0 c\u00f9ng nhau t\u00ecm hi\u1ec3u c\u00e1ch c\u00e0i \u0111\u1eb7t v\u00e0 train YOLO tr\u00ean Windows nh\u00e9.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/miai.vn\/?p=810\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"H\u01b0\u1edbng d\u1eabn chi ti\u1ebft t\u1eeb A-Z c\u00e1ch train YOLO tr\u00ean Windows - M\u00ec AI\" \/>\n<meta property=\"og:description\" content=\"Xin ch\u00e0o anh em, h\u00f4m nay ch\u00fang ta s\u1ebd quay l\u1ea1i series YOLO v\u00e0 c\u00f9ng nhau t\u00ecm hi\u1ec3u c\u00e1ch c\u00e0i \u0111\u1eb7t v\u00e0 train YOLO tr\u00ean Windows nh\u00e9.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/miai.vn\/?p=810\" \/>\n<meta property=\"og:site_name\" content=\"M\u00ec AI\" \/>\n<meta property=\"article:published_time\" content=\"2020-04-07T06:32:56+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/github.com\/thangnch\/photos\/blob\/master\/duongha\/Screen%20Shot%202020-04-07%20at%2017.23.32.png?raw=true\" \/>\n<meta name=\"author\" content=\"Ch\u1ee7 ti\u1ec7m M\u00ec\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ch\u1ee7 ti\u1ec7m M\u00ec\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/miai.vn\\\/?p=810#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/miai.vn\\\/?p=810\"},\"author\":{\"name\":\"Ch\u1ee7 ti\u1ec7m M\u00ec\",\"@id\":\"https:\\\/\\\/miai.vn\\\/#\\\/schema\\\/person\\\/cc8bc24bb90bd3f596add82f3a59948c\"},\"headline\":\"[YOLO on Windows]H\u01b0\u1edbng d\u1eabn chi ti\u1ebft c\u00e1ch c\u00e0i \u0111\u1eb7t v\u00e0 train YOLO tr\u00ean Windows\",\"datePublished\":\"2020-04-07T06:32:56+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/miai.vn\\\/?p=810\"},\"wordCount\":1718,\"commentCount\":6,\"publisher\":{\"@id\":\"https:\\\/\\\/miai.vn\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/miai.vn\\\/?p=810#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/github.com\\\/thangnch\\\/photos\\\/blob\\\/master\\\/duongha\\\/Screen%20Shot%202020-04-07%20at%2017.23.32.png?raw=true\",\"keywords\":[\"ai\",\"cuda\",\"cudnn\",\"deep learning\",\"dl\",\"machine learning\",\"m\u00ec ai\",\"ml\",\"nh\u1eadn d\u1ea1ng\",\"opencv\",\"vietai\",\"windows\",\"Yolo\",\"yolo tr\u00ean windows\"],\"articleSection\":[\"Computer Vision\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/miai.vn\\\/?p=810#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/miai.vn\\\/?p=810\",\"url\":\"https:\\\/\\\/miai.vn\\\/?p=810\",\"name\":\"H\u01b0\u1edbng d\u1eabn chi ti\u1ebft t\u1eeb A-Z c\u00e1ch train YOLO tr\u00ean Windows - M\u00ec AI\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/miai.vn\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/miai.vn\\\/?p=810#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/miai.vn\\\/?p=810#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/github.com\\\/thangnch\\\/photos\\\/blob\\\/master\\\/duongha\\\/Screen%20Shot%202020-04-07%20at%2017.23.32.png?raw=true\",\"datePublished\":\"2020-04-07T06:32:56+00:00\",\"description\":\"Xin ch\u00e0o anh em, h\u00f4m nay ch\u00fang ta s\u1ebd quay l\u1ea1i series YOLO v\u00e0 c\u00f9ng nhau t\u00ecm hi\u1ec3u c\u00e1ch c\u00e0i \u0111\u1eb7t v\u00e0 train YOLO tr\u00ean Windows nh\u00e9.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/miai.vn\\\/?p=810#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/miai.vn\\\/?p=810\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/miai.vn\\\/?p=810#primaryimage\",\"url\":\"https:\\\/\\\/github.com\\\/thangnch\\\/photos\\\/blob\\\/master\\\/duongha\\\/Screen%20Shot%202020-04-07%20at%2017.23.32.png?raw=true\",\"contentUrl\":\"https:\\\/\\\/github.com\\\/thangnch\\\/photos\\\/blob\\\/master\\\/duongha\\\/Screen%20Shot%202020-04-07%20at%2017.23.32.png?raw=true\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/miai.vn\\\/?p=810#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/miai.vn\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"[YOLO on Windows]H\u01b0\u1edbng d\u1eabn chi ti\u1ebft c\u00e1ch c\u00e0i \u0111\u1eb7t v\u00e0 train YOLO tr\u00ean Windows\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/miai.vn\\\/#website\",\"url\":\"https:\\\/\\\/miai.vn\\\/\",\"name\":\"M\u00ec AI\",\"description\":\"H\u1ecdc AI theo c\u00e1ch M\u00ec \u0103n li\u1ec1n!\",\"publisher\":{\"@id\":\"https:\\\/\\\/miai.vn\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/miai.vn\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/miai.vn\\\/#organization\",\"name\":\"M\u00ec AI\",\"url\":\"https:\\\/\\\/miai.vn\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/miai.vn\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/miai.vn\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/cropped-Logo_w_slogan.png\",\"contentUrl\":\"https:\\\/\\\/miai.vn\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/cropped-Logo_w_slogan.png\",\"width\":240,\"height\":193,\"caption\":\"M\u00ec AI\"},\"image\":{\"@id\":\"https:\\\/\\\/miai.vn\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/miai.vn\\\/#\\\/schema\\\/person\\\/cc8bc24bb90bd3f596add82f3a59948c\",\"name\":\"Ch\u1ee7 ti\u1ec7m M\u00ec\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b0b5124b0d2c0a8054d7127d2c236bdc3dc7a50e2d4e8728ab32eee5b122a8d1?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b0b5124b0d2c0a8054d7127d2c236bdc3dc7a50e2d4e8728ab32eee5b122a8d1?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b0b5124b0d2c0a8054d7127d2c236bdc3dc7a50e2d4e8728ab32eee5b122a8d1?s=96&d=mm&r=g\",\"caption\":\"Ch\u1ee7 ti\u1ec7m M\u00ec\"},\"sameAs\":[\"https:\\\/\\\/miai.vn\"],\"url\":\"https:\\\/\\\/miai.vn\\\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"H\u01b0\u1edbng d\u1eabn chi ti\u1ebft t\u1eeb A-Z c\u00e1ch train YOLO tr\u00ean Windows - M\u00ec AI","description":"Xin ch\u00e0o anh em, h\u00f4m nay ch\u00fang ta s\u1ebd quay l\u1ea1i series YOLO v\u00e0 c\u00f9ng nhau t\u00ecm hi\u1ec3u c\u00e1ch c\u00e0i \u0111\u1eb7t v\u00e0 train YOLO tr\u00ean Windows nh\u00e9.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/miai.vn\/?p=810","og_locale":"en_US","og_type":"article","og_title":"H\u01b0\u1edbng d\u1eabn chi ti\u1ebft t\u1eeb A-Z c\u00e1ch train YOLO tr\u00ean Windows - M\u00ec AI","og_description":"Xin ch\u00e0o anh em, h\u00f4m nay ch\u00fang ta s\u1ebd quay l\u1ea1i series YOLO v\u00e0 c\u00f9ng nhau t\u00ecm hi\u1ec3u c\u00e1ch c\u00e0i \u0111\u1eb7t v\u00e0 train YOLO tr\u00ean Windows nh\u00e9.","og_url":"https:\/\/miai.vn\/?p=810","og_site_name":"M\u00ec AI","article_published_time":"2020-04-07T06:32:56+00:00","og_image":[{"url":"https:\/\/github.com\/thangnch\/photos\/blob\/master\/duongha\/Screen%20Shot%202020-04-07%20at%2017.23.32.png?raw=true","type":"","width":"","height":""}],"author":"Ch\u1ee7 ti\u1ec7m M\u00ec","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Ch\u1ee7 ti\u1ec7m M\u00ec","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/miai.vn\/?p=810#article","isPartOf":{"@id":"https:\/\/miai.vn\/?p=810"},"author":{"name":"Ch\u1ee7 ti\u1ec7m M\u00ec","@id":"https:\/\/miai.vn\/#\/schema\/person\/cc8bc24bb90bd3f596add82f3a59948c"},"headline":"[YOLO on Windows]H\u01b0\u1edbng d\u1eabn chi ti\u1ebft c\u00e1ch c\u00e0i \u0111\u1eb7t v\u00e0 train YOLO tr\u00ean Windows","datePublished":"2020-04-07T06:32:56+00:00","mainEntityOfPage":{"@id":"https:\/\/miai.vn\/?p=810"},"wordCount":1718,"commentCount":6,"publisher":{"@id":"https:\/\/miai.vn\/#organization"},"image":{"@id":"https:\/\/miai.vn\/?p=810#primaryimage"},"thumbnailUrl":"https:\/\/github.com\/thangnch\/photos\/blob\/master\/duongha\/Screen%20Shot%202020-04-07%20at%2017.23.32.png?raw=true","keywords":["ai","cuda","cudnn","deep learning","dl","machine learning","m\u00ec ai","ml","nh\u1eadn d\u1ea1ng","opencv","vietai","windows","Yolo","yolo tr\u00ean windows"],"articleSection":["Computer Vision"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/miai.vn\/?p=810#respond"]}]},{"@type":"WebPage","@id":"https:\/\/miai.vn\/?p=810","url":"https:\/\/miai.vn\/?p=810","name":"H\u01b0\u1edbng d\u1eabn chi ti\u1ebft t\u1eeb A-Z c\u00e1ch train YOLO tr\u00ean Windows - M\u00ec AI","isPartOf":{"@id":"https:\/\/miai.vn\/#website"},"primaryImageOfPage":{"@id":"https:\/\/miai.vn\/?p=810#primaryimage"},"image":{"@id":"https:\/\/miai.vn\/?p=810#primaryimage"},"thumbnailUrl":"https:\/\/github.com\/thangnch\/photos\/blob\/master\/duongha\/Screen%20Shot%202020-04-07%20at%2017.23.32.png?raw=true","datePublished":"2020-04-07T06:32:56+00:00","description":"Xin ch\u00e0o anh em, h\u00f4m nay ch\u00fang ta s\u1ebd quay l\u1ea1i series YOLO v\u00e0 c\u00f9ng nhau t\u00ecm hi\u1ec3u c\u00e1ch c\u00e0i \u0111\u1eb7t v\u00e0 train YOLO tr\u00ean Windows nh\u00e9.","breadcrumb":{"@id":"https:\/\/miai.vn\/?p=810#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/miai.vn\/?p=810"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/miai.vn\/?p=810#primaryimage","url":"https:\/\/github.com\/thangnch\/photos\/blob\/master\/duongha\/Screen%20Shot%202020-04-07%20at%2017.23.32.png?raw=true","contentUrl":"https:\/\/github.com\/thangnch\/photos\/blob\/master\/duongha\/Screen%20Shot%202020-04-07%20at%2017.23.32.png?raw=true"},{"@type":"BreadcrumbList","@id":"https:\/\/miai.vn\/?p=810#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/miai.vn\/"},{"@type":"ListItem","position":2,"name":"[YOLO on Windows]H\u01b0\u1edbng d\u1eabn chi ti\u1ebft c\u00e1ch c\u00e0i \u0111\u1eb7t v\u00e0 train YOLO tr\u00ean Windows"}]},{"@type":"WebSite","@id":"https:\/\/miai.vn\/#website","url":"https:\/\/miai.vn\/","name":"M\u00ec AI","description":"H\u1ecdc AI theo c\u00e1ch M\u00ec \u0103n li\u1ec1n!","publisher":{"@id":"https:\/\/miai.vn\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/miai.vn\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/miai.vn\/#organization","name":"M\u00ec AI","url":"https:\/\/miai.vn\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/miai.vn\/#\/schema\/logo\/image\/","url":"https:\/\/miai.vn\/wp-content\/uploads\/2026\/05\/cropped-Logo_w_slogan.png","contentUrl":"https:\/\/miai.vn\/wp-content\/uploads\/2026\/05\/cropped-Logo_w_slogan.png","width":240,"height":193,"caption":"M\u00ec AI"},"image":{"@id":"https:\/\/miai.vn\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/miai.vn\/#\/schema\/person\/cc8bc24bb90bd3f596add82f3a59948c","name":"Ch\u1ee7 ti\u1ec7m M\u00ec","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/b0b5124b0d2c0a8054d7127d2c236bdc3dc7a50e2d4e8728ab32eee5b122a8d1?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/b0b5124b0d2c0a8054d7127d2c236bdc3dc7a50e2d4e8728ab32eee5b122a8d1?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b0b5124b0d2c0a8054d7127d2c236bdc3dc7a50e2d4e8728ab32eee5b122a8d1?s=96&d=mm&r=g","caption":"Ch\u1ee7 ti\u1ec7m M\u00ec"},"sameAs":["https:\/\/miai.vn"],"url":"https:\/\/miai.vn\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/miai.vn\/index.php?rest_route=\/wp\/v2\/posts\/810","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/miai.vn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/miai.vn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/miai.vn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/miai.vn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=810"}],"version-history":[{"count":0,"href":"https:\/\/miai.vn\/index.php?rest_route=\/wp\/v2\/posts\/810\/revisions"}],"wp:attachment":[{"href":"https:\/\/miai.vn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=810"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/miai.vn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=810"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/miai.vn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=810"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}