Open baricks opened 7 years ago
run this command again:
luarocks install https://raw.githubusercontent.com/jcjohnson/torch-rnn/master/torch-rnn-scm-1.rockspec
I had the same issue. Perhaps it updates the dependency.
Additionally - I had this error when trying to run the model on files in a folder:
PANIC: unprotected error in call to Lua API (not enough memory)
So, I updated lua with:
cd ~/torch ./clean.sh TORCH_LUA_VERSION=LUA52 ./install.sh
and then updated these:
luarocks install https://raw.githubusercontent.com/qassemoquab/stnbhwd/master/stnbhwd-scm-1.rockspec luarocks install https://raw.githubusercontent.com/jcjohnson/torch-rnn/master/torch-rnn-scm-1.rockspec
and I could run the model again perfectly.
Hi,
Newbie here. I'm trying to get densecap running on the pre-trained model but my system can't seem to locate the torch-rnn module. I suspect something's up with the pathways.
I run:
th run_model.lua -input_image imgs/elephant.jpg -gpu -1
This is the error I'm getting: