Skip to content
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

cjson.so: undefined symbol: lua_objlen stack traceback: train.lua #89

Open
Malhabib opened this issue Mar 9, 2019 · 3 comments
Open

Comments

@Malhabib
Copy link

Malhabib commented Mar 9, 2019

/home/alhabib/torch/install/bin/lua: /home/alhabib/torch/install/share/lua/5.2/trepl/init.lua:389: .../alhabib/torch/install/share/lua/5.2/luarocks/loader.lua:117: error loading module 'cjson' from file '/home/alhabib/torch/install/lib/lua/5.2/cjson.so':
/home/alhabib/torch/install/lib/lua/5.2/cjson.so: undefined symbol: lua_objlen
stack traceback:
[C]: in function 'error'
/home/alhabib/torch/install/share/lua/5.2/trepl/init.lua:389: in function 'require'
train.lua:14: in main chunk
[C]: in function 'dofile'
...abib/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
[C]: in ?
I tried many solutions but non of them works, I'm using Torch 7 and cuda 8.0 , python 2.7, can anyone help me , it happend with (th train.lua) , the preprocessing step works fine.

@aurooj
Copy link

aurooj commented Jan 29, 2020

I am facing the same problem. Did you figure out the solution?

@aurooj
Copy link

aurooj commented Jan 29, 2020

This problem was solved by downgrading the cjon version as mentioned here:
mpx/lua-cjson#56 (comment)

@jainal09
Copy link

Hey,
Check this docker image I created for running dense cap in gpu!
https://hub.docker.com/r/jainal09/densecap_gpu

For Cpu version.
Use this docker file.
https://github.com/runwayml/alpha_models/blob/master/densecap/Dockerfile

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

No branches or pull requests

3 participants