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

Uploaded Source

Built Distributions

DeepCL-8.4.0alpha4-py3.4-linux-i686.egg (484.0 kB view details)

Uploaded Source

DeepCL-8.4.0alpha4-py2.7-linux-x86_64.egg (474.0 kB view details)

Uploaded Source

DeepCL-8.4.0alpha4-py2.7-linux-i686.egg (452.6 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for DeepCL-8.4.0alpha4.tar.gz
Algorithm Hash digest
SHA256 b85062198d22617a976830b796892ab14c1ec399985818ffeb280e796024b28b
MD5 2ded46772cb0d9e81ebcc301dffe65a3
BLAKE2b-256 a303e0b0e795b7a784d538808bccc0639323dec8cf56149a5afbf293a67b083c

See more details on using hashes here.

File details

Details for the file DeepCL-8.4.0alpha4-py3.4-linux-i686.egg.

File metadata

File hashes

Hashes for DeepCL-8.4.0alpha4-py3.4-linux-i686.egg
Algorithm Hash digest
SHA256 faec0a01ee9a68f57ab0b956d3017877e0fde785290d6e0d625f461034441235
MD5 16d25d6c11727ed3b4eb614462f6e467
BLAKE2b-256 878ecd8b5b6e338d9fe93efaede7c1e996657863a23e500a11e97ee5af33f38c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for DeepCL-8.4.0alpha4-py2.7-linux-x86_64.egg
Algorithm Hash digest
SHA256 6d04e39f38df493aa87a3dec7295ba1c43b5a6df3402c48d192153bb3d1b33e4
MD5 d01192cd74e8daf99165817607b84ecf
BLAKE2b-256 375e290f3d34bf7c67fa36b72eb213e8da1b7739608e905c81cf202d790ef856

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for DeepCL-8.4.0alpha4-py2.7-linux-i686.egg
Algorithm Hash digest
SHA256 79ecfbc362cc209ef5283767d68f417d8e8535f63f8e01add3e71fc23a57f5ce
MD5 aac54c23ae3a7dcbe64b4bfe3b79dd39
BLAKE2b-256 2d6276d9d2f83b513512061b91bcaea2348b7e2736e02bf092520f1309cfaf49

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