Last active
January 30, 2017 09:33
-
-
Save donglixp/e3c0d656aea05a3136a552f720254c9b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
luarocks install penlight | |
luarocks install dpnn | |
luarocks install json | |
luarocks install xlua | |
luarocks install tds | |
luarocks install threads | |
luarocks install httpclient | |
luarocks install sys | |
luarocks install luafilesystem | |
luarocks install lua-cjson | |
luarocks install yaml | |
luarocks install paths | |
luarocks install https://raw.github.com/jucor/torch-distributions/master/distributions-0-0.rockspec | |
git clone https://github.com/facebook/fblualib.git | |
cd fblualib/fblualib/python | |
luarocks make rockspec/* | |
https://github.com/deepmind/torch-hdf5/blob/master/doc/usage.md | |
modify ~\torch\install\share\lua\5.1\hdf5\config.lua (if necessary): | |
hdf5._config = { | |
HDF5_INCLUDE_PATH = "/usr/include", | |
HDF5_LIBRARIES = "debug;/usr/lib64/libhdf5.so;debug;/afs/inf.ed.ac.uk/user/s14/s1478528/usr/lib/libz.so;debug;/usr/lib64/libm.so;optimized;/usr/lib64/libhdf5.so;optimized;/afs/inf.ed.ac.uk/user/s14/s1478528/usr/lib/libz.so;optimized;/usr/lib64/libm.so" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment