您的位置:首页 > 其它

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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: