Skip to content

Instantly share code, notes, and snippets.

@eiichi-worker
Last active April 26, 2017 01:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eiichi-worker/9a263e0ef242f8b78c2314fa70d0cd21 to your computer and use it in GitHub Desktop.
Save eiichi-worker/9a263e0ef242f8b78c2314fa70d0cd21 to your computer and use it in GitHub Desktop.
メモ CNTK

Pythonがいる
ライブラリが面倒なのでAnacondaにする
https://www.continuum.io/downloads

https://github.com/Microsoft/CNTK/releases/tag/v1.7.2

「C:\Tools\cntk」に解凍する

「C:\Tools\cntk\cntk」をPathに追加する

コマンドプロンプトを起動し「cntk」を打ってみる

xxxxx> cntk
-------------------------------------------------------------------
Build info:

                Built time: Oct  1 2016 14:16:55
                Last modified date: Sat Oct  1 14:15:20 2016
                Build type: Release
                Build target: CPU-only
                With 1bit-SGD: no
                Math lib: mkl
                Build Branch: HEAD
                Build SHA1: d1ad5fcc9b71c9b6122623a2a0c3d126a64cbe94
                Built by svcphil on DPHAIM-25
                Build Path: c:\jenkins\workspace\CNTK-Build-Windows\Source\CNTK\
-------------------------------------------------------------------
No command-line argument given.
-------------------------------------------------------------------
Usage: cntk configFile=yourConfigFile
For detailed information please consult the CNTK book
"An Introduction to Computational Networks and the Computational Network Toolkit"
-------------------------------------------------------------------

こんな感じになったらOK

MNISTやってみる

MNISTデータを取得

cd [設置場所までのパス]\cntk\Examples\Image\MNIST\AdditionalFiles python .\mnist_convert_python3.py

隠れ層 1のサンプル実行

cntk configFile=../Config/01_OneHidden.cntk

メモ

そもそもディープラーニングってなんだ、、、

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment