{"id":482,"date":"2019-10-27T05:20:31","date_gmt":"2019-10-26T22:20:31","guid":{"rendered":"http:\/\/ainoodle.tech\/?p=482"},"modified":"2019-10-27T05:20:31","modified_gmt":"2019-10-26T22:20:31","slug":"day-cho-may-tinh-nghe-va-phan-biet-am-thanh-bang-cnn","status":"publish","type":"post","link":"https:\/\/miai.vn\/?p=482","title":{"rendered":"D\u1ea1y cho m\u00e1y t\u00ednh nghe v\u00e0 ph\u00e2n bi\u1ec7t \u00e2m thanh b\u1eb1ng CNN"},"content":{"rendered":"\n<p>Xin ch\u00e0o tu\u1ea7n m\u1edbi c\u00e1c anh em M\u00ec AI, ch\u00fang ta \u0111\u00e3 l\u00e0m vi\u1ec7c v\u1edbi Computer Vision &#8211; th\u1ecb gi\u00e1c m\u00e1y t\u00ednh r\u1ed3i. H\u00f4m nay ch\u00fang ta s\u1ebd th\u1eed d\u1ea1y cho m\u00e1y t\u00ednh s\u1eed d\u1ee5ng th\u00ednh gi\u00e1c \u0111\u1ec3 nghe \u00e2m thanh qua b\u00e0i to\u00e1n d\u1ea1y cho m\u00e1y t\u00ednh nghe v\u00e0 ph\u00e2n bi\u1ec7t \u00e2m thanh b\u1eb1ng CNN nh\u00e9.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/cognitiveclass.ai\/wp-content\/uploads\/2019\/01\/Machine-Learning-with-Sound_emblem_350_300.png\" alt=\"th\u00ednh gi\u00e1c m\u00e1y t\u00ednh\" width=\"396\" height=\"319\"\/><figcaption>Ngu\u1ed3n: <a href=\"https:\/\/cognitiveclass.ai\/\">https:\/\/cognitiveclass.ai<\/a><\/figcaption><\/figure><\/div>\n\n\n\n<p>B\u00e0i to\u00e1n c\u1ee7a ch\u00fang ta s\u1ebd c\u00f3 d\u1ea1ng l\u00e0 khi ch\u00fang ta \u0111\u01b0a m\u1ed9t \u0111o\u1ea1n \u00e2m thanh (\u0111\u01b0\u1ee3c l\u01b0u d\u01b0\u1edbi file wav) cho m\u00e1y t\u00ednh nghe. M\u00e1y tinh s\u1ebd c\u00f3 th\u1ec3 ph\u00e2n t\u00edch v\u00e0 tr\u1ea3 v\u1ec1 cho ch\u00fang ta k\u1ebft qu\u1ea3 \u00e2m thanh \u0111\u00f3 l\u00e0 g\u00ec, v\u00ed d\u1ee5: &#8220;ti\u1ebfng ch\u00f3 s\u1ee7a&#8221;, &#8220;ti\u1ebfng c\u00f2i xe&#8221;,&#8230;<\/p>\n\n\n\n<p>Okie, let&#8217;s go!<\/p>\n\n\n\n<style>.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; } .embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }<\/style><div class='embed-container'><iframe src='https:\/\/www.youtube.com\/embed\/-bxyunlSgQY' frameborder='0' allowfullscreen><\/iframe><\/div>\n\n\n\n<script async=\"\" src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\n<!-- InPost_Ad -->\n<ins class=\"adsbygoogle\" style=\"display:block\" data-ad-client=\"ca-pub-5095883280136027\" data-ad-slot=\"7735063137\" data-ad-format=\"auto\" 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. Chu\u1ea9n b\u1ecb nguy\u00ean v\u1eadt li\u1ec7u<\/h2>\n\n\n\n<p>V\u1eabn nh\u01b0 m\u1ecdi khi, c\u00e1c b\u1ea1n t\u1ea1o th\u01b0 m\u1ee5c <strong>MiAI_Sound_Classifier<\/strong> \u0111\u1ec3 l\u01b0u c\u00e1c m\u00f3n c\u1ee7a b\u00e0i n\u00e0y. Sau khi t\u1ea1o xong, c\u00e1c b\u1ea1n chuy\u1ec3n v\u00e0o th\u01b0 m\u1ee5c \u0111\u00f3 v\u00e0 g\u00f5 l\u1ec7nh:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">git clone https:\/\/github.com\/thangnch\/MiAI_Sound_Classifier .<\/pre>\n\n\n\n<p>Sau khi \u0111\u1ee3i m\u1ed9t ch\u00fat, c\u00e1c b\u1ea1n s\u1ebd th\u1ea5y 1 s\u1ed1 folder v\u00e0 file \u0111\u01b0\u1ee3c t\u1ea3i v\u1ec1. C\u00e1c b\u1ea1n chuy\u1ec3n v\u00e0o th\u01b0 m\u1ee5c data v\u00e0 t\u1ea1o c\u00e1c th\u01b0 m\u1ee5c theo c\u1ea5u tr\u00fac nh\u01b0 sau:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>T\u1ea1o th\u01b0 m\u1ee5c <strong>train v\u00e0 test<\/strong> trong th\u01b0 m\u1ee5c <strong>data<\/strong>.<\/li><li>T\u1ea1o th\u01b0 m\u1ee5c <strong>wav<\/strong> trong th\u01b0 m\u1ee5c <strong>data<\/strong><\/li><\/ul>\n\n\n\n<p>Ti\u1ebfp theo, c\u00e1c b\u1ea1n t\u1ea3i d\u1eef li\u1ec7u \u00e2m thanh \u0111\u1ec3 train v\u00e0 test <strong><a rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\" href=\"https:\/\/www.mediafire.com\/file\/e1baktuo93pi923\/datawav.zip\/file\" target=\"_blank\">t\u1ea1i \u0111\u00e2y<\/a><\/strong>. Sau khi t\u1ea3i xong, c\u00e1c b\u1ea1n c\u00f3 file <strong>datawav.zip<\/strong>, gi\u1ea3i n\u00e9n ra c\u00e1c b\u1ea1n c\u00f3 2 th\u01b0 m\u1ee5c train v\u00e0 test (kh\u00e1c v\u1edbi train v\u00e0 test c\u00e1c b\u1ea1n t\u1ea1o b\u00ean tr\u00ean nh\u00e9), c\u00e1c b\u1ea1n copy v\u00e0o trong th\u01b0 m\u1ee5c <strong>wav<\/strong> \u0111\u00e3 t\u1ea1o \u1edf tr\u00ean nh\u00e9.<\/p>\n\n\n\n<p>Sau khi \u0111\u00e3 t\u1ea1o v\u00e0 t\u1ea3i xong d\u1eef li\u1ec7u, c\u00e1c b\u1ea1n c\u00e0i \u0111\u1eb7t c\u00e1c th\u01b0 vi\u1ec7n c\u1ea7n thi\u1ebft b\u1eb1ng l\u1ec7nh sau nh\u00e9:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">pip install -r setup.txt<\/pre>\n\n\n\n<p>Ch\u00fa \u00fd, t\u1ea1i th\u1eddi \u0111i\u1ec3m c\u00e1c b\u1ea1n tri\u1ec3n khai, c\u00f3 th\u1ec3 m\u1ed9t s\u1ed1 th\u01b0 vi\u1ec7n \u0111\u00e3 n\u00e2ng c\u1ea5p v\u00e0 g\u00e2y l\u1ed7i, c\u00e1c b\u1ea1n ch\u00fa \u00fd nh\u00e9.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Ph\u1ea7n 2. T\u01b0 t\u01b0\u1edfng thu\u1eadt to\u00e1n d\u1ea1y m\u00e1y t\u00ednh nghe<\/h2>\n\n\n\n<p>Tr\u01b0\u1edbc \u0111\u1ebfn nay khi nh\u1eafc \u0111\u1ebfn x\u1eed l\u00fd \u00e2m thanh, m\u1ecdi ng\u01b0\u1eddi hay s\u1eed d\u1ee5ng ki\u1ebfn tr\u00fac RNN nh\u01b0 LSTM b\u1edfi v\u00ec \u00e2m thanh l\u00e0 d\u1eef li\u1ec7u sequence. Tuy nhi\u00ean c\u0169ng c\u00f3 m\u1ed9t c\u00e1ch l\u00e0 s\u1eed d\u1ee5ng CNN \u0111\u1ec3 x\u1eed l\u00fd \u0111\u01b0\u1ee3c. S\u1edf d\u0129 l\u00e0m nh\u01b0 v\u1eady \u0111\u01b0\u1ee3c v\u00ec ch\u00fang ta s\u1ebd c\u00f3 m\u1ed9t b\u01b0\u1edbc bi\u1ebfn c\u00e1c \u00e2m thanh th\u00e0nh h\u00ecnh \u1ea3nh spectrogram c\u1ee7a n\u00f3. V\u00ed d\u1ee5 nh\u01b0 h\u00ecnh d\u01b0\u1edbi<\/p>\n\n\n\n<p>Nh\u01b0 v\u1eady, t\u1eeb ch\u1ed7 x\u1eed l\u00fd \u00e2m thanh, ch\u00fang ta quy v\u1ec1 b\u00e0i to\u00e1n ph\u00e2n lo\u1ea1i h\u00ecnh \u1ea3nh b\u1eb1ng CNN. C\u1ee5 th\u1ec3 b\u00e0i n\u00e0y ch\u00fang ta s\u1ebd l\u00e0m c\u00e1c b\u01b0\u1edbc sau:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Qu\u00e1 tr\u00ecnh train:<\/strong><ul><li>B\u01b0\u1edbc 1. Chuy\u1ec3n h\u1ebft to\u00e0n b\u1ed9 d\u1eef li\u1ec7u wav sang file \u1ea3nh v\u00e0 l\u01b0u v\u00e0o c\u00e1c th\u01b0 m\u1ee5c train v\u00e0 test kh\u00e1c nhau.<\/li><li>B\u01b0\u1edbc 2. \u0110\u1ecdc c\u00e1c \u1ea3nh trong th\u01b0 m\u1ee5c train v\u00e0 th\u1ef1c hi\u1ec7n train model. Ch\u00fa \u00fd l\u00e0 nh\u00e3n \u0111\u1ea7u ra output s\u1ebd \u1edf trong file train.csv (c\u1ed9t class)<\/li><\/ul><\/li><li><strong>Qu\u00e1 tr\u00ecnh test:<\/strong><ul><li>B\u01b0\u1edbc 1. Chuy\u1ec3n \u00e2m thanh c\u1ea7n test v\u1ec1 d\u1ea1ng file \u1ea3nh.<\/li><li>B\u01b0\u1edbc 2. \u0110\u01b0a file \u1ea3nh v\u00e0o m\u1ea1ng \u0111\u1ec3 predict ra class t\u01b0\u01a1ng \u1ee9ng.<\/li><\/ul><\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/images.slideplayer.com\/20\/5965061\/slides\/slide_11.jpg\" alt=\"computer listen sound\"\/><figcaption>Ngu\u1ed3n: Andrew Ng Slide<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Ph\u1ea7n 3. M\u00e3 ngu\u1ed3n ch\u01b0\u01a1ng tr\u00ecnh<\/h2>\n\n\n\n<p>B\u00e0i n\u00e0y c\u00e1c b\u1ea1n c\u1ea7n ch\u00fa \u00fd m\u1ed9t s\u1ed1 file g\u1ed3m:<\/p>\n\n\n\n<script async=\"\" src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\n<!-- InPost_Ad -->\n<ins class=\"adsbygoogle\" style=\"display:block\" data-ad-client=\"ca-pub-5095883280136027\" data-ad-slot=\"7735063137\" data-ad-format=\"auto\" data-full-width-responsive=\"true\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script>\n\n\n\n<ul class=\"wp-block-list\"><li>File <strong>Preprocessing.py<\/strong>: File n\u00e0y m\u00ecnh ti\u1ec1n x\u1eed l\u00fd d\u1eef li\u1ec7u. Convert to\u00e0n b\u1ed9 c\u00e1c file wav ch\u1ee9a trong th\u01b0 m\u1ee5c data\/wav\/train v\u00e0 data\/wav\/test th\u00e0nh c\u00e1c file \u1ea3nh v\u00e0 l\u01b0u trong th\u01b0 m\u1ee5c data\/train va data\/test<\/li><li>File <strong>train_model.py<\/strong>: Th\u1ef1c hi\u1ec7n train model l\u01b0u file train v\u00e0o file model.h5.<\/li><li>File <strong>test_model.py<\/strong>: Th\u1ef1c hi\u1ec7n predict th\u1eed set test c\u1ee7a ch\u00fang ta v\u00e0 hi\u1ec7n k\u1ebft qu\u1ea3 ra m\u00e0n h\u00ecnh.<\/li><\/ul>\n\n\n\n<p>M\u00e3 ngu\u1ed3n d\u00e3 \u0111\u01b0\u1ee3c m\u00ecnh comment chi ti\u1ebft t\u1eebng d\u00f2ng, c\u00e1c b\u1ea1n \u0111\u1ecdc trong file \u0111\u1ec3 n\u1eafm \u0111\u01b0\u1ee3c code nh\u00e9.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Ph\u1ea7n 4. Th\u1ef1c hi\u1ec7n ch\u01b0\u01a1ng tr\u00ecnh d\u1ea1y m\u00e1y t\u00ednh nghe v\u00e0 ph\u00e2n lo\u1ea1i \u00e2m thanh<\/h2>\n\n\n\n<p>\u0110\u1ea7u ti\u00ean, c\u00e1c b\u1ea1n ch\u1ea1y file Preprocessing.py \u0111\u1ec3 ti\u1ec1n x\u1eed l\u00fd d\u1eef li\u1ec7u. Ch\u1ea1y l\u1ec7nh python nh\u01b0 sau:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">python preprocessing.py<\/pre>\n\n\n\n<p>Ph\u1ea7n n\u00e0y ch\u1ea1y s\u1ebd h\u01a1i l\u00e2u m\u1ed9t ch\u00fat, c\u00e1c b\u1ea1n c\u00f3 th\u1ec3 \u0111\u1ec3 m\u00e1y \u0111\u00f3 v\u00e0 l\u00e0m vi\u1ec7c kh\u00e1c ho\u1eb7c ch\u1ea1y overnight cho \u0111\u1ee1 s\u1ed1t ru\u1ed9t. Haha! <\/p>\n\n\n\n<p>\u0110\u1ee3i m\u1ed9t ch\u00fat khi m\u00e0n h\u00ecnh th\u00f4ng b\u00e1o &#8220;Process done!&#8221; th\u00ec l\u00e0 xong nh\u00e9!Sau khi ch\u1ea1y xong, c\u00e1c b\u1ea1n ch\u00fa trong th\u01b0 m\u1ee5c data\/train v\u00e0 data\/test s\u1ebd c\u00f3 r\u1ea5t nhi\u1ec1u file spectrogram nh\u01b0 sau:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/raw.githubusercontent.com\/thangnch\/MiAI_Sound_Classifier\/master\/Screen%20Shot%202019-10-27%20at%2012.13.57%20PM.png\" alt=\"sound spectrogram\"\/><\/figure>\n\n\n\n<p>Ti\u1ebfp theo ch\u00fang ta s\u1ebd th\u1ef1c hi\u1ec7n train v\u00e0 test model b\u1eb1ng l\u1ec7nh:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">python train_model.py <\/pre>\n\n\n\n<p>\u0110\u1ee3i cho model train xong v\u00e0 hi\u1ec7n l\u00ean m\u00e0n h\u00ecnh ch\u1eef Model trained! l\u00e0 okie.<\/p>\n\n\n\n<p>B\u00e2y gi\u1edd c\u00e1c b\u1ea1n th\u1eed ch\u1ea1y file test model b\u1eb1ng l\u1ec7nh:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">python test_model.py<\/pre>\n\n\n\n<p>\u0110\u1ee3i ch\u00fat, predict xong c\u00e1c b\u1ea1n s\u1ebd th\u1ea5y hi\u1ec7n l\u00ean m\u00e0n h\u00ecnh c\u00e1c d\u00f2ng ch\u1eef:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Prediction values=  ['car_horn', 'dog_bark', 'car_horn', 'car_horn', 'car_horn', 'dog_bark', 'dog_bark', 'dog_bark', 'dog_bark', 'children_playing']\n Real values= \n 0            car_horn\n 1            car_horn\n 2            car_horn\n 3            car_horn\n 4            car_horn\n 5            dog_bark\n 6            dog_bark\n 7            dog_bark\n 8            dog_bark\n 9    children_playing<\/pre>\n\n\n\n<script async=\"\" src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\n<!-- InPost_Ad -->\n<ins class=\"adsbygoogle\" style=\"display:block\" data-ad-client=\"ca-pub-5095883280136027\" data-ad-slot=\"7735063137\" data-ad-format=\"auto\" data-full-width-responsive=\"true\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script>\n\n\n\n<p>Nh\u01b0 v\u1eady model \u0111\u00e3 d\u1ef1 \u0111o\u00e1n \u0111\u00fang class 9\/10 c\u00e1c file \u00e2m thanh trong set test c\u1ee7a ch\u00fang ta. C\u00e1c b\u1ea1n c\u00f3 th\u1ec3 th\u1eed v\u1edbi c\u00e1c file d\u1eef li\u1ec7u kh\u00e1c trong test set nh\u00e9.<\/p>\n\n\n\n<p>R\u1ed3i, nh\u01b0 v\u1eady ch\u00fang ta \u0111\u00e3 xong b\u00e0i to\u00e1n d\u1ea1y m\u00e1y t\u00ednh nghe v\u00e0 nh\u1eadn di\u1ec7n \u00e2m thanh &#8211; th\u00ednh gi\u00e1c m\u00e1y t\u00ednh. R\u00fat ra t\u1eeb b\u00e0i n\u00e0y l\u00e0 nhi\u1ec1u khi t\u1eeb c\u00e1c b\u00e0i to\u00e1n kh\u00f3, ch\u01b0a c\u00f3 c\u00e1ch gi\u1ea3i quy\u1ebft nh\u01b0ng n\u1ebfu nh\u01b0 bi\u1ebft c\u00e1ch bi\u1ec3n \u0111\u1ed5i v\u00e0 hi\u1ec3u d\u1eef li\u1ec7u th\u00ec ch\u00fang ta c\u00f3 th\u1ec3 \u0111\u01b0a v\u1ec1 c\u00e1c b\u00e0i to\u00e1n th\u00f4ng th\u01b0\u1eddng -b\u00e0i to\u00e1n ph\u00e2n lo\u1ea1i \u1ea3nh ch\u00f3\/m\u00e8o quen thu\u1ed9c.<\/p>\n\n\n\n<p>Ch\u00fac c\u00e1c b\u1ea1n th\u00e0nh c\u00f4ng. N\u1ebfu trong qu\u00e1 tr\u00ecnh th\u1ef1c hi\u1ec7n c\u00f3 g\u00ec kh\u00f3 kh\u0103n, ho\u1eb7c c\u1ea7n th\u1ea3o lu\u1eadn, c\u00e1c b\u1ea1n c\u00f3 th\u1ec3 post l\u00ean group \u0111\u1ec3 c\u00f9ng trao \u0111\u1ed5i nh\u00e9 Group trao \u0111\u1ed5i, chia s\u1ebb: <strong><a href=\"https:\/\/www.facebook.com\/groups\/miaigroup\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\">https:\/\/www.facebook.com\/groups\/miaigroup<\/a><\/strong> .<\/p>\n\n\n\n<p><strong><em>H\u00e3y tham gia c\u00f9ng c\u1ed9ng \u0111\u1ed3ng M\u00ec AI nh\u00e9:<\/em><\/strong><br>#M\u00ecAI<\/p>\n\n\n\n<p>Fanpage: <strong><a rel=\"noreferrer noopener\" aria-label=\"http:\/\/facebook.com\/miaiblog (opens in a new tab)\" href=\"http:\/\/facebook.com\/miaiblog\" target=\"_blank\">http:\/\/facebook.com\/miaiblog<\/a><\/strong><br>Group trao \u0111\u1ed5i, chia s\u1ebb: <strong><a rel=\"noreferrer noopener\" aria-label=\"https:\/\/www.facebook.com\/groups\/miaigroup (opens in a new tab)\" href=\"https:\/\/www.facebook.com\/groups\/miaigroup\" target=\"_blank\">https:\/\/www.facebook.com\/groups\/miaigroup<\/a><\/strong><br>Website: <strong><a rel=\"noreferrer noopener\" aria-label=\"https:\/\/miai.vn (opens in a new tab)\" href=\"https:\/\/miai.vn\/\" target=\"_blank\">https:\/\/miai.vn\/<\/a><\/strong><br>Youtube: <strong><a rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\" href=\"http:\/\/bit.ly\/miaiyoutube\" target=\"_blank\">http:\/\/bit.ly\/miaiyoutube<\/a><\/strong><\/p>\n\n\n\n<p class=\"has-small-font-size\">Ngu\u1ed3n tham kh\u1ea3o: https:\/\/github.com\/EXJUSTICE\/Urban_Sound_Classification\/blob\/master\/Sound%20Class%20with%20Spec%20Images%20Draft.ipynb<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Xin ch\u00e0o tu\u1ea7n m\u1edbi c\u00e1c anh em M\u00ec AI, ch\u00fang ta \u0111\u00e3 l\u00e0m vi\u1ec7c v\u1edbi Computer Vision &#8211; th\u1ecb gi\u00e1c m\u00e1y t\u00ednh r\u1ed3i. H\u00f4m nay ch\u00fang ta s\u1ebd th\u1eed d\u1ea1y cho m\u00e1y t\u00ednh s\u1eed d\u1ee5ng th\u00ednh gi\u00e1c \u0111\u1ec3 nghe \u00e2m thanh qua b\u00e0i to\u00e1n d\u1ea1y cho m\u00e1y t\u00ednh nghe v\u00e0 ph\u00e2n bi\u1ec7t \u00e2m thanh b\u1eb1ng [&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":[40,114,115,63,116,117,118],"class_list":["post-482","post","type-post","status-publish","format-standard","hentry","category-computer-vision","tag-cnn","tag-computer-listen","tag-librosa","tag-lstm","tag-sound-classifier","tag-sound-classify","tag-wav"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>D\u1ea1y m\u00e1y t\u00ednh nghe v\u00e0 ph\u00e2n bi\u1ec7t \u00e2m thanh b\u1eb1ng CNN - M\u00ec AI<\/title>\n<meta name=\"description\" content=\"H\u00f4m nay ch\u00fang ta s\u1ebd th\u1eed d\u1ea1y cho m\u00e1y t\u00ednh s\u1eed d\u1ee5ng th\u00ednh gi\u00e1c \u0111\u1ec3 nghe \u00e2m thanh qua b\u00e0i to\u00e1n d\u1ea1y cho m\u00e1y t\u00ednh nghe v\u00e0 ph\u00e2n bi\u1ec7t \u00e2m thanh b\u1eb1ng CNN 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=482\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"D\u1ea1y m\u00e1y t\u00ednh nghe v\u00e0 ph\u00e2n bi\u1ec7t \u00e2m thanh b\u1eb1ng CNN - M\u00ec AI\" \/>\n<meta property=\"og:description\" content=\"H\u00f4m nay ch\u00fang ta s\u1ebd th\u1eed d\u1ea1y cho m\u00e1y t\u00ednh s\u1eed d\u1ee5ng th\u00ednh gi\u00e1c \u0111\u1ec3 nghe \u00e2m thanh qua b\u00e0i to\u00e1n d\u1ea1y cho m\u00e1y t\u00ednh nghe v\u00e0 ph\u00e2n bi\u1ec7t \u00e2m thanh b\u1eb1ng CNN nh\u00e9.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/miai.vn\/?p=482\" \/>\n<meta property=\"og:site_name\" content=\"M\u00ec AI\" \/>\n<meta property=\"article:published_time\" content=\"2019-10-26T22:20:31+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cognitiveclass.ai\/wp-content\/uploads\/2019\/01\/Machine-Learning-with-Sound_emblem_350_300.png\" \/>\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=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/miai.vn\\\/?p=482#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/miai.vn\\\/?p=482\"},\"author\":{\"name\":\"Ch\u1ee7 ti\u1ec7m M\u00ec\",\"@id\":\"https:\\\/\\\/miai.vn\\\/#\\\/schema\\\/person\\\/cc8bc24bb90bd3f596add82f3a59948c\"},\"headline\":\"D\u1ea1y cho m\u00e1y t\u00ednh nghe v\u00e0 ph\u00e2n bi\u1ec7t \u00e2m thanh b\u1eb1ng CNN\",\"datePublished\":\"2019-10-26T22:20:31+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/miai.vn\\\/?p=482\"},\"wordCount\":1386,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/miai.vn\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/miai.vn\\\/?p=482#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/cognitiveclass.ai\\\/wp-content\\\/uploads\\\/2019\\\/01\\\/Machine-Learning-with-Sound_emblem_350_300.png\",\"keywords\":[\"CNN\",\"computer listen\",\"librosa\",\"LSTM\",\"sound classifier\",\"sound classify\",\"wav\"],\"articleSection\":[\"Computer Vision\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/miai.vn\\\/?p=482#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/miai.vn\\\/?p=482\",\"url\":\"https:\\\/\\\/miai.vn\\\/?p=482\",\"name\":\"D\u1ea1y m\u00e1y t\u00ednh nghe v\u00e0 ph\u00e2n bi\u1ec7t \u00e2m thanh b\u1eb1ng CNN - M\u00ec AI\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/miai.vn\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/miai.vn\\\/?p=482#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/miai.vn\\\/?p=482#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/cognitiveclass.ai\\\/wp-content\\\/uploads\\\/2019\\\/01\\\/Machine-Learning-with-Sound_emblem_350_300.png\",\"datePublished\":\"2019-10-26T22:20:31+00:00\",\"description\":\"H\u00f4m nay ch\u00fang ta s\u1ebd th\u1eed d\u1ea1y cho m\u00e1y t\u00ednh s\u1eed d\u1ee5ng th\u00ednh gi\u00e1c \u0111\u1ec3 nghe \u00e2m thanh qua b\u00e0i to\u00e1n d\u1ea1y cho m\u00e1y t\u00ednh nghe v\u00e0 ph\u00e2n bi\u1ec7t \u00e2m thanh b\u1eb1ng CNN nh\u00e9.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/miai.vn\\\/?p=482#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/miai.vn\\\/?p=482\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/miai.vn\\\/?p=482#primaryimage\",\"url\":\"https:\\\/\\\/cognitiveclass.ai\\\/wp-content\\\/uploads\\\/2019\\\/01\\\/Machine-Learning-with-Sound_emblem_350_300.png\",\"contentUrl\":\"https:\\\/\\\/cognitiveclass.ai\\\/wp-content\\\/uploads\\\/2019\\\/01\\\/Machine-Learning-with-Sound_emblem_350_300.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/miai.vn\\\/?p=482#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/miai.vn\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"D\u1ea1y cho m\u00e1y t\u00ednh nghe v\u00e0 ph\u00e2n bi\u1ec7t \u00e2m thanh b\u1eb1ng CNN\"}]},{\"@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":"D\u1ea1y m\u00e1y t\u00ednh nghe v\u00e0 ph\u00e2n bi\u1ec7t \u00e2m thanh b\u1eb1ng CNN - M\u00ec AI","description":"H\u00f4m nay ch\u00fang ta s\u1ebd th\u1eed d\u1ea1y cho m\u00e1y t\u00ednh s\u1eed d\u1ee5ng th\u00ednh gi\u00e1c \u0111\u1ec3 nghe \u00e2m thanh qua b\u00e0i to\u00e1n d\u1ea1y cho m\u00e1y t\u00ednh nghe v\u00e0 ph\u00e2n bi\u1ec7t \u00e2m thanh b\u1eb1ng CNN 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=482","og_locale":"en_US","og_type":"article","og_title":"D\u1ea1y m\u00e1y t\u00ednh nghe v\u00e0 ph\u00e2n bi\u1ec7t \u00e2m thanh b\u1eb1ng CNN - M\u00ec AI","og_description":"H\u00f4m nay ch\u00fang ta s\u1ebd th\u1eed d\u1ea1y cho m\u00e1y t\u00ednh s\u1eed d\u1ee5ng th\u00ednh gi\u00e1c \u0111\u1ec3 nghe \u00e2m thanh qua b\u00e0i to\u00e1n d\u1ea1y cho m\u00e1y t\u00ednh nghe v\u00e0 ph\u00e2n bi\u1ec7t \u00e2m thanh b\u1eb1ng CNN nh\u00e9.","og_url":"https:\/\/miai.vn\/?p=482","og_site_name":"M\u00ec AI","article_published_time":"2019-10-26T22:20:31+00:00","og_image":[{"url":"https:\/\/cognitiveclass.ai\/wp-content\/uploads\/2019\/01\/Machine-Learning-with-Sound_emblem_350_300.png","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":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/miai.vn\/?p=482#article","isPartOf":{"@id":"https:\/\/miai.vn\/?p=482"},"author":{"name":"Ch\u1ee7 ti\u1ec7m M\u00ec","@id":"https:\/\/miai.vn\/#\/schema\/person\/cc8bc24bb90bd3f596add82f3a59948c"},"headline":"D\u1ea1y cho m\u00e1y t\u00ednh nghe v\u00e0 ph\u00e2n bi\u1ec7t \u00e2m thanh b\u1eb1ng CNN","datePublished":"2019-10-26T22:20:31+00:00","mainEntityOfPage":{"@id":"https:\/\/miai.vn\/?p=482"},"wordCount":1386,"commentCount":0,"publisher":{"@id":"https:\/\/miai.vn\/#organization"},"image":{"@id":"https:\/\/miai.vn\/?p=482#primaryimage"},"thumbnailUrl":"https:\/\/cognitiveclass.ai\/wp-content\/uploads\/2019\/01\/Machine-Learning-with-Sound_emblem_350_300.png","keywords":["CNN","computer listen","librosa","LSTM","sound classifier","sound classify","wav"],"articleSection":["Computer Vision"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/miai.vn\/?p=482#respond"]}]},{"@type":"WebPage","@id":"https:\/\/miai.vn\/?p=482","url":"https:\/\/miai.vn\/?p=482","name":"D\u1ea1y m\u00e1y t\u00ednh nghe v\u00e0 ph\u00e2n bi\u1ec7t \u00e2m thanh b\u1eb1ng CNN - M\u00ec AI","isPartOf":{"@id":"https:\/\/miai.vn\/#website"},"primaryImageOfPage":{"@id":"https:\/\/miai.vn\/?p=482#primaryimage"},"image":{"@id":"https:\/\/miai.vn\/?p=482#primaryimage"},"thumbnailUrl":"https:\/\/cognitiveclass.ai\/wp-content\/uploads\/2019\/01\/Machine-Learning-with-Sound_emblem_350_300.png","datePublished":"2019-10-26T22:20:31+00:00","description":"H\u00f4m nay ch\u00fang ta s\u1ebd th\u1eed d\u1ea1y cho m\u00e1y t\u00ednh s\u1eed d\u1ee5ng th\u00ednh gi\u00e1c \u0111\u1ec3 nghe \u00e2m thanh qua b\u00e0i to\u00e1n d\u1ea1y cho m\u00e1y t\u00ednh nghe v\u00e0 ph\u00e2n bi\u1ec7t \u00e2m thanh b\u1eb1ng CNN nh\u00e9.","breadcrumb":{"@id":"https:\/\/miai.vn\/?p=482#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/miai.vn\/?p=482"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/miai.vn\/?p=482#primaryimage","url":"https:\/\/cognitiveclass.ai\/wp-content\/uploads\/2019\/01\/Machine-Learning-with-Sound_emblem_350_300.png","contentUrl":"https:\/\/cognitiveclass.ai\/wp-content\/uploads\/2019\/01\/Machine-Learning-with-Sound_emblem_350_300.png"},{"@type":"BreadcrumbList","@id":"https:\/\/miai.vn\/?p=482#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/miai.vn\/"},{"@type":"ListItem","position":2,"name":"D\u1ea1y cho m\u00e1y t\u00ednh nghe v\u00e0 ph\u00e2n bi\u1ec7t \u00e2m thanh b\u1eb1ng CNN"}]},{"@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\/482","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=482"}],"version-history":[{"count":0,"href":"https:\/\/miai.vn\/index.php?rest_route=\/wp\/v2\/posts\/482\/revisions"}],"wp:attachment":[{"href":"https:\/\/miai.vn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=482"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/miai.vn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=482"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/miai.vn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=482"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}