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

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

Uploaded Source

Built Distributions

DeepCL-8.3.2alpha3-py3.4-linux-i686.egg (493.7 kB view details)

Uploaded Source

DeepCL-8.3.2alpha3-py2.7-linux-x86_64.egg (482.1 kB view details)

Uploaded Source

DeepCL-8.3.2alpha3-py2.7-linux-i686.egg (460.9 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for DeepCL-8.3.2alpha3.tar.gz
Algorithm Hash digest
SHA256 0a1d2f23434dfbe45ccc55d97e6b37b90b3c6a9baa999ee2b304c1b3b01ad079
MD5 0fe1c5ec1c175e7fb6a54c638a69e9ad
BLAKE2b-256 5ff957031bfdc4cf19a35121968a625a1cdde03ccefb5a87af936932ad1fb256

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for DeepCL-8.3.2alpha3-py3.4-linux-i686.egg
Algorithm Hash digest
SHA256 12e39f298782f1e61d06c341c4eb97db3093c7bc6693241113cbbf8fee8c2f86
MD5 25f4456c17a223136f1b13ff84022b4a
BLAKE2b-256 34a3836291f177f11a4194c648b783d4eea5503a6b58ed3c051795ac69d18284

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for DeepCL-8.3.2alpha3-py2.7-linux-x86_64.egg
Algorithm Hash digest
SHA256 18817d1e8aae68be2625c486e222058ac80e59572dfc3f8a4cd60a961bfab6af
MD5 ec3b0c615cfd1da02867cdcf5340ed34
BLAKE2b-256 75af7d365ca24a26e4e7b369ff5a92caacb8ec77be01072fd2eccd79a9c11129

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for DeepCL-8.3.2alpha3-py2.7-linux-i686.egg
Algorithm Hash digest
SHA256 bde45b63aaf27c390bdd8778609f9f537b047bbd9263ce222fd2ce4b799ce59d
MD5 769c0dd359ff774d7fcfe7e1a693e102
BLAKE2b-256 bb7404da4c1a1f7f77cf630a10cfb78752c9e95851de8959f68a74e29dde6c42

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