Skip to main content

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

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:

  • 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

DeepCL-8.3.2alpha1.tar.gz (145.2 kB view details)

Uploaded Source

Built Distributions

DeepCL-8.3.2alpha1-py3.4-linux-i686.egg (493.7 kB view details)

Uploaded Source

DeepCL-8.3.2alpha1-py2.7-linux-x86_64.egg (482.1 kB view details)

Uploaded Source

DeepCL-8.3.2alpha1-py2.7-linux-i686.egg (461.0 kB view details)

Uploaded Source

File details

Details for the file DeepCL-8.3.2alpha1.tar.gz.

File metadata

File hashes

Hashes for DeepCL-8.3.2alpha1.tar.gz
Algorithm Hash digest
SHA256 a53647b607ded406cae2204095bfdfdeeda5ead76fa93061e0f35787da6bfe39
MD5 f0fe4d2bd244912f88fedce0e1f4f7f2
BLAKE2b-256 95387aef83bda10b38907fe50a32d91055745277e1e12ab37e051454d4603ad2

See more details on using hashes here.

File details

Details for the file DeepCL-8.3.2alpha1-py3.4-linux-i686.egg.

File metadata

File hashes

Hashes for DeepCL-8.3.2alpha1-py3.4-linux-i686.egg
Algorithm Hash digest
SHA256 047c2df457eeded2aebeea77dd0919e68189038dbb166127bdc1c449a1f83465
MD5 9b658a3a96bef87633bda4db813f7efb
BLAKE2b-256 e75157a731bb8107a25d57f9f901e3aff75ec63e0f9a5494cadef8a2dd540a09

See more details on using hashes here.

File details

Details for the file DeepCL-8.3.2alpha1-py2.7-linux-x86_64.egg.

File metadata

File hashes

Hashes for DeepCL-8.3.2alpha1-py2.7-linux-x86_64.egg
Algorithm Hash digest
SHA256 25d11289abd1ee0dce738bbee678e64aa8cebeab0413d0d19f508557352f6f1d
MD5 d5793f61242d6d6f2c046c5c777e3761
BLAKE2b-256 74017f786b6d9281179aeeafce60aa861e66381c8b2bea221d8720874dbad58a

See more details on using hashes here.

File details

Details for the file DeepCL-8.3.2alpha1-py2.7-linux-i686.egg.

File metadata

File hashes

Hashes for DeepCL-8.3.2alpha1-py2.7-linux-i686.egg
Algorithm Hash digest
SHA256 31b94ecae72e012caa84e92e1edb20deaa1f3d46aab6e7bc3b1366e79c9a95df
MD5 f90fa1ced3875580b8a581e7db40b276
BLAKE2b-256 ec1891ba4b33952c203dd1ce82367fb905f3a52efc45be805798c5c245b050e5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page