1
0
Fork 0
mirror of synced 2024-05-09 07:22:19 +12:00
waifu2x/install_lua_modules.sh

23 lines
494 B
Bash
Raw Normal View History

2018-06-05 19:00:55 +12:00
#!/bin/bash
CUDNN_BRANCH=R7 # 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
cd $CUDNN_WORK_DIR
luarocks make cudnn-scm-1.rockspec
cd ..
rm -fr $CUDNN_WORK_DIR
}
luarocks install graphicsmagick
luarocks install lua-csnappy
luarocks install md5
2018-11-12 21:45:03 +13:00
luarocks install uuid
2018-06-05 19:00:55 +12:00
luarocks install csvigo
install_cudnn
PREFIX=$HOME/torch/install luarocks install turbo