Skip to content

ctf20/torch7-demos

 
 

Repository files navigation

Demos & Turorials 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 torch-pkg:

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

A complete list of packages can be obtained by doing:

$ torch-pkg list

or checking out this page.

Documentation

Torch's main documentation gets installed when you install Torch, and should be available here, or wherever you installed Torch.

This repo also comes with documentation, in the form of tutorials. To make them available, simply issue the following command in this directory:

$ torch-pkg deploy

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 local Torch documentation open 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.

About

Demos and tutorials around Torch7.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published