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.2a3-py3.4-win-amd64.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e920c36f5c5e1f032f192c1517ceb11bd1bb299c6ae8f397203b24c7b6929b4 |
|
MD5 | 0094c4fcf2dd094be16349f6b2291422 |
|
BLAKE2b-256 | bcc003eefc6beead357b1a30da0057c0165a959cbe9f62583ee204128a4e9b43 |
Hashes for DeepCL-8.3.2a3-py3.4-linux-x86_64.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8faee54c6a6e6656e490f3a4adc0d8a05dda0fbbab7252d7a1143eb41db52493 |
|
MD5 | 3b5bbca48a27867cb495ab0dbad3baf4 |
|
BLAKE2b-256 | f8b61d651eeb16c9efdf05591bd3bb7a761eb3aab0358fd6147079cf32eb52c6 |
Hashes for DeepCL-8.3.2a3-py2.7-win-amd64.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22b49f3963bf6b18a508b84c5489ae04048eb8ed07b4be3bca7364c79a0eac3a |
|
MD5 | 81ba3b184484ebdd970e99036d5741cd |
|
BLAKE2b-256 | 09622750c238a73bc89771fd8fb9776bb0c3b0e091b15bf5aebf0baa8c5e61af |