ubuntu16.04安装torch
来源:互联网 发布:单片机数据类型 编辑:程序博客网 时间:2024/04/28 02:09
下载torch安装包:
git clone https://github.com/torch/distro.git torch --recursive
安装依赖库:
cd torch/ sudo bash install-deps
安装好后会提示:
Torch7’s dependencies have been installed
安装torch:
sudo ./install.sh
安装到最后会提示是否将torch安装路径加入~/.bashrc文件中:
Do you want to automatically prepend the Torch install location
to PATH and LD_LIBRARY_PATH in your /home/qinghua/.bashrc? (yes/no)
选择自动添加,输入yes,按enter键即可.
终端输入th命令进入torch:
th
这时提示错误:
/usr/local/bin/th: 行 3: /home/qinghua/program/torch_src/torch/install/bin/luajit: 没有那个文件或目录
这是因为系统找不到torch安装路径,这时候需要更新环境变量,即运行:
source ~/.bashrc
重新输入th即可.
th
阅读全文
0 0
- ubuntu16.04安装torch
- ubuntu16.04安装torch
- ubuntu16安装Torch
- char-cnn+torch+ubuntu16.04(RNN) 安装过程
- Ubuntu16.04+CUDA8+cuDNN5.1+GTX1070安装Torch
- Ubuntu16.04下Torch安装&程序运行笔记(Is object localization for free?)
- ubuntu14.04 安装Torch
- torch安装(ubuntu14.04)
- torch安装
- Torch安装
- torch 安装
- Torch安装
- Torch安装
- torch 安装
- torch安装
- Ubuntu16.04 +cuda8.0+cudnn+opencv3.1.0+tensorflow+torch配置明细
- torch在ubuntu16.04下的搭建(cuda9.0+cudnn7.0)
- Ubuntu16.04安装chrome
- nagios监控++服务端、客户端
- MySQL-外键约束的参照操作
- Android apk包生成二维码给他人体验
- SwipeRefreshLayout和ViewPager滑动冲突的原因和正确的解决方式
- poj 1833 排列
- ubuntu16.04安装torch
- 贪心算法
- jquery实现下拉选的模糊查询功能
- Win10 ppap.exe是什么进程?ppap.exe怎么关闭
- Express The header content contains invalid characters
- mysql事务,select for update,及数据的一致性处理
- okhttp java.lang.IllegalStateException: cache is closed
- lintcode安排课程答案
- Map<String,String> colMap = new HashMap<String,String>();和HashMap<String,String> colMap =Map和HashMap