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

  • numpy

To install from pip

pip install --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)

For examples of using lower-level entrypoints, see test_lowlevel.py:

  • creating layers directly

  • running epochs and forward/backprop directly

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

  • numpy installed

To install:

cd python
python setup.py install

Changes

  • 29 July 2016:

  • New feature: can provide image tensor as 4d tensor now ,instead of 1d tensor (1d tensor ok too)

  • CHANGE: all image and label tensors must be provided as numpy tensors now, array.array no longer valid input

  • bug fix: qlearning works again :-)

  • 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-9.0.2.tar.gz (147.6 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

DeepCL-9.0.2-py3.4-linux-x86_64.egg (541.9 kB view details)

Uploaded Egg

DeepCL-9.0.2-py3.4-linux-i686.egg (503.0 kB view details)

Uploaded Egg

DeepCL-9.0.2-py2.7-linux-x86_64.egg (499.8 kB view details)

Uploaded Egg

DeepCL-9.0.2-py2.7-linux-i686.egg (465.3 kB view details)

Uploaded Egg

File details

Details for the file DeepCL-9.0.2.tar.gz.

File metadata

  • Download URL: DeepCL-9.0.2.tar.gz
  • Upload date:
  • Size: 147.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for DeepCL-9.0.2.tar.gz
Algorithm Hash digest
SHA256 ac268db8aa20aabbd189beea92730bf479cd3c1030f60baf01e83714acb16d5e
MD5 9496b926422e2dab2dae6ee813e9907f
BLAKE2b-256 db22290f96948ee4c0bcbb0e381786b16aa648ef9bbf631d2988f96bdd591608

See more details on using hashes here.

File details

Details for the file DeepCL-9.0.2-py3.4-linux-x86_64.egg.

File metadata

File hashes

Hashes for DeepCL-9.0.2-py3.4-linux-x86_64.egg
Algorithm Hash digest
SHA256 9f1557c6feea08e92c69f62351ca89d2d42e2f9d02b61b790588bac2eb8226b2
MD5 fd53f778e14883d309c876a27ed66dfd
BLAKE2b-256 959749290fd1e37a5c8ef7ef70ada5d968a7081fa994c3f6fe16981a3ebe8c44

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for DeepCL-9.0.2-py3.4-linux-i686.egg
Algorithm Hash digest
SHA256 0f1c99b5ec9e8f91f9e04e8398c00dcb87923f77ac1ff1d2b93b0606c65d6ca4
MD5 b2751e7b48cabe1c3f4b11d270f0f91b
BLAKE2b-256 930629cce28def15a231c8009ffedbc9366d8e7f3350d4a52a0fd63e952e3d0e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for DeepCL-9.0.2-py2.7-linux-x86_64.egg
Algorithm Hash digest
SHA256 f0ebdddecacf03ea95b864867b5dd0b9644d95621f053625cb2295e143dee464
MD5 b8c818f53060ccee50ebf826926963af
BLAKE2b-256 d174384d48871df115dbe3a07d8fd3b35df6e3b074f66654ca5d0d4f534e2298

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for DeepCL-9.0.2-py2.7-linux-i686.egg
Algorithm Hash digest
SHA256 3e909733310a6aea825b0afa53dfd6d4e0ee04e5e771439ca702f041c1c83790
MD5 63b1678b35d0bef5e21c176d5c942e72
BLAKE2b-256 3f0dbda25b0402361b65676ed1408bae04ee4b67df59ad10ebaa4135247a837f

See more details on using hashes here.

Supported by

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