torch7在mac上的安装
2024-10-18 18:20:45
在安装torch7的时候,一开始一直参考的是官方的文档:
http://torch.ch/docs/getting-started.html#_
但是无论怎么装都无法成功,主要是卡在了source那一步。
后来搜到了博客:http://blog.csdn.net/a130737/article/details/45745467的方法,非常简便。
curl -s https://raw.github.com/torch/ezinstall/master/clean-old.sh | bash
curl -s https://raw.githubusercontent.com/torch/ezinstall/master/install-all | bash
zfydeMacBook-Pro:treelstm-master zfy$ cd
zfydeMacBook-Pro:~ zfy$ th ______ __ | Torch7
/_ __/__ ________/ / | Scientific computing for Lua.
/ / / _ \/ __/ __/ _ \ | Type ? for help
/_/ \___/_/ \__/_//_/ | https://github.com/torch
| http://torch.ch th>
注:这个方法唯一需要注意的是,在不连接VPN的情况下,可能会有下载失败的情况,多试几次就好了。
最新文章
- iOS 开发之路(WKWebView内嵌HTML5之图片上传) 五
- 微信小程序之明源商城系列-01-商城介绍及开发准备
- ORA-27101: shared memory realm does not exist
- python 2.7 简单模拟登陆网站
- 读Java Concurrency in Practice. 第六章.
- UVa1401 Remember the Word(DP+Trie树)
- hdu-4753-Fishhead’s Little Game-记忆化搜索
- iOS - 混合开发
- Public, Private and Protect
- 对象的继承关系在数据库中的实现方式和PowerDesigner设计
- 【推理】UVa 10771 - Barbarian tribes
- bash 脚本
- ViewPager 详解(一)---基本入门
- 使用View Model从表现层分离领域模型
- Delphi关键词
- Nginx+Keepalived 主备高可用 安装与配置
- 201521123115《Java程序设计》第2周学习总结
- Python序列化proto中repeated修饰的数据
- tensorflow models api:ValueError: Tensor conversion requested dtype string for Tensor with dtype float32: 'Tensor(";arg0:0";, shape=(), dtype=float32, device=/device:CPU:0)'
- matplot绘图
热门文章
- [置顶] Ubuntu 12.04中文输入法的安装
- [Javascript] Adding Shapes to Maps with Leaflet and GeoJSON
- LINUX 内核月报 taobao
- oracle表锁住 解锁办法
- NIO学习:使用Channel、Buffer写入文件
- Java基础知识强化之IO流笔记61:输入流 和 输出流 使用总结
- Java 实现折半查找
- 解决ubuntu16.04下的sublime text3不能使用Fcitx下的搜狗输入法的问题
- SVN修改已提交版本的日志
- Bootstrap教程