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.2alpha4-py3.4-linux-i686.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40a5d675dd145db0fd1d6f66ed6d3b0bceea7c54164753cb4148ddfc0634f58c |
|
MD5 | b0b7618bfe523d2b13a78a7ed78d7037 |
|
BLAKE2b-256 | 3d65e6133ffdea4c0be306c7d21fdee2083686f878b1e5d61ed121acdee53265 |
Hashes for DeepCL-8.3.2alpha4-py2.7-linux-x86_64.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | af4749f2c091e88b666293bdcd65df5ed6c0afb774cbd7a101385f7b15f8000d |
|
MD5 | 7154abfa0baf4d8feb7a77a103122ae8 |
|
BLAKE2b-256 | 42c785228a0b9ecf13c3e71bcf155ee40f3d97cabb0da382a1dd7aa0f51ad2e2 |
Hashes for DeepCL-8.3.2alpha4-py2.7-linux-i686.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | d272009a285541940da09dffea412badf387cccbc9dea42a8b9fd8b2bcff42a3 |
|
MD5 | ce17d8b01906de195ad279af5a69a312 |
|
BLAKE2b-256 | a0120318b654933d13050c2069c653e0411c03a3058a36649fbde895be0b68a4 |