.lua文件not found,那你需要一个成功安装torch教
2018-04-11 本文已影响0人
水球喵
由于stackgan项目需要,来安装个torch
http://torch.ch/docs/getting-started.html 官网教程
执行下面三步,要求输入秘码就输入密码,#后是注释
git clone https://github.com/torch/distro.git ~/torch --recursive
cd ~/torch; bash install-deps;
./install.sh
source ~/.bashrc #刷新环境变量配置,得输入yes
vi /etc/profile #添加环境变量
PATH=~/torch/install/bin:$PATH #在profile文件的加Path区域写上这句话
验证是否安装成功
th #直接输入
出现
