Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 698 Bytes

README.md

File metadata and controls

22 lines (13 loc) · 698 Bytes

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

Here are some pointers on getting it to work:

You will need to compile the rock first. In the file spectralnet-scm-1.rockspec, change the line url = "..." --TODO to url = "." or url = "/path/to/spectral-lib"

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.