tomsercu / torchtutorial

Repo for the torch tutorials for the NYU Deep Learning class spring 2015

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

torchtutorial

Repo for the torch nn module tutorials for the NYU Deep Learning class spring 2015

View the notebooks in your browser by pasting the link into http://nbviewer.ipython.org

If you don't have iTorch installed, I recommend opening the notebook in your brower, and have a terminal with th open, then just copy paste the skeleton code I provide into your th session.

remarks

If you're just starting out with torch and you're familiar with python, this parallel will clear your mind:

  • python ~ lua
  • numpy ~ 'torch' package / the Tensor library.
  • sklearn ~ 'nn' package

In fact torch is usually used to refer to the whole framework, but the torch package provides just Tensors as the fundamental object that almost all other packages use, similar to numpy arrays providing the basis for all of scipy and sklearn. This is echoed on github: there's the torch github page, which maintains the torch7 repo and several repo's like nn, cunn, image etc.

prerequisites

More tutorials and material

There is plenty learning material for torch, albeit a bit scattered over different places.

About

Repo for the torch tutorials for the NYU Deep Learning class spring 2015