创新实训——阿里云搭建神经网络模型开发环境

1.安装python

默认python版本是 2.7.5,所以不需要安装

2.安装lua5.1

wget http://www.lua.org/ftp/lua-5.1.tar.gz

tar -xzvf lua-5.1.tar.gz

cd lua-5.1

make linux

make install

3.安装luarocks(不必须,因为装torch会自动安装luarocks)

wget http://keplerproject.github.io/luarocks/releases/luarocks-2.2.2.tar.gz

tar -xzvf luarocks-2.2.2.tar.gz

cd luarocks-2.2.2

./configure --prefix=/usr/local/luarocks-2.2.2

make build

make install

4.安装Torch7

如果之前安装过Torch7, 想重新安装, 按照如下方法clean掉old versions:

> curl -s https://raw.github.com/torch/ezinstall/master/clean-old.sh | bash

如果之前没有安装过Torch7,或者clean掉old versions后,接下来, 按照执行如下语句安装:

> curl -s 

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值