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.2alpha3-py3.4-linux-i686.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12e39f298782f1e61d06c341c4eb97db3093c7bc6693241113cbbf8fee8c2f86 |
|
MD5 | 25f4456c17a223136f1b13ff84022b4a |
|
BLAKE2b-256 | 34a3836291f177f11a4194c648b783d4eea5503a6b58ed3c051795ac69d18284 |
Hashes for DeepCL-8.3.2alpha3-py2.7-linux-x86_64.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18817d1e8aae68be2625c486e222058ac80e59572dfc3f8a4cd60a961bfab6af |
|
MD5 | ec3b0c615cfd1da02867cdcf5340ed34 |
|
BLAKE2b-256 | 75af7d365ca24a26e4e7b369ff5a92caacb8ec77be01072fd2eccd79a9c11129 |
Hashes for DeepCL-8.3.2alpha3-py2.7-linux-i686.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | bde45b63aaf27c390bdd8778609f9f537b047bbd9263ce222fd2ce4b799ce59d |
|
MD5 | 769c0dd359ff774d7fcfe7e1a693e102 |
|
BLAKE2b-256 | bb7404da4c1a1f7f77cf630a10cfb78752c9e95851de8959f68a74e29dde6c42 |