itayhubara / BinaryNet

Training Deep Neural Networks with Weights and Activations Constrained to +1 or -1
297 stars 95 forks source link

Unable to install dependencies #14

Open KarthikGanesan88 opened 7 years ago

KarthikGanesan88 commented 7 years ago

Hi, I am very new to torch and i am trying to get this network up and running. However, when i try to install the dependencies, i get an error.

$ luarocks install https://raw.githubusercontent.com/eladhoffer/DataProvider.torch/master/dataprovider-scm-1.rockspec


CMake Error at CMakeLists.txt:8 (FIND_PACKAGE) By not providing "FindTorch.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Torch", but CMake could not find one.

Could not find a package configuration file provided by "Torch" with any of the following names:

TorchConfig.cmake
torch-config.cmake

Add the installation prefix of "Torch" to CMAKE_PREFIX_PATH or set "Torch_DIR" to a directory containing one of the above files.

the other dependencies such as dp and unsup just say 'Error: No results matching query were found.'

should i first be cloning these 'dependencies' somewhere in my torch directory before building torch?

vladimirshadymov commented 5 years ago

Try to call luarocks directly. For example, I did it by command

sudo ~/torch/install/bin/luarocks install

Seems that I'm answering in time))) But hope it will help someone.