Torch环境搭建
1)下载torch安装包的时候
git clone https://github.com/torch/distro.git ~/torch --recursive
有的时候会遇到
git error: RPC failed; curl 56 GnuTLS
或者
unable to access 'https://github.com/torch/luajit-rocks.git/': gnutls_handshake() failed: The TLS connection was non-properly terminated.
后面用如下命令:
git config --global http.postBuffer 1048576000
先试了这个,没有效果。
sudo apt install openssl
sudo apt install gnutls-bin
后面用这两个命令就解决了。
2)一开始用命令
TORCH_LUA_VERSION=LUA52 ./install.sh
TORCH_LUA_VERSION=LUA51 ./install.sh
都会遇到hdf5的问题,无法解决,安装luajit就没问题。
unable to parse the header of hdf5
3)用
./install.sh
在服务器安装torch的时候会遇到如下问题,

本文介绍了在搭建Torch环境过程中遇到的四个问题,包括下载安装包时的网络问题,解决hdf5依赖的luajit安装,服务器安装时的权限问题,以及安装cudnn库时的错误。通过尝试不同的命令和解决方案,部分问题已得到解决,但cudnn的安装问题仍然待解。
最低0.47元/天 解锁文章
326

被折叠的 条评论
为什么被折叠?



