Skip to content
This repository has been archived by the owner on Apr 2, 2020. It is now read-only.

Issues building on Ubuntu 14.04LTS #18

Open
vkee opened this issue Sep 20, 2016 · 4 comments
Open

Issues building on Ubuntu 14.04LTS #18

vkee opened this issue Sep 20, 2016 · 4 comments

Comments

@vkee
Copy link

vkee commented Sep 20, 2016

Hi,

I am trying to rebuild this on Ubuntu 14.04 LTS but am having issues running the build.sh script.

It terminates with this message:

++ echo 'Installing TH++'
Installing TH++
++ echo

++ cd /tmp/fblualib-build.ToJQjz/thpp/thpp
++ ./build.sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1582 100 1582 0 0 4777 0 --:--:-- --:--:-- --:--:-- 4779
Invalid gtest-1.7.0.zip file

Previously, when I tried to run th torch2caffe/torch2caffe.lua --help, I got

/home/vkee/torch/install/bin/luajit: /home/vkee/torch/install/share/lua/5.1/trepl/init.lua:384: /home/vkee/torch/install/share/lua/5.1/trepl/init.lua:384: module 'fbtorch' not found:No LuaRocks module found for fbtorch
no field package.preload['fbtorch']
no file '/home/vkee/.luarocks/share/lua/5.1/fbtorch.lua'
no file '/home/vkee/.luarocks/share/lua/5.1/fbtorch/init.lua'
no file '/home/vkee/torch/install/share/lua/5.1/fbtorch.lua'
no file '/home/vkee/torch/install/share/lua/5.1/fbtorch/init.lua'
no file './fbtorch.lua'
no file '/home/vkee/torch/install/share/luajit-2.1.0-beta1/fbtorch.lua'
no file '/usr/local/share/lua/5.1/fbtorch.lua'
no file '/usr/local/share/lua/5.1/fbtorch/init.lua'
no file '/home/vkee/.luarocks/lib/lua/5.1/fbtorch.so'
no file '/home/vkee/torch/install/lib/lua/5.1/fbtorch.so'
no file '/home/vkee/torch/install/lib/fbtorch.so'
no file './fbtorch.so'
no file '/usr/local/lib/lua/5.1/fbtorch.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
stack traceback:
[C]: in function 'error'
/home/vkee/torch/install/share/lua/5.1/trepl/init.lua:384: in function 'require'
torch2caffe/torch2caffe.lua:9: in main chunk
[C]: in function 'dofile'
...vkee/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:145: in main chunk
[C]: at 0x00406670

@nszceta
Copy link

nszceta commented Sep 28, 2016

@biggerlambda
Copy link

were you able to successfully use torch2caffe? I get the error that the torch2caffe.lib file is not found?

@iceflame89
Copy link

@biggerlambda you should run outside torch2caffe , so that lua could find torch2caffe/lib.lua

th torch2caffe/torch2caffe.lua  --input xxx

@huyn
Copy link

huyn commented Nov 6, 2017

try install fbtorch by

luarocks install --server=http://luarocks.org/dev fbtorch

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants