ili3p / spectral-lib

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

spectral-lib

spectral-lib provides Torch7 wrappers for CuFFT including FFT1d batch version.

Revision History

  • change function name of torch.find to torch.find1d to avoid a conflict with torch.find of package torchx (v0.1).

======================

You are welcome to use this code for research purposes but it is not actively supported.

Instalation

Your torch version must be installed with TORCH_LUA_VERSION=LUA51. (See mbhenaff#11)

Clone the repo, cd to it and then run:

luarocks install spectralnet-scm-1.rockspec

To run on MNIST/CIFAR, download the datasets and change the paths in test/datasource.lua

You can get the datasets here:

https://github.com/torch/tutorials/tree/master/A_datasets

There are Matlab scripts with examples how to build the graphs in mresgraph.

To train the models, run test/train.lua. The hyperparameters are in params.lua.

About


Languages

Language:Lua 50.7%Language:TeX 23.5%Language:Cuda 14.3%Language:MATLAB 7.3%Language:C++ 3.4%Language:CMake 0.4%Language:Shell 0.2%Language:C 0.2%Language:Makefile 0.1%