-
Notifications
You must be signed in to change notification settings - Fork 429
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No LuaRocks module found for densecap-master/densecap/DenseCapModel #88
Comments
I am seeing similar error - |
Hey, For Cpu version. |
I'm currently having this exact error as well, it's the last thing preventing me from having a fully working version of DenseCap in Google Colab. It seems that maybe the require function isn't working as expected? It's looking for files that definitely aren't there. |
@ZanderBrumbaugh colab uses different ubuntu version this project requires ubuntu 14.0 to compile. Hence try the above docker images. |
Interesting. I have DenseCap fully working on my Ubunutu VM which is version 20.04. I'll look into it tomorrow and ask any further questions if they come up. Thanks. |
Yeah, I wasn't able to get Docker or Docker-py working in Google Colab either. That's pretty much the whole critical element of my research, making this tech really accessible. A notebook is the best way to do that and I've gotten the whole program working except for that one require error which is looking for files that aren't there. As I mentioned, it works in 20.04, so I feel there's a solution, even if it involves editing some files. |
I am trying to run densecap on my ubuntu 20.04 but I am not able to install the dependencies properly and thus can't run the run_model.lua file. I dont have any gpu and trying to run it on cpu only - on custom images. |
这是来自名扬天下的QQ邮箱的自动回复!您好,您的邮件已经发送至名扬天下的邮箱,我会尽快查收。
|
Hi
I run your code. I facing this error.
$ th run_model.lua -input_image imgs/elephant.jpg
/home/mrrl/torch/install/bin/luajit: /home/mrrl/torch/install/share/lua/5.1/trepl/init.lua:389: module 'densecap-master/densecap/DenseCapModel' not found:No LuaRocks module found for densecap-master/densecap/DenseCapModel
no field package.preload['densecap-master/densecap/DenseCapModel']
no file '/home/mrrl/.luarocks/share/lua/5.1/densecap-master/densecap/DenseCapModel.lua'
no file '/home/mrrl/.luarocks/share/lua/5.1/densecap-master/densecap/DenseCapModel/init.lua'
no file '/home/mrrl/torch/install/share/lua/5.1/densecap-master/densecap/DenseCapModel.lua'
no file '/home/mrrl/torch/install/share/lua/5.1/densecap-master/densecap/DenseCapModel/init.lua'
no file './densecap-master/densecap/DenseCapModel.lua'
no file '/home/mrrl/torch/install/share/luajit-2.1.0-beta1/densecap-master/densecap/DenseCapModel.lua'
no file '/usr/local/share/lua/5.1/densecap-master/densecap/DenseCapModel.lua'
no file '/usr/local/share/lua/5.1/densecap-master/densecap/DenseCapModel/init.lua'
no file '/home/mrrl/.luarocks/lib/lua/5.1/densecap-master/densecap/DenseCapModel.so'
no file '/home/mrrl/torch/install/lib/lua/5.1/densecap-master/densecap/DenseCapModel.so'
no file '/home/mrrl/torch/install/lib/densecap-master/densecap/DenseCapModel.so'
no file './densecap-master/densecap/DenseCapModel.so'
no file '/usr/local/lib/lua/5.1/densecap-master/densecap/DenseCapModel.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
stack traceback:
[C]: in function 'error'
/home/mrrl/torch/install/share/lua/5.1/trepl/init.lua:389: in function 'require'
run_model.lua:5: in main chunk
[C]: in function 'dofile'
...mrrl/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
[C]: at 0x00406980
can you help me?
The text was updated successfully, but these errors were encountered: