Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (testpypi.python.org).
Help us improve Python packaging - Donate today!

Scattering Network for Python and CUDA

Project Description

Description

scatnetgpu is a module to compute the Scattering Network representation [1] of an image using the power of a CUDA capable GPU.

The output of the computation is compatible with the software scatnet.

Requirements

  • Python 2.7 (not tested yet with Python 3.x)
  • A CUDA capable GPU with CUDA toolkit correctly installed

Installation

Just run:

$ pip install scatnetgpu

Alternatively, clone the repository and run:

$ pip install .

Quickstart

Load or create an image as a Numpy’s ndarray. Here we load an image with OpenCV:

import cv2
img = cv2.imread('image.png')

Create the ScatNet object:

from scatnetgpu import ScatNet
sn = ScatNet(M=2, J=4, L=6)

Perform the actual transformation

out = sn.transform(img)

Now out contains the features of the Scattering Network representation of img.

References

[1] Bruna, Joan, and Stéphane Mallat. “Invariant scattering convolution networks.” IEEE transactions on pattern analysis and machine intelligence 35.8 (2013): 1872-1886.

Release History

Release History

This version
History Node

1.1

History Node

0.1.3

History Node

0.1.2

History Node

0.1.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
scatnetgpu-1.1.tar.gz (9.2 kB) Copy SHA256 Checksum SHA256 Source Mar 23, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting