Update install_lua_modules.sh
Install packages from torch's rocks repo. graphicsmagick and csvigo are only available on torch's rocks repo.
This commit is contained in:
parent
ed93894fc8
commit
8e1895b435
|
@ -1,12 +1,12 @@
|
|||
#!/bin/bash
|
||||
|
||||
CUDNN_BRANCH=R7 # for cudnn7
|
||||
CUDNN_BRANCH=master # for cudnn7
|
||||
CUDNN_WORK_DIR=.cudnn
|
||||
|
||||
install_cudnn()
|
||||
{
|
||||
rm -fr $CUDNN_WORK_DIR
|
||||
git clone https://github.com/soumith/cudnn.torch.git -b $CUDNN_BRANCH $CUDNN_WORK_DIR
|
||||
git clone https://github.com/torch/rocks.git -b $CUDNN_BRANCH $CUDNN_WORK_DIR
|
||||
cd $CUDNN_WORK_DIR
|
||||
luarocks make cudnn-scm-1.rockspec
|
||||
cd ..
|
||||
|
|
Loading…
Reference in a new issue