Torch3
  Introduction  

  Documentation  

  Downloads  

  Credits  

  FAQ  
Sebastien Marcel (marcel@idiap.ch)

Torchvision and Linux

Does Torchvision work on Linux ? YES, Torchvision works on Linux as it is developped on Linux

Torchvision and Windows

Does Torchvision work on Windows ?
Problems and solutions:
  1. Visual Studio .NET 2005 and Visual Studio .NET 2003
    • Problem:
      I am testing Torch3Vision under Visual Studio 2005, and no problem to launch and to build the solution of Torch3Vision, no problem neither to execute the programs(included) provided as examples in the solution like canny or faceExtract. But when I want to add the mlpscan program which is included in the examples directory (but not as a project), impossible to build. In fact first, inclusion errors of .h occur and when I include the necessary directories where are localized these .h, there are linking problems which appear:

      Compiling manifest to resources...
      Linking...
      MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _sprintf already defined in LIBCMTD.lib(sprintf.obj)
      MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _strrchr already defined in LIBCMTD.lib(strrchr.obj)
      MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _strncmp already defined in LIBCMTD.lib(strncmp.obj)

    • Solution:
      This is a configuration problem that comes from the fact that the solution was originally done for Visual Studio .NET 2003, which has a little bug with the *.cc files.

      You must just change a property of the mlpscan.cc file (not the project!): under "C/C++ > Code generation", set "Runtime Library" to "Multi-threaded Debug DLL" (for the Debug version) and "Multi-threaded DLL" (for the Release version), to match the settings of the Vision and Torch libraries.

      You can have a look at the properties of any of the other example's *.cc source file to check that all the other settings of yours are identical.

  2. TO BE COMPLETED
    • Problem:

    • Solution:

Torchvision and Mac

Does Torchvision work on Mac ? This was not completly tested but Torchvision should work also on Mac
Problems and solutions:
  1. log2() is ambiguous
    • Problem:
      ... in Torch3vision2.1/vision2.1/examples/addons file fft2d.cc and gabor2d.cc the use of log2(double) was ambiguous.

    • Solution:
      With my dev-packages from apple, there came /usr/include/architecture/i386/math.h, so I decided to use yours: Torch::log2(double)

  2. TO BE COMPLETED
    • Problem:

    • Solution:

Torchvision and OpenCV

Can I use OpenCV with Torchvision ? YES, simply link the opencv lib to Torchvision
To be completed

Program examples and tutorials

Is there program examples ? YES here
Is there a tutorial ? YES here

Face detection

Is there face detection program examples ? YES here
Is there a simple API of face detection using Torchvision ? YES, this API is ready and will be freely available soon for evaluation purposes
To be completed

Face recognition

Is there a tutorial ? YES here
To be completed