Torch - 1 -- Install and Get Start on Ubuntu 12

前端之家收集整理的这篇文章主要介绍了Torch - 1 -- Install and Get Start on Ubuntu 12前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

From: torch.ch


Install Package:

$ git clone https://github.com/torch/distro.git ~/torch --recursive
$ cd ~/torch; bash install-deps;
$ ./install.sh

$ source ~/.bashrc


Install Package:

$ luarocks install image


List Package:
$ luarocks list


$ th
______ __ | Torch7
/_ __/__ ________/ / | Scientific computing for Lua.
/ / / _ \/ __/ __/ _ \ |
/_/ \___/_/ \__/_//_/ | https://github.com/torch
| http://torch.ch
th> torch.Tensor{1,2,3}
1
2
3
[torch.DoubleTensor of dimension 3]
th>

猜你在找的Ubuntu相关文章