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.3-py3.4-win-amd64.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | b514111108f89f705a8b53334b552b04780d9504efe86951d5007dda1403af70 |
|
MD5 | 4f602aadfcc5fc9d39d18bf8744e1784 |
|
BLAKE2b-256 | d5b4702607856e7ee8943cce3150ab348be28a7073624a9ef1379751f7efd66d |
Hashes for DeepCL-8.5.3-py3.4-linux-x86_64.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c56cbb803bedb7cc8a425d797157d0a61d086448270c9eca66d010a15484f43 |
|
MD5 | e97d08338252d8a9e421faafd0e21b1b |
|
BLAKE2b-256 | 5c06874834b5049ed887657ad9aeb36299220c7df7f2909dc4ab1b408011238a |
Hashes for DeepCL-8.5.3-py3.4-linux-i686.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14eaa26793b80bd3a5c9605be9c51a31225149cbc82f5b370dad9289a7161c3b |
|
MD5 | 9ecccc30b6933dcbc8b31b478e7c35d9 |
|
BLAKE2b-256 | 42480c30553e5ad09227d2c54b9a5b68c2a93f527daa7c0b69dddf5a85dbac45 |
Hashes for DeepCL-8.5.3-py2.7-win-amd64.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2a117cab3811095f0c4508f27c90327f851ac0768fd106b5750ab4320566364 |
|
MD5 | eb9b2077d0b5ae6c4634daa561a3e3f3 |
|
BLAKE2b-256 | 7a04359eeb4a962edb2cba61207cd8fddda40d3ccd6465882a27ec44da551dca |
Hashes for DeepCL-8.5.3-py2.7-linux-x86_64.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 382f1477a95e00cd7b1cbcb11016d446d29b1db384a124e191e4247272947882 |
|
MD5 | 6ea3ec8171cade404fa378befad2b103 |
|
BLAKE2b-256 | db8fdec5b06f8fd4f3322e80829aedeb098d0cdefd1ce4cf5808bb54d4bb4280 |
Hashes for DeepCL-8.5.3-py2.7-linux-i686.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65c34b175fa2f5641b6139d8270c9d5e48e826c03cc2cdfc02645523ba89eea5 |
|
MD5 | 2fdc8ca5043dac734f9d22c9fef542b4 |
|
BLAKE2b-256 | ad1f25390896481f9756c74e19da82a818732c0ab44cfab1f74de8928d5da6ca |