Home

Awesome

THIS VERSION OF THE SCATTERING IS OBSOLETE

Please check out our new version (pytorch): https://github.com/edouardoyallon/pyscatwave - any version of the Scattering Transform in lua can be considered as obsolete.

Logo

ScatWave

ScatWave is a Torch implementation of 2D scattering using CUDA libraries, designed for images.

Disclaimer

This software belongs to the team DATA @ ENS, its main author is Edouard Oyallon.

How to install

Assuming Torch is already installed on your computer, simply cd in scatwave_pkg, then 'luarocks make' Make sure you have FFTW and cuFFT installed and that the libraries are linked to the software.

Few results...

ScatWave + 3FC = 83.0 on CIFAR 10<br/> ScatWave + 3FC = 56.7 on CIFAR 100<br/> ScatWave + Deepnet = 91.4% on CIFAR10<br/> ScatWave + Deepnet = 69.5% on CIFAR100<br/>

Usage

scatwave = require 'scatwave'<br/> x=torch.FloatTensor(128,3,32,32)<br/> scat = scatwave.network.new(3,x:size())<br/> scat_coeff = scat(x) -- or scat(x,1)<br/> <br/> You can go to cuda via:<br/> scat=scat:cuda()<br/>

Reproducing the paper

Contributors

Edouard Oyallon. Contacts: firstname.lastname@ens.fr

Team DATA - Ecole Normale Supérieure

Acknowledgements

The author is thankful to Sergey Zagoruyko for helpfull discussions, codes and enlightments. Many parts of this work are based on codes that he shared, and this had a major impact on this work. I would like to thank also Mathieu Andreux, Eugene Belilovsky, Carmine Cella, Michael Eickenberg for helpful discussions.