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

  • 30 July 2016:

  • Added net.getNetdef(). Note that this is only an approximate representation of the network

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

Uploaded Source

Built Distributions

DeepCL-11.3.1-py3.5-win-amd64.egg (129.4 kB view details)

Uploaded Source

DeepCL-11.3.1-py3.5-win32.egg (102.3 kB view details)

Uploaded Source

DeepCL-11.3.1-py3.4-linux-x86_64.egg (583.5 kB view details)

Uploaded Source

DeepCL-11.3.1-py3.4-linux-i686.egg (544.6 kB view details)

Uploaded Source

DeepCL-11.3.1-py2.7-win-amd64.egg (132.8 kB view details)

Uploaded Source

DeepCL-11.3.1-py2.7-win32.egg (104.5 kB view details)

Uploaded Source

DeepCL-11.3.1-py2.7-linux-x86_64.egg (543.8 kB view details)

Uploaded Source

DeepCL-11.3.1-py2.7-linux-i686.egg (506.1 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for DeepCL-11.3.1.tar.gz
Algorithm Hash digest
SHA256 92e2ab365ab09864f692b7fecbd81eba46564f41aabc98396dc9899477da950c
MD5 571305a9470768f92082b0c6a96a9f99
BLAKE2b-256 a101a5303c202123101bd3b7849579b260395efb4ee67fb0bbf5eb065842352c

See more details on using hashes here.

File details

Details for the file DeepCL-11.3.1-py3.5-win-amd64.egg.

File metadata

File hashes

Hashes for DeepCL-11.3.1-py3.5-win-amd64.egg
Algorithm Hash digest
SHA256 e9fc993e816f5ac0cedf962f691385ec8c6e664bbfc6b46654787ad6f5a9fa05
MD5 3d00f04ea253443a9bafdab761fe9da4
BLAKE2b-256 407fa800f2c5bffc4493e3c94d08e09d6769cfb523739e980296a59283116a4c

See more details on using hashes here.

File details

Details for the file DeepCL-11.3.1-py3.5-win32.egg.

File metadata

File hashes

Hashes for DeepCL-11.3.1-py3.5-win32.egg
Algorithm Hash digest
SHA256 8e6542f6c5e5d3161e7c2d5ae1d9578008a3fc90f0933249bec690384a5a5a39
MD5 2cf5e15219f0ac7ee1207380a043d9ed
BLAKE2b-256 7625345fc56c0f01ec538a3b0de0191bf25b58540d87456f21ef61127b655ee1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for DeepCL-11.3.1-py3.4-linux-x86_64.egg
Algorithm Hash digest
SHA256 5e1f191bb57766cd878a35047ad1f67568b16a0ff711a5771ea0f1e0675c9a02
MD5 78d19449b7adb638f723daef17d5a516
BLAKE2b-256 4fc5834267348b6ab935deac08852c3c6268fd4b78d065a048a9745767d46449

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for DeepCL-11.3.1-py3.4-linux-i686.egg
Algorithm Hash digest
SHA256 44e5b45134ce22694eb478f84946e9993bdf5f9c1c4b9aba81d25bb149a8b7b8
MD5 e8f0906ff7afd6f0e7b1dd4bad26346b
BLAKE2b-256 71bcd7f7fec4d1cc88ef9b569c11b7211cb5555702c8e43c5068533e04eab4a0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for DeepCL-11.3.1-py2.7-win-amd64.egg
Algorithm Hash digest
SHA256 ab83786aa8df92a9d1b646cb2c66482b6d3b4c88fd7ea9523c5cce954363f411
MD5 1da4eb1b8f2670dafe85695bdec64c67
BLAKE2b-256 00bbf2365ed5e89013bda5c9fd76b6de53e9e317d0def980105c705ae75315ee

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for DeepCL-11.3.1-py2.7-win32.egg
Algorithm Hash digest
SHA256 e349eddc6125ae6549f752b9b5fecedd70606a2e760de264895779c03ccfd8a8
MD5 233e3d754dd275c0432cf5e28fd13bec
BLAKE2b-256 ce850a73ff3782997e765bbc8e17319d8fe5e7bd48c8a28dbc389898b5d6b1ed

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for DeepCL-11.3.1-py2.7-linux-x86_64.egg
Algorithm Hash digest
SHA256 e4b3aec1a3e386f9a1fd9394ec45dc1b3ae32c6a87be14253099c55634a844f6
MD5 f518dbb19068065df6a27a2fb41cbbfa
BLAKE2b-256 c86ceb7ba76b581c312ba80abd1d9034a80e108d07251f82b92029d0f630bbb0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for DeepCL-11.3.1-py2.7-linux-i686.egg
Algorithm Hash digest
SHA256 a583b32818e1646e30e5369921ad74489b46407ec4f5dcfe7a823969031b7f4a
MD5 51245a199a2b7d19898056d117b0dec1
BLAKE2b-256 4e39d8091f608c9aa613498b35f693fb397eb51b85044aac13f05b76c003608d

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