jwyang / JULE.torch

Torch code for our CVPR 2016 paper "Joint Unsupervised LEarning of Deep Representations and Image Clusters"
MIT License
288 stars 82 forks source link

How to install lua-knn #3

Open pokaxpoka opened 8 years ago

pokaxpoka commented 8 years ago

Hi,

I tried to install your codes however I have no idea how to install lua-knn. Specifically, how to set "CUDA_TOOLKIT_ROOT_DIR=/your/cuda-toolkit/dir" ? Can you please provide the more details about installing lua-knn ?

Thanks!

jwyang commented 8 years ago

Hi,

For example, assume my cuda is installed at /usr/local/cuda-6.5, then I will set:

CUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda-6.5

vooratarun commented 8 years ago

I tried this. cmake -D CUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda-8.5

I got this error . CMake Error: The source directory "/home/dangal/Desktop/joint-unsupervised-learning/build/CUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda-8.5" does not exist.

how to do this ?