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.5.0alpha3.tar.gz (141.0 kB view details)

Uploaded Source

Built Distributions

DeepCL-8.5.0alpha3-py3.4-linux-i686.egg (482.4 kB view details)

Uploaded Source

DeepCL-8.5.0alpha3-py2.7-linux-x86_64.egg (473.7 kB view details)

Uploaded Source

DeepCL-8.5.0alpha3-py2.7-linux-i686.egg (451.5 kB view details)

Uploaded Source

File details

Details for the file DeepCL-8.5.0alpha3.tar.gz.

File metadata

File hashes

Hashes for DeepCL-8.5.0alpha3.tar.gz
Algorithm Hash digest
SHA256 f5d9b528dd1512db0665f7dff1ed309b57b9de625a9a5d47b84a0d72e37f5090
MD5 2139d45e8c59443e8a71d980e5c4ce8b
BLAKE2b-256 dc8a67ee0ab2a2dc2c87f2b98fd8e948481bd9f33ca892c391ca852547d89ef2

See more details on using hashes here.

File details

Details for the file DeepCL-8.5.0alpha3-py3.4-linux-i686.egg.

File metadata

File hashes

Hashes for DeepCL-8.5.0alpha3-py3.4-linux-i686.egg
Algorithm Hash digest
SHA256 58c7a9d47f5f1d7d27b9ec3c091123cf5ee5ed9c250ba159ebcfc4e588ba7480
MD5 3993f02fd9a5914db9fcc37a3542f959
BLAKE2b-256 a591be5ea5fb88b8af8eae3c2326431c618aad44b7b125ffa88a05bd125ce7f5

See more details on using hashes here.

File details

Details for the file DeepCL-8.5.0alpha3-py2.7-linux-x86_64.egg.

File metadata

File hashes

Hashes for DeepCL-8.5.0alpha3-py2.7-linux-x86_64.egg
Algorithm Hash digest
SHA256 1b8e3c16e7e8b0b621e1f010f8698d5194b7acc8eeb2c987977b4d676d01eefc
MD5 09056c8b6d8598beba48fb825adeff04
BLAKE2b-256 0d25094fbf0f6e4cbfb731f188c7f6e8b1218b20f6e2654c77da45ee3b90b62f

See more details on using hashes here.

File details

Details for the file DeepCL-8.5.0alpha3-py2.7-linux-i686.egg.

File metadata

File hashes

Hashes for DeepCL-8.5.0alpha3-py2.7-linux-i686.egg
Algorithm Hash digest
SHA256 d953331e0aadbf0a3c26b2a0ce15e13f4acfe3a0a55453cfa583a9ddd183e7cb
MD5 ebe026f576bff61d7c261025952a11da
BLAKE2b-256 32fdaba9abaccc0d2af4022424a5c4484e432d6603c7c77e4c46727757b4e74c

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