{"id":173,"date":"2016-12-29T17:12:18","date_gmt":"2016-12-29T14:12:18","guid":{"rendered":"http:\/\/digiratory.ru\/?p=173"},"modified":"2026-10-22T23:16:57","modified_gmt":"2026-10-22T20:16:57","slug":"ustanovka-microsoft-cognitive-toolkit-cntk-dlya-windows","status":"publish","type":"post","link":"https:\/\/digiratory.ru\/?p=173","title":{"rendered":"\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 Microsoft Cognitive Toolkit  (CNTK) \u0434\u043b\u044f Windows"},"content":{"rendered":"<p>\u0420\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443 Microsoft Cognitive Toolkit (CNTK) \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u0430, \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430\u043c\u0438. \u041e\u043d \u043f\u0440\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u043e \u0434\u043b\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u043d\u0430 \u043e\u0434\u0438\u043d \u041f\u041a . Microsoft Cognitive Toolkit \u043f\u0440\u043e\u0432\u0435\u0440\u0435\u043d \u043d\u0430 Windows, 8.1, Windows 10 \u0438 Windows Server 2012 R2.<\/p>\n<p><!--more--><\/p>\n<h1>\u0428\u0430\u0433 1 : \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0441\u043e\u043f\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0433\u043e \u041f\u041e<\/h1>\n<p>\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0435 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0439 \u0432\u0430\u0448\u0435\u0439 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u043f\u0430\u043a\u0435\u0442 \u0441\u043e <a href=\"https:\/\/github.com\/Microsoft\/CNTK\/releases\">\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u0440\u0435\u043b\u0438\u0437\u043e\u0432 CNTK<\/a>. \u041e\u043f\u0438\u0441\u0430\u043d\u043d\u0430\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0442\u043e\u043b\u044c\u043a\u043e \u0441 \u0434\u0432\u043e\u0438\u0447\u043d\u044b\u043c \u043f\u0430\u043a\u0435\u0442\u043e\u043c. \u0418\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043a\u043e\u0434 \u043f\u0430\u043a\u0435\u0442\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0442\u0430\u043a\u0436\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 \u0440\u0435\u043b\u0438\u0437\u043e\u0432 CNTK \u041d\u0415 \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f.<\/p>\n<p><a href=\"http:\/\/digiratory.ru\/wp-content\/uploads\/11.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-174 aligncenter\" src=\"http:\/\/digiratory.ru\/wp-content\/uploads\/11-300x239.png\" alt=\"\" width=\"300\" height=\"239\" \/><\/a><\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 \u0432\u044b\u0431\u043e\u0440\u0430 \u0432\u0435\u0440\u0441\u0438\u0438,, \u0432\u044b \u043f\u0435\u0440\u0435\u0439\u0434\u0435\u0442\u0435 \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u0441 \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u043e\u043d\u043d\u044b\u043c\u0438 \u0441\u043e\u0433\u043b\u0430\u0448\u0435\u043d\u0438\u044f\u043c\u0438:<\/p>\n<p><a href=\"http:\/\/digiratory.ru\/wp-content\/uploads\/2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-176\" src=\"http:\/\/digiratory.ru\/wp-content\/uploads\/2-300x160.png\" alt=\"\" width=\"300\" height=\"160\" \/><\/a><\/p>\n<p>\u041f\u043e \u0436\u0435\u043b\u0430\u043d\u0438\u044e \u0447\u0438\u0442\u0430\u0435\u043c \u0442\u0435\u043a\u0441\u0442\u044b \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0439 \u0438 \u0441\u043e\u0433\u043b\u0430\u0448\u0430\u0435\u043c\u0441\u044f \u2014 \u043d\u0430\u0447\u043d\u0435\u0442\u0441\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430. \u041e\u0431\u0435\u043c \u043f\u0430\u043a\u0435\u0442\u0430 \u043d\u0435 \u0431\u043e\u043b\u044c\u0448\u043e\u0439: \u043e\u043a\u043e\u043b\u043e 150 \u041c\u0431 \u0434\u043b\u044f CPU \u0432\u0435\u0440\u0441\u0438\u0438 \u0438 460 \u041c\u0431 \u0434\u043b\u044f GPU.<\/p>\n<p>\u0414\u0430\u043b\u0435\u0435 \u0440\u0430\u0441\u043f\u0430\u043a\u043e\u0432\u044b\u0432\u0430\u0435\u043c \u043f\u0430\u043a\u0435\u0442 (\u044f \u0440\u0430\u0441\u043f\u0430\u043a\u043e\u0432\u0430\u043b \u0432 D:\\cntk). \u0415\u0441\u043b\u0438 \u0432\u044b \u0440\u0430\u0441\u043f\u0430\u043a\u043e\u0432\u0430\u043b\u0438 \u043a\u0430\u043a-\u0442\u043e \u043f\u043e \u0434\u0440\u0443\u0433\u043e\u043c\u0443, \u0443\u0447\u0438\u0442\u044b\u0432\u0430\u0439\u0442\u0435 \u044d\u0442\u043e \u043f\u0440\u0438 \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0438\u0445 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f\u0445.<\/p>\n<p>\u0414\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b CNTK \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u043f\u0430\u043a\u0435\u0442\u044b:<\/p>\n<ul>\n<li>The Visual C++ Redistributable Package for Visual Studio 2013<\/li>\n<li>The Visual C++ Redistributable Package for Visual Studio 2012<\/li>\n<li>Microsoft MPI Version 7 (7.0.12437.6)<\/li>\n<\/ul>\n<p>\u041e\u043d\u0438 \u043c\u043e\u0433\u0443 \u0431\u044b\u0442\u044c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u044b \u0438\u0437 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e:<\/p>\n<ul>\n<li>D:\\cntk\\prerequisites\\VS2013\\vcredist_x64.exe<\/li>\n<li>D:\\cntk\\prerequisites\\VS2012\\vcredist_x64.exe<\/li>\n<li>D:\\cntk\\prerequisites\\MSMpiSetup.exe<\/li>\n<\/ul>\n<p>\u0415\u0441\u043b\u0438 \u0432\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0435 GPU (nVidia), \u0443\u0431\u0435\u0434\u0438\u0442\u0435\u0441\u044c \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u0430 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u044b \u0434\u043e <a href=\"http:\/\/www.nvidia.com\/Download\/index.aspx?lang=en-us\">\u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0439 \u0432\u0435\u0440\u0441\u0438\u0438<\/a>.<\/p>\n<h1>\u0428\u0430\u0433 2 : \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 Python<\/h1>\n<p>\u0415\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u041d\u0415 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0430 Anaconda: \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0435 <a href=\"https:\/\/www.continuum.io\/downloads\">Anaconda Python \u0434\u043b\u044f Windows<\/a>. \u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u044c \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u0439 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438, \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u043d\u043e\u0439 \u0432 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 (InstallationType = JustMe; AddToPath = \u041d\u0435\u0442, RegisterPython = \u041d\u0435\u0442). \u0412 \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0435\u043c \u043c\u044b \u043f\u0440\u0435\u0434\u043f\u043e\u043b\u0430\u0433\u0430\u0435\u043c , \u0447\u0442\u043e \u0432\u044b \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0438 Anaconda Python \u0432 C:\\Program Files\\Anaconda3. \u0415\u0441\u043b\u0438 \u0432\u044b \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0438 \u0435\u0435 \u0432 \u0434\u0440\u0443\u0433\u043e\u043c \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0435, \u043e\u0442\u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0443\u0439\u0442\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b, \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u043d\u044b\u0435 \u043d\u0438\u0436\u0435.<\/p>\n<p>\u0415\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0443\u0436\u0435 \u0435\u0441\u0442\u044c \u0441\u0440\u0435\u0434\u0430 CNTK Python (\u043d\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f cntk-py34), \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043e\u0431\u043d\u043e\u0432\u0438\u0442\u044c \u0435\u0435 \u0434\u043e \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0445 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0445 \u043f\u0430\u043a\u0435\u0442\u043e\u0432 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u043a\u043e\u043c\u0430\u043d\u0434:<\/p>\n<pre class=\"lang:sh decode:true\">cd C:\\Program Files\\Anaconda3\\scripts\nconda env update --file d:\\cntk\\scripts\\install\\windows\\conda-windows-cntk-py34-environment.yml --name cntk-py34\nactivate \"C:\\Program Files\\Anaconda3\\envs\\cntk-py34\"<\/pre>\n<p>\u0414\u0430\u043b\u0435\u0435 \u0432 Anaconda, \u0441\u043e\u0437\u0434\u0430\u0442\u044c conda \u0441\u0440\u0435\u0434\u0443 (\u043d\u0430\u0437\u044b\u0432\u0430\u0435\u043c\u0443\u044e cntk-py34) \u0438 \u0430\u043a\u0442\u0438\u0432\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0435\u0435, \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0438\u0437 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u043e\u0431\u043e\u043b\u043e\u0447\u043a\u0438 Windows:<\/p>\n<pre class=\"lang:sh decode:true \">cd C:\\Program Files\\Anaconda3\\scripts\nconda env create --file d:\\cntk\\scripts\\install\\windows\\conda-windows-cntk-py34-environment.yml\nactivate \"C:\\Program Files\\Anaconda3\\envs\\cntk-py34\"<\/pre>\n<p><a href=\"http:\/\/digiratory.ru\/wp-content\/uploads\/3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-177\" src=\"http:\/\/digiratory.ru\/wp-content\/uploads\/3-300x163.png\" alt=\"\" width=\"300\" height=\"163\" \/><\/a><\/p>\n<h1>\u0428\u0430\u0433 3 : \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0441\u0440\u0435\u0434\u044b Python CNTK<\/h1>\n<p>\u0421 \u0430\u043a\u0442\u0438\u0432\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0439 \u0441\u0440\u0435\u0434\u044b conda(\u044d\u0442\u0430\u043f 3) \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u0435:<\/p>\n<pre class=\"lang:sh decode:true \">pip install d:\\cntk\\cntk\\python\\cntk-2.0.beta6.0-cp34-cp34m-win_amd64.whl<\/pre>\n<p>\u0412 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043c\u043e\u0436\u0435\u0442 \u0432\u043e\u0437\u043d\u0438\u043a\u043d\u0443\u0442\u044c \u043e\u0448\u0438\u0431\u043a\u0430:<\/p>\n<blockquote><p>cntk-2.0.beta6.0-cp34-cp34m-win_amd64.whl is not a supported wheel on this platform<\/p><\/blockquote>\n<p>\u041f\u0440\u0438\u0447\u0438\u043d\u0430 \u044d\u0442\u043e\u0439 \u043e\u0448\u0438\u0431\u043a\u0438 \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e pip \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u043d \u0432 PATH, \u0434\u043b\u044f \u0435\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435\u0441\u044c \u043f\u0440\u044f\u043c\u044b\u043c \u0432\u044b\u0437\u043e\u0432\u043e\u043c pip \u0438\u0437 \u043d\u0443\u0436\u043d\u043e\u0439 \u0441\u0440\u0435\u0434\u044b anaconda:<\/p>\n<pre class=\"lang:sh decode:true \">\"C:\\Program Files\\Anaconda3\\envs\\cntk-py34\\Scripts\\pip.exe\" install d:\\cntk\\cntk\\python\\cntk-2.0.beta7.0-cp34-cp34m-win_amd64.whl<\/pre>\n<p>\u041e\u043f\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e \u043c\u043e\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043f\u0443\u0442\u044c D:\\cntk\\cntk \u0432 PATH.<br \/>\n\u0421\u0430\u043c\u044b\u0439 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u044d\u0442\u043e \u041f\u0430\u043d\u0435\u043b\u044c \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f-&gt;\u0421\u0438\u0441\u0442\u0435\u043c\u0430-&gt;\u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b-&gt;\u041f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u0441\u0440\u0435\u0434\u044b<\/p>\n<p><a href=\"http:\/\/digiratory.ru\/wp-content\/uploads\/4.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-179\" src=\"http:\/\/digiratory.ru\/wp-content\/uploads\/4-300x194.png\" alt=\"\" width=\"300\" height=\"194\" \/><\/a><\/p>\n<p>\u0412\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u0435 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0443 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0430.<\/p>\n<h1>\u0428\u0430\u0433 4 : \u041f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 (Python)<\/h1>\n<p>\u041d\u0430 \u044d\u0442\u043e\u043c \u044d\u0442\u0430\u043f\u0435 \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u0448\u0430\u0433\u0438 \u0434\u043b\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u0443\u0441\u043f\u0435\u0448\u043d\u043e\u0439 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e API Cognitive Toolkit Python.<\/p>\n<p>\u041f\u0440\u0435\u0436\u0434\u0435 \u0432\u0441\u0435\u0433\u043e, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0430\u043a\u0442\u0438\u0432\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0440\u0435\u0434\u0443 CNTK, \u043e\u0442\u043a\u0440\u044b\u0432 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u0435 \u043e\u043a\u043d\u043e \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438 Windows (\u043d\u0435 Powershell) \u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c:<\/p>\n<pre class=\"lang:sh decode:true \">cd C:\\Program Files\\Anaconda3\\scripts\nactivate \"C:\\Program Files\\Anaconda3\\envs\\cntk-py34\"<\/pre>\n<p><a href=\"http:\/\/digiratory.ru\/wp-content\/uploads\/5.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-180\" src=\"http:\/\/digiratory.ru\/wp-content\/uploads\/5-300x108.png\" alt=\"\" width=\"300\" height=\"108\" \/><\/a><\/p>\n<p><em>\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435: \u0432\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u0434\u0435\u043b\u0430\u0442\u044c \u044d\u0442\u043e \u043a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437, \u043a\u043e\u0433\u0434\u0430 \u0432\u044b \u043f\u043b\u0430\u043d\u0438\u0440\u0443\u0435\u0442\u0435 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c CNTK \u0432 Python.<\/em><\/p>\n<p>\u042d\u0442\u043e\u0442 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0439 \u0442\u0430\u043a\u0436\u0435 \u0434\u043e\u0431\u0430\u0432\u0438\u0442 \u043f\u0443\u0442\u044c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 CNTK \u043a \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 \u0441\u0440\u0435\u0434\u044b PATH<\/p>\n<h2>\u0417\u0430\u043f\u0443\u0441\u043a \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432<\/h2>\n<p>\u041f\u0435\u0440\u0435\u0439\u0434\u0438\u0442\u0435 \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433 Tutorials\\NumpyInterop \u0438 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0435 \u043f\u0440\u0438\u043c\u0435\u0440 Feedforward:<\/p>\n<pre class=\"lang:default decode:true \">D:\ncd D:\\cntk\\Tutorials\\NumpyInterop\npython FeedForwardNet.py<\/pre>\n<p>\u0412\u044b \u0443\u0432\u0438\u0434\u0438\u0442\u0435 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0432\u044b\u0432\u043e\u0434 \u043d\u0430 \u043a\u043e\u043d\u0441\u043e\u043b\u044c:<\/p>\n<pre class=\"lang:sh decode:true \">Minibatch[   1- 128]: loss = 0.564038 * 3200\nMinibatch[ 129- 256]: loss = 0.308571 * 3200\nMinibatch[ 257- 384]: loss = 0.295577 * 3200\nMinibatch[ 385- 512]: loss = 0.270765 * 3200\nMinibatch[ 513- 640]: loss = 0.252143 * 3200\nMinibatch[ 641- 768]: loss = 0.234520 * 3200\nMinibatch[ 769- 896]: loss = 0.231275 * 3200\nMinibatch[ 897-1024]: loss = 0.215522 * 3200\nFinished Epoch [1]: loss = 0.296552 * 25600\n\nerror rate on an unseen minibatch 0.040000<\/pre>\n<p><a href=\"http:\/\/digiratory.ru\/wp-content\/uploads\/6.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-181\" src=\"http:\/\/digiratory.ru\/wp-content\/uploads\/6-300x108.png\" alt=\"\" width=\"300\" height=\"108\" \/><\/a><\/p>\n<h2>\u0417\u0430\u043f\u0443\u0441\u043a Jupyter notebooks<\/h2>\n<p>CNTK \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0443\u0447\u0435\u0431\u043d\u044b\u0445 \u043f\u043e\u0441\u043e\u0431\u0438\u0439, \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u043d\u0430 Jupyter notebooks. \u0427\u0442\u043e\u0431\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0438\u0445, \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u0435 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b:<\/p>\n<pre class=\"lang:sh decode:true \">cd d:\\cntk\\Tutorials\njupyter notebook<\/pre>\n<p>\u042d\u0442\u043e \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442 \u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u0441 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u043c\u0438 Jupyter notebooks.<\/p>\n<p><a href=\"http:\/\/digiratory.ru\/wp-content\/uploads\/7.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-182\" src=\"http:\/\/digiratory.ru\/wp-content\/uploads\/7-300x172.png\" alt=\"\" width=\"300\" height=\"172\" \/><\/a><\/p>\n<h1>\u0428\u0430\u0433 5 : \u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a (BrainScript)<\/h1>\n<p>\u0417\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0435 \u043e\u0431\u044b\u0447\u043d\u0443\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u0443\u044e \u043e\u0431\u043e\u043b\u043e\u0447\u043a\u0443 Windows, \u0438 \u0443\u0431\u0435\u0434\u0438\u0442\u0435\u0441\u044c, \u0447\u0442\u043e \u0434\u0432\u043e\u0438\u0447\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b CNTK (D:\\cntk\\cntk;) \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u044b \u0432 \u0432\u0430\u0448\u0435\u043c PATH<\/p>\n<pre class=\"lang:sh decode:true\">echo %PATH%<\/pre>\n<p>\u0415\u0441\u043b\u0438 \u043e\u043d\u0438 \u043d\u0435 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u044b, \u0442\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u0443:<\/p>\n<pre class=\"lang:sh decode:true \">set PATH=c:\\local\\cntk\\cntk;%PATH%<\/pre>\n<p>\u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0432\u0430\u0448\u0443 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443:<\/p>\n<pre class=\"lang:sh decode:true\">d:\ncd d:\\CNTK\\Tutorials\\HelloWorld-LogisticRegression\ncntk configFile=lr_bs.cntk makeMode=false command=Train<\/pre>\n<p>\u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0435 \u0441\u0442\u0440\u043e\u043a\u0438 \u0432\u044b\u0432\u043e\u0434\u0430 CNTK \u043d\u0430 \u043a\u043e\u043d\u0441\u043e\u043b\u0438 \u0434\u043e\u043b\u0436\u043d\u0430 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0442\u0430\u043a:<\/p>\n<p><a href=\"http:\/\/digiratory.ru\/wp-content\/uploads\/8.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-183\" src=\"http:\/\/digiratory.ru\/wp-content\/uploads\/8-300x84.png\" alt=\"\" width=\"300\" height=\"84\" \/><\/a><\/p>\n<p>\u0415\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0435\u0441\u0442\u044c GPU NVidia \u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0438 \u0441\u0431\u043e\u0440\u043a\u0443 \u0441 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u043e\u0439 GPU, \u0432\u044b \u0442\u0430\u043a\u0436\u0435 \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u044d\u0442\u0443 \u043a\u043e\u043c\u0430\u043d\u0434\u0443:<\/p>\n<pre class=\"lang:sh decode:true \">cntk configFile=lr_bs.cntk makeMode=false command=Train deviceId=auto<\/pre>\n<p>\u0414\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c, \u0447\u0442\u043e GPU \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f, \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e \u0441\u0442\u0440\u043e\u043a\u0443 \u0432 \u0432\u0430\u0448\u0435\u043c \u0432\u044b\u0432\u043e\u0434\u0435:<\/p>\n<pre class=\"lang:sh decode:true \">Model has 9 nodes. Using GPU 0.<\/pre>\n<h1>\u0412\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b<\/h1>\n<h2>cntk-2.0.beta6.0-cp34-cp34m-win_amd64.whl is not a supported wheel on this platform<\/h2>\n<p>\u041f\u0440\u0438\u0447\u0438\u043d\u0430 \u044d\u0442\u043e\u0439 \u043e\u0448\u0438\u0431\u043a\u0438 \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e pip (\u0414\u043b\u044f \u0434\u0440\u0443\u0433\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 Python) \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u043d \u0432 PATH, \u0434\u043b\u044f \u0435\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435\u0441\u044c \u043f\u0440\u044f\u043c\u044b\u043c \u0432\u044b\u0437\u043e\u0432\u043e\u043c pip \u0438\u0437 \u043d\u0443\u0436\u043d\u043e\u0439 \u0441\u0440\u0435\u0434\u044b anaconda:<\/p>\n<pre class=\"lang:sh decode:true\">\"C:\\Program Files\\Anaconda3\\envs\\cntk-py34\\Scripts\\pip.exe\" install d:\\cntk\\cntk\\python\\cntk-2.0.beta6.0-cp34-cp34m-win_amd64.whl<\/pre>\n<h1>\u0418\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u0438<\/h1>\n<ul>\n<li><a href=\"https:\/\/github.com\/Microsoft\/CNTK\/wiki\/Setup-Windows-Binary-Manual\">\u041e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0435 \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u043e<\/a><\/li>\n<li><a href=\"http:\/\/san-tit.blogspot.com\/2016\/12\/microsoft-cognitive-toolkit-cntk-windows.html\">\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 Microsoft Cognitive Toolkit (CNTK) \u0434\u043b\u044f Windows. \u2014 http:\/\/san-tit.blogspot.com\/<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u0420\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443 Microsoft Cognitive Toolkit (CNTK) \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u0430, \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430\u043c\u0438. \u041e\u043d \u043f\u0440\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u043e \u0434\u043b\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u043d\u0430 \u043e\u0434\u0438\u043d \u041f\u041a . Microsoft Cognitive Toolkit \u043f\u0440\u043e\u0432\u0435\u0440\u0435\u043d \u043d\u0430 Windows, 8.1, Windows 10 \u0438 Windows Server 2012 R2.<\/p>\n","protected":false},"author":1,"featured_media":185,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[17],"class_list":["post-173","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-intelligent-systems","tag-cntk"],"_links":{"self":[{"href":"https:\/\/digiratory.ru\/index.php?rest_route=\/wp\/v2\/posts\/173","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/digiratory.ru\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/digiratory.ru\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/digiratory.ru\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/digiratory.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=173"}],"version-history":[{"count":1,"href":"https:\/\/digiratory.ru\/index.php?rest_route=\/wp\/v2\/posts\/173\/revisions"}],"predecessor-version":[{"id":2140,"href":"https:\/\/digiratory.ru\/index.php?rest_route=\/wp\/v2\/posts\/173\/revisions\/2140"}],"wp:attachment":[{"href":"https:\/\/digiratory.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=173"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/digiratory.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=173"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/digiratory.ru\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=173"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}