GithubHelp home page GithubHelp logo

soumith / spectral-lib Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mbhenaff/spectral-lib

0.0 3.0 0.0 8.85 MB

Lua 50.72% CMake 0.41% Makefile 0.07% Cuda 14.28% C++ 3.37% C 0.16% MATLAB 7.32% TeX 23.45% Shell 0.20%

spectral-lib's Introduction

To run experiments, cd to test. All parameters are listed in params.lua. To modify the GFT matrix, change the path at the beginning of model.lua to load the proper thing.

The -model parameter specfies model architecture. fc2 refers to fully connected with 2 layers, etc. gconv2 refers to 2 layers of graph convolution followed by a fully connected layer. The -nhidden parameter refers to number of hidden units for fully connected models and number of feature maps for graph convolutions. The -k parameter refers to the number of subsampled weights in the graph convolution layers.

To train on TIMIT with a 3-layer fully connected net with 2000 hidden units:

th -i train.lua -dataset timit -model fc3 -nhidden 2000

To train on TIMIT with a net consisting of 2 layers of graph conv followed by a fully connected, with 20 feature maps and 20 subsampled weights at each layer:

th -i train.lua -dataset timit -model gconv2 -nhidden 20 -k 20

spectral-lib's People

Contributors

joanbruna avatar mbhenaff avatar

Watchers

James Cloos avatar Soumith Chintala avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.