一、安装torch 7的框架:
git clone https://github.com/torch/distro.git torch --recursive
二、接下来安装依赖库:
cd torch/
sudo bash install-deps
三、安装torch:
如果需要权限,我们就加个sudo 。
下面来提示,问你要不要加入路径到bashrc :
这时候我们需要激活下:
source ~/.bashrc
这时候我们输入:th
一、安装torch 7的框架:
git clone https://github.com/torch/distro.git torch --recursive
二、接下来安装依赖库:
cd torch/
sudo bash install-deps
三、安装torch:
如果需要权限,我们就加个sudo 。
下面来提示,问你要不要加入路径到bashrc :
这时候我们需要激活下:
source ~/.bashrc
这时候我们输入:th