
{"id":179,"date":"2016-02-27T15:12:28","date_gmt":"2016-02-27T07:12:28","guid":{"rendered":"http:\/\/www.jiandaima.com\/blog\/?p=179"},"modified":"2016-04-20T14:25:38","modified_gmt":"2016-04-20T06:25:38","slug":"%e7%99%be%e5%ba%a6%e5%bc%80%e6%ba%90%e4%ba%ba%e5%b7%a5%e6%99%ba%e8%83%bd%e8%bd%af%e4%bb%b6%e4%bb%a3%e7%a0%81","status":"publish","type":"post","link":"http:\/\/www.jiandaima.com\/blog\/archives\/179.html","title":{"rendered":"\u767e\u5ea6\u5f00\u6e90\u4eba\u5de5\u667a\u80fd\u8f6f\u4ef6\u4ee3\u7801"},"content":{"rendered":"<p><a href=\"https:\/\/www.jiandaima.com\/blog\/wp-content\/uploads\/2016\/02\/c10f74f968e50059.png\" class=\"highslide-image\" onclick=\"return hs.expand(this);\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/images.jiandaima.com\/blog\/wp-content\/uploads\/2016\/02\/c10f74f968e50059.png\" alt=\"\u767e\u5ea6\u5f00\u6e90\u4eba\u5de5\u667a\u80fd\u8f6f\u4ef6\u4ee3\u7801 \u4e13\u4e1a\u6e90\u7801\u5206\u4eab\" width=\"373\" height=\"132\" class=\"aligncenter size-full wp-image-354\" \/><\/a><\/p>\n<div align=\"left\"><span style=\"color: #333333;\"><br \/>\n<\/span><\/div>\n<div align=\"left\"><span style=\"color: #333333;\">\u767e\u5ea6\u7845\u8c37AI\u5b9e\u9a8c\u5ba4\uff08SVAIL\uff09\u8fd1\u65e5\u5ba3\u5e03\uff0c\u767e\u5ea6\u5df2\u5f00\u6e90\u5173\u952e\u4eba\u5de5\u667a\u80fd(AI)\u8f6f\u4ef6Warp-CTC\uff0c\u5e76\u516c\u5f00\u4e86\u5173\u952e\u4ee3\u7801\u3002\u767e\u5ea6\u7845\u8c37\u5b9e\u9a8c\u5ba4\u5df2\u5411GitHub\u4e0a\u4f20\u4e86Warp-CTCC\u4ee3\u7801\u5e93\uff0c\u9f13\u52b1\u5f00\u53d1\u8005\u8bd5\u7528\u8fd9\u4e9b\u4ee3\u7801\u3002\u767e\u5ea6\u8868\u793a\uff0c\u4ee3\u7801\u5c06\u5f00\u653e\u7ed9\u6240\u6709\u4ece\u4e1a\u8005\uff0c\u5305\u62ec\u4f46\u4e0d\u9650\u4e8e\u521b\u4e1a\u8005\u3002\u767e\u5ea6\u6b64\u6b21\u5f00\u6e90\u4eba\u5de5\u667a\u80fd\u8f6f\u4ef6\u4ee3\u7801\uff0c\u8ba9\u5168\u7403\u77e5\u8bc6\u5171\u4eab\u53c8\u8fc8\u51fa\u4e86\u4e00\u5927\u6b65\uff0c\u77e5\u8bc6\u5171\u4eab\u9886\u57df\u5c06\u6fc0\u53d1\u51fa\u66f4\u591a\u521b\u65b0\uff0c\u5f00\u53d1\u8005\u80fd\u83b7\u53d6\u66f4\u4e30\u5bcc\u7684\u6280\u672f\u5b66\u4e60\u9014\u5f84\uff0c\u4fc3\u8fdb\u5f00\u53d1\u8005\u8fdb\u884c\u6280\u672f\u5f00\u53d1\uff0c\u5bf9\u5168\u7403\u4eba\u5de5\u667a\u80fd\u884c\u4e1a\u53d1\u5c55\u6709\u7740\u6781\u5176\u91cd\u8981\u7684\u73b0\u5b9e\u610f\u4e49\u3002<\/span><\/div>\n<div align=\"left\"><span style=\"color: #333333;\">\u3000\u3000Warp-CTC\u662f\u767e\u5ea6\u524d\u671f\u4e3a\u4e86\u5728\u6700\u65b0\u7684\u8ba1\u7b97\u673a\u82af\u7247\u4e0a\u66f4\u5feb\u901f\u8fd0\u884c\u800c\u4e13\u95e8\u7814\u53d1\u7684\u4e00\u79cd\u6539\u826f\u7248\u6df1\u5ea6\u5b66\u4e60\u7b97\u6cd5\u3002CTC\uff08\u94fe\u7ed3\u5f0f\u65f6\u95f4\u5206\u7c7b\u7b97\u6cd5\uff09\u65b9\u6cd5\u59cb\u4e8e2006\u5e74\uff0c\u5728\u745e\u58ebAI\u5b9e\u9a8c\u5ba4IDSIA\u7684\u8bba\u6587\u4e2d\u6709\u6240\u63cf\u8ff0\u3002CTC\u7ed3\u5408\u4e86\u591a\u4e2a\u4e0d\u540c\u7684\u795e\u7ecf\u7f51\u7edc\u8bbe\u8ba1\uff0c\u4ee5\u5904\u7406\u4e0d\u5b8c\u7f8e\u7684\u6570\u636e\u96c6\u3002\u767e\u5ea6SVAIL\u5de5\u7a0b\u5e08\u5728\u6253\u9020\u7aef\u5bf9\u7aef\u8bed\u97f3\u8bc6\u522b\u7cfb\u7edf\u65f6\uff0c\u5728CTC\u57fa\u7840\u4e0a\u5f00\u53d1\u4e86Warp-CTC\uff0c\u8be5\u8f6f\u4ef6\u53ef\u7528\u4e8e\u89e3\u51b3\u7ed8\u5236\u8f93\u5165\u5e8f\u5217\u5230\u8f93\u51fa\u5e8f\u5217\u56fe\u8c31\u8fc7\u7a0b\u4e2d\u7684\u76d1\u7763\u95ee\u9898\uff0c\u6539\u5584\u57f9\u8bad\u6a21\u578b\u7684\u53ef\u6269\u5c55\u6027\uff0c\u76ee\u524d\u767e\u5ea6\u5df2\u7ecf\u5c06\u5176\u8fd0\u7528\u5728\u4e86\u8bed\u97f3\u8bc6\u522b\u7684\u6539\u8fdb\u548c\u4f18\u5316\u4e0a\u3002<\/span><\/div>\n<div align=\"left\"><span style=\"color: #333333;\">\u3000\u3000\u5728\u6b64\u6b21\u6b63\u5f0f\u5f00\u6e90\u4e4b\u524d\uff0cWarp-CTC\u5df2\u88ab\u7528\u4e8e\u5f00\u53d1\u4e00\u6b3e\u5f3a\u5927\u7684\u6df1\u5ea6\u8bed\u97f3\u8bc6\u522b\u7cfb\u7edfDeepSpeech2\u3002\u5bf9\u4e8e\u4e00\u4e9b\u7b80\u77ed\u7684\u53e5\u5b50\uff0c\u8be5\u7cfb\u7edf\u751a\u81f3\u6bd4\u5927\u591a\u6570\u4eba\u7c7b\u6b63\u786e\u8bc6\u522b\u8bed\u97f3\u7684\u80fd\u529b\u5f3a\u3002\u8be5\u6280\u672f\u76ee\u524d\u5df2\u5e2e\u52a9\u767e\u5ea6\u6570\u4ebf\u7528\u6237\u5728\u79fb\u52a8\u7aef\u66f4\u597d\u7684\u83b7\u53d6\u76f8\u5e94\u7684\u670d\u52a1\u3002\u767e\u5ea6\u4e5f\u8868\u793a\uff0c\u5e0c\u671b\u6b64\u6b21\u5f00\u6e90\u80fd\u4fc3\u4f7f\u7aef\u5230\u7aef\u7684\u6df1\u5ea6\u5b66\u4e60\u53d8\u5f97\u66f4\u7b80\u5355\u3001\u901f\u5ea6\u66f4\u5feb\uff0c\u52a0\u5feb\u7814\u7a76\u8005\u7684\u8fdb\u5ea6\uff0c\u8fdb\u800c\u5bf9\u673a\u5668\u5b66\u4e60\u9886\u57df\u7684\u8fdb\u6b65\u505a\u51fa\u8d21\u732e\u3002<\/span><\/div>\n<div align=\"left\"><span style=\"color: #333333;\">\u3000\u3000\u8fd1\u51e0\u5e74\u6765\uff0c\u5305\u62ec\u6df1\u5ea6\u5b66\u4e60\u3001\u8bed\u97f3\u8bc6\u522b\u7b49\u5728\u5185\u7684\u4eba\u5de5\u667a\u80fd\u6280\u672f\u5df2\u7ecf\u6210\u4e3a\u884c\u4e1a\u70ed\u70b9\u3002\u4ee5\u6df1\u5ea6\u5b66\u4e60\u4e3a\u4f8b\uff0c\u5c06\u8fd9\u9879\u6280\u672f\u5e94\u7528\u5230\u4e92\u8054\u7f51\u4ea7\u54c1\u4e2d\u4e4b\u540e\uff0c\u5c31\u53ef\u4ee5\u5b9e\u73b0\u5404\u79cd\u201c\u7528\u8111\u201d\u7684\u5b66\u4e60\u578b\u64cd\u4f5c\uff0c\u5982\u7cbe\u81f4\u5730\u8f6c\u5f55\u8bed\u97f3\u6216\u8bc6\u522b\u7269\u4f53\u56fe\u50cf\uff0c\u76f8\u5f53\u4e8e\u5c06\u7279\u5b9a\u5b57\u8bcd\u7684\u97f3\u9891\u6216\u7279\u5b9a\u7269\u4f53\u7684\u56fe\u50cf\u5bfc\u5165\u4e00\u4e2a\u5927\u578b\u6a21\u62df\u795e\u7ecf\u7f51\u7edc\uff0c\u968f\u7740\u65f6\u95f4\u63a8\u79fb\uff0c\u6b64\u7f51\u7edc\u5c06\u4e0d\u65ad\u201c\u81ea\u6211\u5b66\u4e60\u201d\uff0c\u4ece\u800c\u53ef\u4ee5\u8bc6\u522b\u51fa\u66f4\u591a\u7684\u65b0\u76ee\u6807\u3002Warp-CTC\u6280\u672f\u7684\u5e94\u7528\u5c06\u6709\u6548\u6539\u5584\u7528\u73b0\u6709\u7684\u65b9\u5f0f\u5e94\u7528CTC\u65f6\u5bf9\u5185\u5b58\u7684\u5e9e\u5927\u9700\u6c42\uff0c\u63d0\u5347\u901f\u5ea6\u6570\u5341\u751a\u81f3\u6570\u767e\u500d\u3002<\/span><\/div>\n<div align=\"left\"><span style=\"color: #333333;\">\u3000\u3000\u968f\u7740\u767e\u5ea6\u3001\u8c37\u6b4c\u3001Facebook\u7b49\u4f01\u4e1a\u5168\u9762\u514d\u8d39\u5f00\u653e\u5404\u81ea\u7684\u6df1\u5ea6\u5b66\u4e60\u6280\u672f\uff0c\u7814\u7a76\u8005\u548c\u5f00\u53d1\u8005\u4eec\u5f88\u5feb\u5c31\u53ef\u4ee5\u4f7f\u7528\u8fd9\u4e9b\u56fd\u9645\u9876\u5c16\u7684\u57fa\u7840\u6280\u672f\u5e73\u53f0\u5f00\u53d1\u673a\u5668\u5b66\u4e60\u7cfb\u7edf\u4ea7\u54c1\uff0c\u4ece\u800c\u63a8\u52a8\u6574\u4e2a\u4eba\u5de5\u667a\u80fd\u751f\u6001\u7684\u7e41\u8363\u3002\u4f5c\u4e3a\u4e00\u5bb6\u6280\u672f\u9a71\u52a8\u7684\u516c\u53f8\uff0c\u767e\u5ea6\u6df1\u77e5\uff0c\u516c\u5f00\u6280\u672f\u6e90\u4ee3\u7801\u5c06\u4f1a\u5f15\u8d77\u4e1a\u754c\u66f4\u591a\u7684\u5174\u8da3\u548c\u70ed\u60c5\uff0c\u4f7f\u5f97\u76f8\u5173\u7684\u6280\u672f\u53d1\u5c55\u8fdb\u5165\u826f\u6027\u53d1\u5c55\u7684\u5faa\u73af\uff0c\u4e3a\u6574\u4e2a\u4ea7\u4e1a\u63d0\u4f9b\u5f3a\u5927\u7684\u6280\u672f\u9a71\u52a8\u529b\u3002<\/span><\/div>\n<div align=\"left\"><span style=\"color: #333333;\">\u00a0 \u00a0\u00a0 \u00a0 \u5f00\u6e90\u5730\u5740\uff1a<span><span><a href=\"https:\/\/github.com\/baidu-research\/warp-ctc\" target=\"_blank\">https:\/\/github.com\/baidu-research\/warp-ctc<\/a><\/span><\/span><\/span><\/div>\n<p>warp-ctc<\/p>\n<p><span style=\"color: #333333;\">Warp-CTC\u662f\u4e00\u4e2a\u53ef\u4ee5\u5e94\u7528\u5728CPU\u548cGPU\u4e0a\u9ad8\u6548\u5e76\u884c\u7684CTC\u4ee3\u7801\u5e93 \uff08library\uff09 \u4ecb\u7ecd CTC<\/span><span><a href=\"http:\/\/www.cs.toronto.edu\/~graves\/icml_2006.pdf\" target=\"_blank\">Connectionist Temporal Classification<\/a><\/span><span style=\"color: #333333;\">\u4f5c\u4e3a\u4e00\u4e2a\u635f\u5931\u51fd\u6570\uff0c\u7528\u4e8e\u5728\u5e8f\u5217\u6570\u636e\u4e0a\u8fdb\u884c\u76d1\u7763\u5f0f\u5b66\u4e60\uff0c\u4e0d\u9700\u8981\u5bf9\u9f50\u8f93\u5165\u6570\u636e\u53ca\u6807\u7b7e\u3002\u6bd4\u5982\uff0cCTC\u53ef\u4ee5\u88ab\u7528\u6765\u8bad\u7ec3\u7aef\u5bf9\u7aef\u7684\u8bed\u97f3\u8bc6\u522b\u7cfb\u7edf\uff0c\u8fd9\u6b63\u662f\u6211\u4eec\u5728\u767e\u5ea6\u7845\u8c37\u8bd5\u9a8c\u5ba4\u6240\u4f7f\u7528\u7684\u65b9\u6cd5\u3002\u00a0<\/span><span><a href=\"http:\/\/www.jmlr.org\/proceedings\/papers\/v32\/graves14.pdf\" target=\"_blank\">\u7aef\u5230\u7aef<\/a><\/span><span style=\"color: #333333;\">\u00a0<\/span><span><a href=\"http:\/\/arxiv.org\/pdf\/1408.2873v2.pdf\" target=\"_blank\">\u7cfb\u7edf<\/a><\/span><span style=\"color: #333333;\">\u00a0<\/span><span><a href=\"http:\/\/arxiv.org\/abs\/1512.02595\" target=\"_blank\">\u8bed\u97f3\u8bc6\u522b<\/a><\/span><\/p>\n<p><a href=\"https:\/\/www.jiandaima.com\/blog\/wp-content\/uploads\/2016\/02\/4dd6875253212877.png\" class=\"highslide-image\" onclick=\"return hs.expand(this);\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/images.jiandaima.com\/blog\/wp-content\/uploads\/2016\/02\/4dd6875253212877-600x343.png\" alt=\"\u767e\u5ea6\u5f00\u6e90\u4eba\u5de5\u667a\u80fd\u8f6f\u4ef6\u4ee3\u7801 \u4e13\u4e1a\u6e90\u7801\u5206\u4eab\" width=\"600\" height=\"343\" class=\"aligncenter size-large wp-image-353\" \/><\/a><\/p>\n<div align=\"left\"><span>\u4e0a\u56fe\u5c55\u793a\u4e86CTC\u8ba1\u7b97\u8f93\u51fa\u5e8f\u5217\uff08\u201cTHE CAT\u201d\uff09\u6982\u7387\u7684\u8fc7\u7a0b\uff0c\u662f\u5bf9\u53ef\u80fd\u6620\u5c04\u6210\u201cTHE CAT\u201d\u7684\u6240\u6709\u53ef\u80fd\u8f93\u5165\u5e8f\u5217\u5bf9\u9f50\u7684\u548c\u3002\u8fd9\u4e00\u8fc7\u7a0b\u8003\u8651\u4e86\u6807\u7b7e\u4f1a\u88ab\u590d\u5236\u7684\u53ef\u80fd\u6027\uff0c\u56e0\u4e3a\u6807\u7b7e\u6709\u53ef\u80fd\u5728\u8f93\u5165\u6570\u636e\u7684\u51e0\u4e2a\u65f6\u95f4\u6b65\uff08time steps)\u65f6\u88ab\u62c9\u4f38 \uff08\u8bf7\u89c1\u4e0a\u56fe\u5e95\u90e8\u7684\u58f0\u8c31\u56fe\uff09\u3002\u7531\u4e8e\u6d89\u53ca\u5230\u4e86\u7ec4\u5408\u5b66\uff0c\u8ba1\u7b97\u6240\u6709\u53ef\u80fd\u6982\u7387\u7684\u548c\u7684\u6210\u672c\u4f1a\u5f88\u9ad8\uff0c\u4f46\u662fCTC\u8fd0\u7528\u4e86\u52a8\u6001\u89c4\u5212\u4ee5\u5927\u5e45\u964d\u4f4e\u8ba1\u7b97\u7684\u590d\u6742\u6027\u3002\u4f5c\u4e3a\u4e00\u4e2a\u53ef\u5fae\u51fd\u6570\uff0cCTC\u53ef\u4ee5\u88ab\u7528\u4e8e\u6df1\u5ea6\u795e\u7ecf\u7f51\u7edc\u7684\u6807\u51c6SGD\u8bad\u7ec3\u3002 \u6211\u4eec\u5b9e\u9a8c\u5ba4\u4e13\u6ce8\u4e8e\u9012\u5f52\u795e\u7ecf\u7f51\u7edc\uff08RNN\uff09\u7684\u53ef\u6269\u5c55\u6027 \uff08scalibility), \u800cCTC\u635f\u5931\u51fd\u6570\u662f\u5176\u4e2d\u5f88\u91cd\u8981\u7684\u4e00\u90e8\u5206\u3002\u4e3a\u4e86\u8ba9\u6211\u4eec\u7684\u7cfb\u7edf\u66f4\u6709\u6548\u7387\uff0c\u6211\u4eec\u5e76\u884c\u5904\u7406\u4e86CTC\u7b97\u6cd5\uff0c\u6b63\u5982\u8fd9\u7bc7\u6587\u7ae0\u4e2d\u6240\u63cf\u8ff0\u7684 \u3002\u8fd9\u4e2a\u9879\u76ee\u5305\u542b\u4e86\u6211\u4eec\u7684\u9ad8\u6027\u80fdCPU\u4ee5\u53caCUDA\u7248\u672c\u7684CTC\u635f\u5931\u51fd\u6570, \u4ee5\u53ca\u7ed1\u5b9a\u7684Torch. \u8be5\u4ee3\u7801\u5e93\u63d0\u4f9b\u4e86\u7b80\u5355\u7684C\u63a5\u53e3\uff0c\u6613\u4e8e\u4e0e\u6df1\u5ea6\u5b66\u4e60\u6846\u67b6\u6574\u5408\u3002<\/span><\/div>\n<div align=\"left\"><span>\u8fd9\u79cd\u6267\u884c\u65b9\u5f0f\u63d0\u9ad8\u4e86\u8bad\u7ec3\u7684\u7684\u53ef\u6269\u5c55\u6027\uff0c\u8d85\u8fc7\u4e86\u5e76\u884cCTC\u7684\u5b9e\u73b0\u65b9\u5f0f\u3002\u5bf9\u4e8e\u4ee5GPU\u4e3a\u6838\u5fc3\u7684\u8bad\u7ec3\uff0c \u6211\u4eec\u53ef\u7528\u6240\u6709\u7684\u7684\u7f51\u7edc\u5e26\u5bbd\u6765\u589e\u52a0\u6570\u636e\u7684\u53ef\u5e76\u884c\u6027\u3002 \u6027\u80fd \u76f8\u8d77\u5176\u4ed6\u7684\u5f00\u6e90\u5de5\u5177\uff0cWarp-CTC\u7684\u5b9e\u73b0\u65b9\u5f0f\u76f8\u5bf9\u9ad8\u6548\uff0c\u4e14\u4ee3\u7801\u7684\u6570\u503c\u7a33\u5b9a\u6027\u4e5f\u8f83\u597d\u3002\u56e0\u4e3aCTC\u672c\u8eab\u5bf9\u6570\u503c\u8f83\u4e3a\u654f\u611f\uff0c\u56e0\u6b64\u5373\u4f7f\u4f7f\u7528\u53cc\u7cbe\u5ea6\u6807\u51c6\u8ba1\u7b97\uff0c\u4e5f\u4f1a\u51fa\u73b0\u4e0b\u6ea2 (underflow)\u7684\u60c5\u51b5\u3002 \u5177\u4f53\u6765\u8bf4\uff0c\u4e24\u4e2a\u6570\u503c\u8d8b\u8fd1\u4e8e\u65e0\u7a77\u5c0f\u4e14\u76f8\u8fd1\u7684\u6570\u5b57\u76f8\u9664\u7684\u7ed3\u679c\u5e94\u8be5\u5927\u7ea6\u4e3a1\uff0c\u5374\u56e0\u4e3a\u5206\u6bcd\u63a5\u8fd1\u4e3a0\u800c\u53d8\u6210\u65e0\u7a77\u3002 \u7136\u800c\uff0c\u5982\u679c\u76f4\u63a5\u53d6\u5bf9\u6570\u6267\u884c\u8fd0\u7b97\uff0cCTC\u4f1a\u5728\u6570\u503c\u4e0a\u8f83\u4e3a\u7a33\u5b9a\uff0c\u867d\u7136\u4f1a\u5728\u5355\u7cbe\u5ea6\u6d6e\u70b9\u4e2d\u4ee5\u9ad8\u6210\u672c\u8fd0\u7b97\u4e3a\u4ee3\u4ef7\u3002 \u6211\u4eec\u5c06Warp-CTC\u548c<span><span><a href=\"https:\/\/github.com\/srvk\/eesen\/commit\/68f2bc2d46a5513cce3c232a645292632a1b08f9\" target=\"_blank\">Eesen<\/a><\/span><\/span>\u00a0(\u5efa\u7acb\u5728<span><span><a href=\"https:\/\/github.com\/mohammadpz\/CTC-Connectionist-Temporal-Classification\/commit\/904e8c72e15334887609d399254cf05a591d570f\" target=\"_blank\">Theano<\/a><\/span><\/span>\u4e0a\u7684CTC)\u4ee5\u53ca\u4ec5\u8fd0\u884c<span><span><a href=\"https:\/\/github.com\/amaas\/stanford-ctc\/commit\/c8859897336a349b6c561d2bf2d179fae90b4d67\" target=\"_blank\">Stanford-CTC<\/a><\/span><\/span>\u7684Cython CPU\u8fdb\u884c\u4e86\u6bd4\u8f83\u3002\u4e3a\u4e86\u8fdb\u884c\u6bd4\u8f83\uff0c\u6211\u4eec\u5bf9\u572832\u4f4d\u6d6e\u70b9\u6570\u4e0a\u8fd0\u884c\u7684Theano\u8fdb\u884c\u4e86\u57fa\u51c6\u6d4b\u8bd5\uff0c\u5e76\u4e14\u53d6\u5bf9\u6570\u8ba1\u7b97\u3002 \u800cStanford-CTC\u7531\u4e8e\u672c\u8eab\u4e0d\u652f\u6301\u5bf9\u6570\u8fd0\u7b97\uff0c\u56e0\u6b64\u9700\u8981\u88ab\u4fee\u6539\u3002\u800c\u4e14\u5b83\u4e5f\u4e0d\u652f\u6301\u5927\u4e8e1\u7684\u8ff7\u4f60\u6279\u5904\u7406 \uff08minibatches), \u6240\u4ee5\u9700\u8981\u5728\u771f\u6b63\u7684\u8bad\u7ec3\u6d41\u6c34\u7ebf\u4e0a\u5e03\u5c40\u975e\u5e38\u89c4\u5185\u5b58\uff08\u6211\u4eec\u5047\u8bbe\u6210\u672c\u4e0e\u8ff7\u4f60\u6279\u5904\u7406\u7684\u89c4\u6a21\u662f\u6210\u6b63\u7ebf\u6027\u5173\u7cfb\uff09\u3002 \u6211\u4eec\u5728Deep Speech 2\u4e2d\u5206\u522b\u5c55\u793a\u4e86\u82f1\u6587\u53ca\u4e2d\u6587\u7aef\u5bf9\u7aef\u6a21\u578b\u7684\u7ed3\u679c, \u5176\u4e2dT\u4ee3\u8868\u8f93\u5165CTC\u7684\u65f6\u95f4\u6b65\u6570\u91cf\uff0cL\u4ee3\u8868\u6bcf\u4e2a\u4f8b\u5b50\u7684\u6807\u7b7e\u957f\u5ea6\uff0cA\u4ee3\u8868\u5b57\u6bcd\u6570\u91cf\u3002 \u5728GPU\u4e0a\uff0cWarp-CTC\u5bf964\u4e2a\u4f8b\u5b50\u8ff7\u4f60\u6279\u5904\u7406\u7684\u8868\u73b0\u6bd4Eesen\u5feb7\u500d\u5230155\u500d\uff0c\u6bd4Theano\u5feb46\u500d\u523068\u500d<\/span><\/div>\n<p>GPU\u6027\u80fd<\/p>\n<div align=\"left\"><span>\u5355\u6838NVIDIA Titan X GPU\u57fa\u51c6\u6d4b\u8bd5<\/span><\/div>\n<p>[td]<\/p>\n<table cellspacing=\"0\">\n<tbody>\n<tr>\n<td><em>T<\/em>=150,\u00a0<em>L<\/em>=40,\u00a0<em>A<\/em>=28<\/td>\n<td>warp-ctc<\/td>\n<td>Eesen<\/td>\n<td>Theano<\/td>\n<\/tr>\n<tr>\n<td><em>N<\/em>=1<\/td>\n<td>3.1 ms<\/td>\n<td>.5 ms<\/td>\n<td>67 ms<\/td>\n<\/tr>\n<tr>\n<td><em>N<\/em>=16<\/td>\n<td>3.2 ms<\/td>\n<td>6 ms<\/td>\n<td>94 ms<\/td>\n<\/tr>\n<tr>\n<td><em>N<\/em>=32<\/td>\n<td>3.2 ms<\/td>\n<td>12 ms<\/td>\n<td>119 ms<\/td>\n<\/tr>\n<tr>\n<td><em>N<\/em>=64<\/td>\n<td>3.3 ms<\/td>\n<td>24 ms<\/td>\n<td>153 ms<\/td>\n<\/tr>\n<tr>\n<td><em>N<\/em>=128<\/td>\n<td>3.5 ms<\/td>\n<td>49 ms<\/td>\n<td>231 ms<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>[td]<\/p>\n<table cellspacing=\"0\">\n<tbody>\n<tr>\n<td><em>T<\/em>=150,\u00a0<em>L<\/em>=20,\u00a0<em>A<\/em>=5000<\/td>\n<td>warp-ctc<\/td>\n<td>Eesen<\/td>\n<td>Theano<\/td>\n<\/tr>\n<tr>\n<td><em>N<\/em>=1<\/td>\n<td>7 ms<\/td>\n<td>40 ms<\/td>\n<td>120 ms<\/td>\n<\/tr>\n<tr>\n<td><em>N<\/em>=16<\/td>\n<td>9 ms<\/td>\n<td>619 ms<\/td>\n<td>385 ms<\/td>\n<\/tr>\n<tr>\n<td><em>N<\/em>=32<\/td>\n<td>11 ms<\/td>\n<td>1238 ms<\/td>\n<td>665 ms<\/td>\n<\/tr>\n<tr>\n<td><em>N<\/em>=64<\/td>\n<td>16 ms<\/td>\n<td>2475 ms<\/td>\n<td>1100 ms<\/td>\n<\/tr>\n<tr>\n<td><em>N<\/em>=128<\/td>\n<td>23 ms<\/td>\n<td>4950 ms<\/td>\n<td>2100 ms<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>CPU\u6027\u80fd<\/p>\n<div align=\"left\"><span>\u5728\u4e00\u53f0\u6709\u4e24\u4e2aIntel E5-2660 v3\u5904\u7406\u5668\u7684\u53cc\u69fd\u673a\u4e0a\u8fdb\u884c\u57fa\u51c6\u6d4b\u8bd5\u3002Warp-CTC\u7528\u4e8640\u4e2a\u7ebf\u7a0b\u4ece\u800c\u6700\u5927\u5316\u4e86\u5bf9CPU\u8d44\u6e90\u7684\u5229\u7528\u3002Eesen\u6ca1\u6709\u63d0\u4f9bCPU\u5b9e\u73b0\u65b9\u5f0f\u3002\u6211\u4eec\u6ce8\u610f\u5230Theano\u6ca1\u6709\u5728\u591a\u7ebf\u7a0b\u4e0a\u8fdb\u884c\u5e76\u884c\u8ba1\u7b97\u3002\u540c\u6837\uff0cStanford\uff0dCTC\u6ca1\u6709\u63d0\u4f9b\u591a\u7ebf\u7a0b\u5e76\u884c\u8ba1\u7b97\u7684\u673a\u5236\u3002<\/span><\/div>\n<p>[td]<\/p>\n<table cellspacing=\"0\">\n<tbody>\n<tr>\n<td><em>T<\/em>=150,\u00a0<em>L<\/em>=40,\u00a0<em>A<\/em>=28<\/td>\n<td>warp-ctc<\/td>\n<td>Stanford-CTC<\/td>\n<td>Theano<\/td>\n<\/tr>\n<tr>\n<td><em>N<\/em>=1<\/td>\n<td>2.6 ms<\/td>\n<td>13 ms<\/td>\n<td>15 ms<\/td>\n<\/tr>\n<tr>\n<td><em>N<\/em>=16<\/td>\n<td>3.4 ms<\/td>\n<td>208 ms<\/td>\n<td>180 ms<\/td>\n<\/tr>\n<tr>\n<td><em>N<\/em>=32<\/td>\n<td>3.9 ms<\/td>\n<td>416 ms<\/td>\n<td>375 ms<\/td>\n<\/tr>\n<tr>\n<td><em>N<\/em>=64<\/td>\n<td>6.6 ms<\/td>\n<td>832 ms<\/td>\n<td>700 ms<\/td>\n<\/tr>\n<tr>\n<td><em>N<\/em>=128<\/td>\n<td>12.2 ms<\/td>\n<td>1684 ms<\/td>\n<td>1340 ms<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>[td]<\/p>\n<table cellspacing=\"0\">\n<tbody>\n<tr>\n<td><em>T<\/em>=150,\u00a0<em>L<\/em>=20,\u00a0<em>A<\/em>=5000<\/td>\n<td>warp-ctc<\/td>\n<td>Stanford-CTC<\/td>\n<td>Theano<\/td>\n<\/tr>\n<tr>\n<td><em>N<\/em>=1<\/td>\n<td>21 ms<\/td>\n<td>31 ms<\/td>\n<td>850 ms<\/td>\n<\/tr>\n<tr>\n<td><em>N<\/em>=16<\/td>\n<td>37 ms<\/td>\n<td>496 ms<\/td>\n<td>10800 ms<\/td>\n<\/tr>\n<tr>\n<td><em>N<\/em>=32<\/td>\n<td>54 ms<\/td>\n<td>992 ms<\/td>\n<td>22000 ms<\/td>\n<\/tr>\n<tr>\n<td><em>N<\/em>=64<\/td>\n<td>101 ms<\/td>\n<td>1984 ms<\/td>\n<td>42000 ms<\/td>\n<\/tr>\n<tr>\n<td><em>N<\/em>=128<\/td>\n<td>184 ms<\/td>\n<td>3968 ms<\/td>\n<td>86000 ms<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u63a5\u53e3<\/p>\n<div align=\"left\"><span>\u63a5\u53e3\u5728<span><span><a href=\"https:\/\/github.com\/baidu-research\/warp-ctc\/blob\/master\/include\/ctc.h\" target=\"_blank\">include\/ctc.h<\/a><\/span><\/span>\u4e2d\uff0c\u5b83\u652f\u6301\u5728CPU\u6216\u8005GPU\u4e0a\u6267\u884c\u3002 \u5982\u679c\u662f\u5728CPU\u4e0a\u8fd0\u884c\uff0c\u53ef\u4ee5\u6307\u5b9aOpenMP\u5e76\u884c\u8ba1\u7b97; \u5982\u679c\u662f\u5728GPU\u4e0a\u8fd0\u884c\uff0c\u8bf7\u7528CUDA stream\u3002 \u4e3a\u907f\u514d\u5185\u5b58\u5206\u914d\u800c\u5bfc\u81f4\u7684\u7ade\u4e89\u53ca\u95f4\u63a5\u6210\u672c\uff0c\u6211\u4eec\u4f1a\u786e\u4fdd\u4ee3\u7801\u5e93\u4e0d\u4f1a\u5728\u5185\u90e8\u8fdb\u884c\u5185\u5b58\u5206\u914d\u3002<\/span><\/div>\n","raw":"","protected":false},"excerpt":{"rendered":"<p>\u767e\u5ea6\u7845\u8c37AI\u5b9e\u9a8c\u5ba4\uff08SVAIL\uff09\u8fd1\u65e5\u5ba3\u5e03\uff0c\u767e\u5ea6\u5df2\u5f00\u6e90\u5173\u952e\u4eba\u5de5\u667a\u80fd(AI)\u8f6f\u4ef6Warp-CTC\uff0c\u5e76\u516c\u5f00\u4e86\u5173\u952e\u4ee3\u7801\u3002\u767e\u5ea6\u7845\u8c37\u5b9e\u9a8c\u5ba4\u5df2\u5411GitHub\u4e0a\u4f20\u4e86Warp-CTCC\u4ee3\u7801\u5e93\uff0c\u9f13\u52b1\u5f00\u53d1\u8005\u8bd5\u7528\u8fd9\u4e9b\u4ee3\u7801\u3002\u767e\u5ea6\u8868\u793a\uff0c\u4ee3\u7801\u5c06\u5f00\u653e\u7ed9\u6240\u6709\u4ece\u4e1a\u8005\uff0c\u5305\u62ec\u4f46\u4e0d &#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[4],"tags":[32,55],"class_list":["post-179","post","type-post","status-publish","format-standard","hentry","category-industry-news","tag-32","tag-55"],"post_thumbnail_image":"http:\/\/images.jiandaima.com\/blog\/wp-content\/uploads\/2016\/02\/c10f74f968e50059.png","content_first_image":"http:\/\/images.jiandaima.com\/blog\/wp-content\/uploads\/2016\/02\/c10f74f968e50059.png","post_medium_image_300":"http:\/\/images.jiandaima.com\/blog\/wp-content\/uploads\/2016\/02\/c10f74f968e50059.png","post_thumbnail_image_624":"http:\/\/images.jiandaima.com\/blog\/wp-content\/uploads\/2016\/02\/c10f74f968e50059.png","post_frist_image":"http:\/\/images.jiandaima.com\/blog\/wp-content\/uploads\/2016\/02\/c10f74f968e50059.png","post_medium_image":"http:\/\/images.jiandaima.com\/blog\/wp-content\/uploads\/2016\/02\/c10f74f968e50059.png","post_large_image":"http:\/\/images.jiandaima.com\/blog\/wp-content\/uploads\/2016\/02\/c10f74f968e50059.png","post_full_image":"http:\/\/images.jiandaima.com\/blog\/wp-content\/uploads\/2016\/02\/c10f74f968e50059.png","post_all_images":[{"imagesurl":"http:\/\/images.jiandaima.com\/blog\/wp-content\/uploads\/2016\/02\/c10f74f968e50059.png","id":"image0"},{"imagesurl":"http:\/\/images.jiandaima.com\/blog\/wp-content\/uploads\/2016\/02\/4dd6875253212877-600x343.png","id":"image1"}],"videoAdId":"","listAd":"0","listAdId":"","listAdEvery":5,"total_comments":0,"category_name":"\u4e1a\u5185\u8d44\u8baf","post_date":"2016-02-27","like_count":"0","praiseWord":"\u9f13\u52b1","copyright_state":"","excitationAd":"0","rewardedVideoAdId":"","detailAdId":"","detailAd":"0","enterpriseMinapp":"0","audios":[],"postImageUrl":"http:\/\/images.jiandaima.com\/blog\/wp-content\/uploads\/2020\/02\/img_5e44112722964.png","avatarurls":[],"related_posts":[],"pageviews":517,"next_post_id":182,"next_post_title":"javaweb\u7535\u5546\u7cfb\u7edf\uff0c\u67b6\u6784\u5206\u6790\u53ca\u6f14\u53d8\uff08\u4e0a\uff09","previous_post_id":108,"previous_post_title":"\u7a0b\u5e8f\u733f\u7684\u5e74\u7ec8\u603b\u7ed3\uff0c\u5404\u79cd\u7248\u672c\u5404\u79cd\u6b8b","_links":{"self":[{"href":"http:\/\/www.jiandaima.com\/blog\/wp-json\/wp\/v2\/posts\/179","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.jiandaima.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.jiandaima.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.jiandaima.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.jiandaima.com\/blog\/wp-json\/wp\/v2\/comments?post=179"}],"version-history":[{"count":0,"href":"http:\/\/www.jiandaima.com\/blog\/wp-json\/wp\/v2\/posts\/179\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.jiandaima.com\/blog\/wp-json\/wp\/v2\/media?parent=179"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.jiandaima.com\/blog\/wp-json\/wp\/v2\/categories?post=179"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.jiandaima.com\/blog\/wp-json\/wp\/v2\/tags?post=179"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}