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

ccwwff發表於2017-02-03

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>

相關文章