Skip to content
Repo for the torch tutorials for the NYU Deep Learning class spring 2015
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
1_nnModule.ipynb
2_nnCriterion.ipynb
3_fullNetwork.ipynb
4_train_a_classifier.ipynb
README.md
SOL1_nnModule.ipynb
SOL2_nnCriterion.ipynb
SOL3_fullNetwork.ipynb
SOL4_train_a_classifier.ipynb

README.md

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.

You can’t perform that action at this time.