TK1入门教程软件篇-安装Torch
TK1入门教程软件篇-安装Torch7
说明:
- 介绍如何在TK1安装Torch7
安装:
- 下载脚本并安装:
$ git clone https://github.com/torch/ezinstall.git
$ cd ezinstall
$ sudo ./install-deps
$ sudo ./install-luajit+torch
安装CUDA和cuDNN , 可以利用Jetpack的安装,或手工安装 参考CUDA教程,参考cuDNN
安装cuDNN的torch扩展
$ sudo luarocks install cutorch
$ sudo luarocks install cunn
$ sudo luarocks install cudnn
- 使用torch需要使用很多内存,最好扩展swap空间,参考教程
参考:
- http://torch.ch/
- https://github.com/torch/ezinstall.
- https://github.com/soumith/cudnn.torch
- http://www.jetsonhacks.com/category/deep-learning/torch/
- http://www.jetsonhacks.com/2015/05/20/torch-7-scientific-computer-framework-with-cudnn-nvidia-jetson-tk1/
- http://www.jetsonhacks.com/2015/05/20/itorch-for-torch-7-on-nvidia-jetson-tk1/
获取最新文章: 扫一扫右上角的二维码加入“创客智造”公众号