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

Changes

  • 25 July 2016:

  • added RandomSingleton class, to set the seed for weights initialization

  • added xor.py example

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.4.0alpha1.tar.gz (141.3 kB view details)

Uploaded Source

Built Distributions

DeepCL-8.4.0alpha1-py2.7-linux-x86_64.egg (474.1 kB view details)

Uploaded Source

DeepCL-8.4.0alpha1-py2.7-linux-i686.egg (452.5 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for DeepCL-8.4.0alpha1.tar.gz
Algorithm Hash digest
SHA256 7224a8856144c8e91634240fdc91dffee9fc8346e21a6abbb0f96d88cf6693bc
MD5 71ca00893df0f9167f7fc6dbbfe51487
BLAKE2b-256 3f7d9891f6663f63f6b9f532d038e1bd5b659e678135c046d9d682445e4daa7d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for DeepCL-8.4.0alpha1-py2.7-linux-x86_64.egg
Algorithm Hash digest
SHA256 ab15f44b78071fd5537eb77534eeb842077a007f4101d7ed326969471e5011e6
MD5 4c6288a487a5b2c128e688e4d3c519b5
BLAKE2b-256 126d8f57e7185c3f78095bdc12af429aa2f5163f4da6d1208eb4accd3afaac5b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for DeepCL-8.4.0alpha1-py2.7-linux-i686.egg
Algorithm Hash digest
SHA256 77657278f43188c21199386c752a93b9e7ef69bd13cd12a498fb9fa86a2d7f6d
MD5 1c62995850e9fc7d82f7f976b218ce33
BLAKE2b-256 d4ca198d91ee9e494e0559053151f2aa4fc3edbb92406116e4a9e1cd0b3eef10

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