torch 入门

torch 入门
1.安装环境
我的环境
mac book pro 集成显卡 Intel Iris
不能用 cunn 模块,因为显卡不支持 CUDA
2.安装步骤:

官方文档

(1).
git clone https://github.com/torch/distro.git ~/torch --recursive
(2).
cd ~/torch; bash install-deps;
(3).
./install.sh
(4).
source /etc/profile

3.使用
终端输入 th 进入 torch shell
torch.Tensor{1, 2, 3}
退出使用 control + c 两下
require('nn') 引用神经网络包 Neural Network
4.活跃的 github 项目
(1).合并图片

(2)图片处理

5.深度学习的一些工具
torch , tensorflow

posted @ 2016-04-18 17:29  农民阿姨  阅读(1092)  评论(0编辑  收藏  举报