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-10.0.0.tar.gz (149.1 kB view details)

Uploaded Source

Built Distributions

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

DeepCL-10.0.0-py3.4-win-amd64.egg (123.9 kB view details)

Uploaded Egg

DeepCL-10.0.0-py3.4-win32.egg (100.4 kB view details)

Uploaded Egg

DeepCL-10.0.0-py3.4-linux-x86_64.egg (550.2 kB view details)

Uploaded Egg

DeepCL-10.0.0-py3.4-linux-i686.egg (511.7 kB view details)

Uploaded Egg

DeepCL-10.0.0-py2.7-win-amd64.egg (125.5 kB view details)

Uploaded Egg

DeepCL-10.0.0-py2.7-win32.egg (99.3 kB view details)

Uploaded Egg

DeepCL-10.0.0-py2.7-linux-x86_64.egg (509.7 kB view details)

Uploaded Egg

DeepCL-10.0.0-py2.7-linux-i686.egg (472.1 kB view details)

Uploaded Egg

File details

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

File metadata

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

File hashes

Hashes for DeepCL-10.0.0.tar.gz
Algorithm Hash digest
SHA256 ef0af7feaaa94a6824d2aecf1c55c4db7670c3279dbf3ec94f3c8b2e14f301ca
MD5 28b8d46be7536b2a4ed44af2270867f2
BLAKE2b-256 375ff1b36ef849183d4ad8c56fd0fc8bb3247bbda2fb70ca748045d8a3a81501

See more details on using hashes here.

File details

Details for the file DeepCL-10.0.0-py3.4-win-amd64.egg.

File metadata

File hashes

Hashes for DeepCL-10.0.0-py3.4-win-amd64.egg
Algorithm Hash digest
SHA256 81929462605262a33467daff8087a8cd1afe6701c216a79b28a68a17e3a127e6
MD5 b8dad6e0c4bfaeb1375c1a2d5bc5bd26
BLAKE2b-256 29de9692fa48ed1ca8f7ab7b4655f5a9e609241a5391c36d4b793debe5115b55

See more details on using hashes here.

File details

Details for the file DeepCL-10.0.0-py3.4-win32.egg.

File metadata

File hashes

Hashes for DeepCL-10.0.0-py3.4-win32.egg
Algorithm Hash digest
SHA256 52f7e0143653bed0299d1d73b8fa2c02b292b5b485ef96c710404137daaec26b
MD5 3f84179d5d9e0daf44e7c5b34ab49612
BLAKE2b-256 f3c50300a44c8c8944e68febebb59ee4b556fe70755bcaa0fa1ed5c51b07d2c0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for DeepCL-10.0.0-py3.4-linux-x86_64.egg
Algorithm Hash digest
SHA256 166243e7d1e6da9c6ffd0b003a77a96fc37c31c26ad06997bec97eef724b460f
MD5 f082ebe948b7b5bece5f4236cd8d948f
BLAKE2b-256 490115a9ec027114c0b2393418258f8bb7952981612f024284158eb854d29cc2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for DeepCL-10.0.0-py3.4-linux-i686.egg
Algorithm Hash digest
SHA256 d5fca0f1eea823876220ef3265aa6caad23301e3ef55126e03b9754354162d14
MD5 7aa786ee4a3ac69403f954c3775bdb80
BLAKE2b-256 d2cce82825167759af3ea51e754001047e1e747b7bfb5802cb91ef5ab63a9a12

See more details on using hashes here.

File details

Details for the file DeepCL-10.0.0-py2.7-win-amd64.egg.

File metadata

File hashes

Hashes for DeepCL-10.0.0-py2.7-win-amd64.egg
Algorithm Hash digest
SHA256 cca0d36768f57870b853c584114b56e2718382df40c15344458b98c83e3e2653
MD5 51e11ea85cbf63a6f154f411ec19b38b
BLAKE2b-256 5f23f2aff7a5416df7b0dc88d1ef49c53f78bb9c56d4a358cfd18669ef8120ed

See more details on using hashes here.

File details

Details for the file DeepCL-10.0.0-py2.7-win32.egg.

File metadata

File hashes

Hashes for DeepCL-10.0.0-py2.7-win32.egg
Algorithm Hash digest
SHA256 6aa18fc7ffe7b5971ca3ed87f08ee75d597afcc78a1aa5f2d19b9da621beaca0
MD5 3386e6c622ce0a5a2b753ee83a539321
BLAKE2b-256 9fa954c40b79e57e6a0d395cbdc183fc433e7ae0a7b4cc3e9fc35e255afdf113

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for DeepCL-10.0.0-py2.7-linux-x86_64.egg
Algorithm Hash digest
SHA256 278cd52d5b587aa683d565782b1f4162e2e75b5ee1d8101b096c4b6a0a92c98c
MD5 b9be571ff8423e2ee4e60aee008f93b1
BLAKE2b-256 5947722fcd7371c9c47500cc839b5bd8effaa3c85a2b268f8d62e5fd679973e3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for DeepCL-10.0.0-py2.7-linux-i686.egg
Algorithm Hash digest
SHA256 3d8e1398e6de8bb423c2b0a1ba6a5083741411f7d33adb8d90a4976021bc5353
MD5 33a7e16de1920dd6f4d651e24e13be14
BLAKE2b-256 1b8fbad23c81af4f0985b0ace572d0dccf23551757eb52ce63d76403ece1f1d7

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