Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

lmbd error, data/lmdb: No such file or directory #18

Open
lasandcris opened this issue May 19, 2016 · 5 comments
Open

lmbd error, data/lmdb: No such file or directory #18

lasandcris opened this issue May 19, 2016 · 5 comments

Comments

@lasandcris
Copy link

lasandcris commented May 19, 2016

Hi,

I'm trying to run convert_movie.py using a single jpg as an input file and the default params file, however, I get the above error. Has anyone had this problem before?

thanks
laszlo

edit:
I set my args such as (all my paths and files are correct):

python convert_movie.py C:\dev\mxnet\deep3d\param --ctx 0 --source C:\dev\mxnet\deep3d\image\someImage.jpg --output C:\dev\mxnet\deep3d\output\out.jpg

@lasandcris
Copy link
Author

I've managed to get a couple of steps further. It was to do with data.py on line 264, at which point lmdb was trying to write a folder for the db. On windows, if I remove the readOnly flag or set it to false, it will work. But of course you will run the chance of overwriting your previous db.

But now got stuck at line 278.
self.idx = [int(i) for i in txn.get(source).split(',')]
and get an error:
NoneType object has no attribute split
As if the list is empty. So, now I'm not sure if its picking up the params file at all.

@piiswrong
Copy link
Owner

you need to make the database first

@lasandcris
Copy link
Author

lasandcris commented May 22, 2016

@piiswrong ,
I thought that was what lmdb was trying to do - at line 39, convert_movie.py calls data.py which then makes an lmdb folder for the db on line 264. or is that not right? I also saw one variable that's being passed if source which by default is indexing test_idx. Where can I find that? is that available for download?

can you share how to create a database?

@RadwanNada
Copy link

RadwanNada commented Jun 14, 2016

@lasandcris
Hi,

I am trying to run the code and I have errors in importing mxnet and creating my database seems you go further in this code could you help me

thanks

@liutianling
Copy link

@lasandcris Hi! I'm learning this program now. I also have the same problem of lmdb. Can you tell me how to solve it?Thanks.

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

No branches or pull requests

4 participants