torch/demos

CMake error

fernandoc1 opened this issue · 4 comments

I'm trying to build torch demos, but I'm facing the following CMake error:

CMake Error at CMakeLists.txt:6 (ADD_TORCH_DOK):
Unknown CMake command "ADD_TORCH_DOK".

What exactly are you trying to build? and what command are you using?

The demos are scripts, that you can run directly, I dont think you need to build anything.
Go into each folder and run the scripts with th/qlua

Can you provide me the full command to run any of those samples?

git clone https://github.com/torch/demos
cd demos
cd train-a-digit-classifier
th train-on-mnist.lua