deep3d
deep3d copied to clipboard
lmbd error, data/lmdb: No such file or directory
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
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.
you need to make the database first
@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?
@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
@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.