torch / demos

Demos and tutorials around Torch7.
355 stars 301 forks source link

CMake error #39

Open fernandoc1 opened 8 years ago

fernandoc1 commented 8 years ago

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".

soumith commented 8 years ago

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

soumith commented 8 years ago

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

fernandoc1 commented 8 years ago

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

soumith commented 8 years ago

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