lmdb.torch
lmdb.torch copied to clipboard
require lmdb failed
I think I have installed the lmdb wrapper for torch. However torch is not able to require 'lmdb'. My system is ubuntu 16.04. The following error is thrown. I can't seem to figure out what the problem is. Please help: th> require 'lmdb' lua: parser.c:2059: parse_root: Assertion `lua_gettop(L) == top' failed. Aborted (core dumped)
I followed the instructions in https://github.com/soumith/dcgan.torch to install lmdb: sudo apt-get install liblmdb-dev luarocks install lmdb.torch
And I also tried: 1.sudo apt-get install liblmdb-dev 2.git clone https://github.com/eladhoffer/lmdb.torch 3.cd lmdb.torch/ 4.luarocks install lmdb.torch-scm-1.rockspec
Both not work. However, I can successfully install and require lmdb on my Mac book.
Hi bottlecapper,
I am facing the similar issue, I have installed torch with LUA_VERSION = LUA51.
on running the training, it throws me the same error
lua: parser.c:2059: parse_root: Assertion `lua_gettop(L) == top' failed. Aborted (core dumped).
Did you get thru this & figure out whats wrong.
Thanks, Ashwini
Dear Ashwini, I still have that problem on Ubuntu. Instead, I switch to Mac.
Best,
On Tue, Jul 18, 2017 at 4:47 PM, aks009 [email protected] wrote:
Hi bottlecapper,
I am facing the similar issue, I have installed torch with LUA_VERSION = LUA51.
on running the training, it throws me the same error
lua: parser.c:2059: parse_root: Assertion `lua_gettop(L) == top' failed. Aborted (core dumped).
Did you get thru this & figure out whats wrong.
Thanks, Ashwini
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/eladhoffer/lmdb.torch/issues/17#issuecomment-316053002, or mute the thread https://github.com/notifications/unsubscribe-auth/AYPOTM2NBc45DoRjPsNUESFA4PsIJFKnks5sPKlcgaJpZM4Nzpf4 .