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.1-py3.4-win-amd64.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1097a144f468bee792f14611f2a764106bd19fc4f9c1fe7b1fd3cd882269524f |
|
MD5 | 0ba8bf7ba155abccc00bcbc70cadea3c |
|
BLAKE2b-256 | c7bddd6e78ea41d7b985ef35defd931d8a503b62c0b862950c277ad04ba8d03d |
Hashes for DeepCL-8.3.1-py3.4-linux-x86_64.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95d8d59961bf21fecafbad11fd520dd4a8e8ffd0d594acdced21a55ff703536e |
|
MD5 | 55b92b2ffe6291608af1e6b385ae61f9 |
|
BLAKE2b-256 | cc537a8d93e64f38fe2723c2942f12119b3fbe5a4cde7f875fd46695973717ac |
Hashes for DeepCL-8.3.1-py3.4-linux-i686.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f367f83fee723f97ea5c645088912da22f4a84633cdad6414373e678fbfc762 |
|
MD5 | 3b88845e5f91bce124113b54309e5da8 |
|
BLAKE2b-256 | 67cc88aea5601e5e15988e6fdaf3a102bd29d10bb994393f425999f71e35519c |
Hashes for DeepCL-8.3.1-py2.7-win-amd64.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36201e9ac367110c59acdb29d20c92f93e5899ae216da74eb8fabb356d7f8a3a |
|
MD5 | b2febde3ea81640a0bc5977a37899487 |
|
BLAKE2b-256 | 027be7203909718dc0806c330bce008e6b5e0e0607d692629722aff1cbe3e15d |
Hashes for DeepCL-8.3.1-py2.7-linux-x86_64.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6944baee12621ea3764746aa2bf7dd6b2d830437547d9e8b4af0c8a43d0541af |
|
MD5 | f4fbde046bc0419be66f199509ead47b |
|
BLAKE2b-256 | 998d62c9b43ea7d1f234ce2f4a29eb78281c8fdebf8bab833972a87b6ce723b7 |
Hashes for DeepCL-8.3.1-py2.7-linux-i686.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 887d65e012b8bc7fd7a956ad73ea9ec56b04c8c1b670bced128fb8dea4c33d7b |
|
MD5 | dc7587eee7f3d105a40595a4b740ba0e |
|
BLAKE2b-256 | 2976997ffc53a330b5182692ba747e277049b99a86dc72f33ffac80efbdda0b8 |