jcjohnson / densecap

Dense image captioning in Torch
MIT License
1.58k stars 429 forks source link

users/my-name/torch/install/bin/luajit: cannot open run_model.lua: No such file or directory #79

Closed dishnawy closed 6 years ago

dishnawy commented 6 years ago

When I tried to run the command on the elephant.jpg image, I got that error command: th run_model.lua -gpu -1 -input_dir imgs -output_dir mydir

Error: /Users/myname/torch/install/bin/luajit: cannot open run_model.lua: No such file or directory stack traceback: [C]: in function 'dofile' ...myname/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk [C]: at 0x01038baeb0

I am a bit lost here, and not sure what is wrong after hours of investigating.

dishnawy commented 6 years ago

So I figured out the problem, and it is as simple as I had to run the code from the densecap-master folder