Home

Awesome

Demos & Tutorials for Torch7.

All the demos/tutorials provided in this repo require Torch7 to be installed, as well as some extra (3rd-party) packages.

Install

Torch7

Follow instructions on: Torch7's homepage.

3rd-party packages

Different demos/tutorials rely on different 3rd-party packages. If a demo crashes because it can't find a package then simply try to install it using luarocks:

$ luarocks install image    # an image library for Torch7
$ luarocks install nnx      # lots of extra neural-net modules
$ luarocks install camera   # a camera interface for Linux/MacOS
$ luarocks install ffmpeg   # a video decoder for most formats
$ ...

A complete list of packages can be obtained by doing:

$ luarocks list

or checking out this page.

After that, a list of tutorials will be available in the documentation.

Tutorials

Each directory provides a tutorial or a demo, with no particular order. It's a good idea to have the torch documentation on the side, for reference. As Torch is based on the Lua language, it's also a good idea to go through the Lua 5.1 book.

Credits

These demos were slowly put together by: Clement Farabet & Roy Lowrance, and are now maintained by e-lab

License

MIT