This article shows how to implement a Deep Learning program on your computer. Since the purpose is image recognition, we will implement a practical scale convolutional neural network (CNN).
A Linux machine is recommended as a high performance GPU is essential. The main choices for Linux machines are:
Put CentOS or Ubuntu in any of the above and use it.
To use the GPU, you need to install CUDA and cuDNN. For Ubuntu 14.04, refer to http://qiita.com/shinya_ohtani/items/f374ed0dd51737087369.
Install a distribution called Anaconda on your Linux machine, which contains Python itself and various modules. The procedure is almost OK as described in http://morimori2008.web.fc2.com/contents/PCprograming/python/pythonAnaconda.html. However, we will install it as a local user here.
Next, make the library for building Deep Learning models available in Python. I chose Theano here. From the terminal
$ pip install theano
To install Theano.
From the terminal
$ jupyter notebook
By typing, the Python development environment will be launched. We will implement the code on this. For implementation, http://deeplearning.net/tutorial will be helpful. The CNN source code is also available on this site and can be used for image recognition as it is.
At this point, you have implemented CNN.
After that, collect the input data to be actually used and prepare the input / output format for that data to complete the image recognition program.
Recommended Posts