This post is a continuation and somewhat a revision of “Installing MXNet on Windows 10”
MXNet is evolving and recently there was a release of version 0.12
I want to share the upgrade process that worked for me on my Windows 10 machine. You can use this tutorial as installation tutorial of MXNet 0.12
First, we will need to create a folder somewhere called mxnet-0.12, I’ve placed mine on the D drive, so I have
After we have a folder for the installation, lets go to https://github.com/yajiedesign/mxnet/releases and download two packages:
- VC14 – vc14 v2 base package
- GPU ( or CPU) pre-built package – at the moment of writing it was 20171127_mxnet_x64_vc14_gpu_cu80.7z
Unpack VC14 v2 first in the mxnet-0.12 folder and after that do the same with the GPU archive.
If you are using GPU version of MXNet, you will need to add CUDAlibraries to the folder called 3rd party.
You can register at NVIDIA web-site and get required cuDNN library for free. You will need to use
CUDA 8 / cuDNN v5.1 Library for Windows 10
The file should be placed into:
Now in the root of the mxnet-0.12 folder look for a file called
setupenv.cmd and run it as Administrator.
This execution of the
.cmd file should adjust the
PATH, and add
MXNET_HOME environment variable.
MXNET_HOME should just point to the location of the mxnet-0.12 folder.
When all above is done, activate either Python 3.6 or Python 2.7 64-bit environment of your choice – Anaconda, virtualenv or Python binary native to the operating system.
Usually you do that by issuing command
source activate [environment name] In my case, it is just
source activate mxnet which I’ve created earlier using Anaconda Python 3.6 64bit installation.
Once the environment is active, go to the
MXNET_HOME\python and run
python setup.py install
It should upgrade or install your MXNet package. Enjoy!