torch学习(一) torch使用
2015-10-16 20:48
309 查看
一、安装问题
1.Only CentOS 7 is supported for now, aborting.
修改原来安装文件
https://github.com/torch/ezinstall/blob/master/install-deps
把“ if [[ $centos_major_version == '7']];then”判断去掉
二、使用
1. 安装package
$luarocks install image
$luarocks list
2.交互界面TREPL
$th
交互界面执行lua文件
th> dofile "file.lua"
tab 补全
? 帮助
$cmd 执行shell命令
shell界面执行lua文件
$th file.lua
1.Only CentOS 7 is supported for now, aborting.
修改原来安装文件
https://github.com/torch/ezinstall/blob/master/install-deps
把“ if [[ $centos_major_version == '7']];then”判断去掉
二、使用
1. 安装package
$luarocks install image
$luarocks list
2.交互界面TREPL
$th
交互界面执行lua文件
th> dofile "file.lua"
tab 补全
? 帮助
$cmd 执行shell命令
shell界面执行lua文件
$th file.lua
相关文章推荐
- Java总结1
- 小小菜之Cocos2d-x游戏开发旅程——项目实例:2048(2)
- hbase系统架构及数据结构
- 深入理解Ajax原理
- 编程
- unity中三种调用其他脚本函数的方法
- TreePuzzle 一点感想
- 详解css3弹性盒模型(Flexbox)
- leetcode 041 First Missing Positive
- Hadoop资源感知调度器
- 【转载】HBase基本概念和hbase shell常用命令用法
- 线段树选讲
- 光耦的参数的理解
- python核心编程 7-14
- HttpServletResponse addHeader() 与 setHeader() 区别
- 十四章课后练习题
- 减小数组
- 心得01
- 利用矩阵来变换图片
- verilog中级别到底是什么?级别的分类是什么???