How to install Microsoft Cognitive Toolkit (CNTK) on Windows

Posted on

The Microsoft Cognitive Toolkit (CNTK) is an open-source toolkit for commercial-grade distributed deep learning which supports 64-bit Linux or 64-bit Windows operating systems.It is used with Jupyter Notebook server to set up a local environment for deep learning.

In my previous article how to install anaconda on windows , I demostrated how to install anaconda for machine learning.Today we are going to  install CNTK version 2.0 on python 3.6. and run a Jupyter Notebook server.

1. Open the Anaconda Command Prompt.

Use this documentation to learn more on getting started with Anaconda or just search for Anaconda prompt on your pc apps.

2. Enter the following command.
pip install <url>
Your <url> is the corresponding wheel (.whl) file to install CNTK which
You must select the correct installation from the official website here according to your needs.For example,this is for CNTK version 2 on python 3.6.

3. Upgrade pip if your is out-dated using the command.

Python –m pip install –upgrade pip

How to install Microsoft Cognitive Toolkit (CNTK) on Windows

How to run Jupyter notebook server

  1. Open Anaconda command prompt
  2. Navigate to the local directory that you want to be the root folder for the Jupyter notebook using the ‘cd ‘ command
  3. Enter the following command: Jupyter notebook

The jupyter  notebook server is now running on the broswer. You can open and run any notebook (.ipynb) file or create a new notebook.

To create a new notebook, click New and select a language.

Gravatar Image
Justina Kageni is an information scientist with passion for Information Technology.She is on a mission to share her knowledge and skills.

Leave a Reply

Your email address will not be published. Required fields are marked *