Use the VM
The easiest way to get going is to install a VM I’ve prepared that is preinstalled.
- Download the VM from my mega.nz share (one drive mirror)
- Use Hyper V Manager in Windows to Import the image contained in the zip.
- Login as username “student” password “password”
- Use a Terminal and type the command ifconfig to see what the VM’s IP Address is.
- Use Windows Remote desktop to connect to this VM.
- Skip down to the Test Install Section
Or Install it on Windows 10 or Linux Ubuntu 16.04
NOTE: Other versions of these OS’s may work, I have not tested any beyond these two.
PRE LAB (Windows) - CNTK Installer
PRE LAB (Linux) - CNTK Installer
Install GraphViz (Windows)
- Install https://graphviz.gitlab.io/_pages/Download/Download_windows.html
- Download the MSI Version for an easy install
- Add the install folder of graphviz to your system path, by default this is C:\Program Files (x86)\Graphviz2.38\bin (Video Tutorial)
Install GraphViz (Linux)
- sudo apt-get install graphviz
Configure Keras to use CNTK
- At the prompt type the command python -i -c “import keras” (This results in the error “ImportError: No module named ‘tensorflow'” because by default it does not use CNTK)
- Modify the “keras.json” file under %USERPROFILE%/.keras (Windows) ||| ~\.keras (linux)
- Set the “backend” field to “cntk”.
- If you do not have a keras.json, that means you have not run Keras on this machine, Go back to step 1
Extra Credit – Useful info to read while you wait
Spyder IDE documentation
Beginner Tips for Python