python wrapper for DeepCL deep convolutional neural network library for OpenCL
Project description
Python wrapper for DeepCL
Pre-requisites
You must have first installed and activated DeepCL native libraries, see Build.md
To install from pip
pip install --pre --upgrade DeepCL
related pypi page: https://pypi.python.org/pypi/DeepCL
How to use
See test_deepcl.py for an example of:
creating a network, with several layers
loading mnist data
training the network using a higher-level interface (NetLearner)
The same example, using numpy arrays: test_deepcl_numpy.py
For examples of using lower-level entrypoints, see test_lowlevel.py:
creating layers directly
running epochs and forward/backprop directly
note that you need numpy installed to run this example
For example of using q-learning, see test_qlearning.py.
To install from source
Pre-requisites:
on Windows:
Python 2.7 or Python 3.4
A compiler:
Python 2.7 build: need Visual Studio 2008 for Python 2.7 from Microsoft
Python 3.4 build: need Visual Studio 2010, eg Visual C++ 2010 Express
on linux:
Python 2.7 or Python 3.4
g++, supporting c++0x, eg 4.4 or higher
have first already built the native libraries, see Build.md
have activated the native library installation, ie called dist/bin/activate.sh, or dist/bin/activate.bat
To install:
cd python
python setup.py install
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for DeepCL-8.3.2alpha1-py3.4-linux-i686.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 047c2df457eeded2aebeea77dd0919e68189038dbb166127bdc1c449a1f83465 |
|
MD5 | 9b658a3a96bef87633bda4db813f7efb |
|
BLAKE2b-256 | e75157a731bb8107a25d57f9f901e3aff75ec63e0f9a5494cadef8a2dd540a09 |
Hashes for DeepCL-8.3.2alpha1-py2.7-linux-x86_64.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25d11289abd1ee0dce738bbee678e64aa8cebeab0413d0d19f508557352f6f1d |
|
MD5 | d5793f61242d6d6f2c046c5c777e3761 |
|
BLAKE2b-256 | 74017f786b6d9281179aeeafce60aa861e66381c8b2bea221d8720874dbad58a |
Hashes for DeepCL-8.3.2alpha1-py2.7-linux-i686.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31b94ecae72e012caa84e92e1edb20deaa1f3d46aab6e7bc3b1366e79c9a95df |
|
MD5 | f90fa1ced3875580b8a581e7db40b276 |
|
BLAKE2b-256 | ec1891ba4b33952c203dd1ce82367fb905f3a52efc45be805798c5c245b050e5 |