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
File details
Details for the file DeepCL-8.3.2alpha3.tar.gz
.
File metadata
- Download URL: DeepCL-8.3.2alpha3.tar.gz
- Upload date:
- Size: 145.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a1d2f23434dfbe45ccc55d97e6b37b90b3c6a9baa999ee2b304c1b3b01ad079 |
|
MD5 | 0fe1c5ec1c175e7fb6a54c638a69e9ad |
|
BLAKE2b-256 | 5ff957031bfdc4cf19a35121968a625a1cdde03ccefb5a87af936932ad1fb256 |
File details
Details for the file DeepCL-8.3.2alpha3-py3.4-linux-i686.egg
.
File metadata
- Download URL: DeepCL-8.3.2alpha3-py3.4-linux-i686.egg
- Upload date:
- Size: 493.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12e39f298782f1e61d06c341c4eb97db3093c7bc6693241113cbbf8fee8c2f86 |
|
MD5 | 25f4456c17a223136f1b13ff84022b4a |
|
BLAKE2b-256 | 34a3836291f177f11a4194c648b783d4eea5503a6b58ed3c051795ac69d18284 |
File details
Details for the file DeepCL-8.3.2alpha3-py2.7-linux-x86_64.egg
.
File metadata
- Download URL: DeepCL-8.3.2alpha3-py2.7-linux-x86_64.egg
- Upload date:
- Size: 482.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18817d1e8aae68be2625c486e222058ac80e59572dfc3f8a4cd60a961bfab6af |
|
MD5 | ec3b0c615cfd1da02867cdcf5340ed34 |
|
BLAKE2b-256 | 75af7d365ca24a26e4e7b369ff5a92caacb8ec77be01072fd2eccd79a9c11129 |
File details
Details for the file DeepCL-8.3.2alpha3-py2.7-linux-i686.egg
.
File metadata
- Download URL: DeepCL-8.3.2alpha3-py2.7-linux-i686.egg
- Upload date:
- Size: 460.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bde45b63aaf27c390bdd8778609f9f537b047bbd9263ce222fd2ce4b799ce59d |
|
MD5 | 769c0dd359ff774d7fcfe7e1a693e102 |
|
BLAKE2b-256 | bb7404da4c1a1f7f77cf630a10cfb78752c9e95851de8959f68a74e29dde6c42 |