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
Changes
25 July 2016:
added RandomSingleton class, to set the seed for weights initialization
added xor.py example
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.5.1-py3.4-win-amd64.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2386521fdd05494510b37d4382a0957e717ce217847b4fe91e21dfac095aa70 |
|
MD5 | 428ecad1bf804ea659855344101c1cb7 |
|
BLAKE2b-256 | 1d377806d81780921ea2dca5b0236220e22004781549172758c94a4d26367148 |
Hashes for DeepCL-8.5.1-py3.4-linux-x86_64.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8e3cacce754b5950a2e634da450cbeb763e9755d3a51dda312d3088eb446c05 |
|
MD5 | e9194f24b888fdc1d23514e293c755cb |
|
BLAKE2b-256 | a75b380d289a6e2d2531773fa7dd468baf60c10e709b86b98bf26ecbd1a56252 |
Hashes for DeepCL-8.5.1-py3.4-linux-i686.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | a99b1d7817da0deb04656261ad48a24344dc7ba4a9ae0b3e87819112c92e1cc5 |
|
MD5 | 61bb4dadde5683122a22d07805e2350d |
|
BLAKE2b-256 | d4f90b113eeb66be101e4bfeb912b4bc0aa8f05ce5fe8b83523d4603adb62ccd |
Hashes for DeepCL-8.5.1-py2.7-win-amd64.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9fcf711b91abddb60e8e5038a0e14257cafef8d8262ba559667bf05b8bb6543 |
|
MD5 | 1ef98ac59cf4fb55ab0247d0b5a50db8 |
|
BLAKE2b-256 | 898481895352957690c5ecd37636ea30a725a575be98bb3ef8b986443b8e2f0a |
Hashes for DeepCL-8.5.1-py2.7-linux-x86_64.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9de079fe5142fd2f394ac5c1a41f34bae8d6bce6f10590659cc6490f3a8a664 |
|
MD5 | 782e39abbd85b33f2d8357e6ef52630a |
|
BLAKE2b-256 | ef332245b12962599d886631dc683e5d82db66c7835e0d2123642748e6b5174e |
Hashes for DeepCL-8.5.1-py2.7-linux-i686.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | a57ba066db41bf979bca0c305c01f639a14b6cfd8f3ff542184517b756b359af |
|
MD5 | d2544a45d4565a872a21f44f8e9e9698 |
|
BLAKE2b-256 | 7f72ba87b4467fa411bc42362fcab9bfae40aa779784ff120e833030a44949af |