-
Notifications
You must be signed in to change notification settings - Fork 24
loading existing lmdb data into matlab #4
Comments
@swamiviv The path should be the LMDB directory, not the internal file. |
@kyamagu Thanks, that was stupid of me! I did that and was able to read the keys and values. The keys are fine but the values I read seem like garbage or in some encrypted form. Do you have any idea why this happens ? I am doing this to read the feature outputs from a trained caffe deep network. |
@swamiviv They are serialized Datum. You have to write a function to decode the datum. I have a code for uncompressed datum, EDIT: I've updated the sample datum converter. |
Thanks a lot! It works great! |
Hi, |
Hi Linzert, You can find the installed libraries on linux by using locate, something On Sat, Jun 20, 2015 at 7:59 PM, Linzert [email protected] wrote:
--Swami |
@swamiviv Thanks for your reply!Just as you know,caffe should depend on lmdb and we install lmdb by apt-get install on linux,I tried all the path list on 'locate lmdb' but still get the error message "Error using LMDB No such file or directory".What's wrong with it? |
@Linzert You're very likely specifying the wrong file. Please post your error and how you are using the lmdb API. |
@kyamagu First,thanks for your reply!After downloading the wrapper,I put it in the path $MATLAB-LMDB,unpack it and configure the Makefile.Then I do this in the terminal: When it succeeds,I run matlab and in the command window,I input database=lmdb.DB('PATH_TO_LMDB','RDONLY',true),and the error message is: Error using LMDB What's wrong with it? |
|
I have the same question with swamiviv.I read the values like garbage,too. |
@sliencestorm https://gist.github.com/kyamagu/31a4b6f782670a28098b |
My colleagues and I still can't open the link, do you have other ways to solve this matter, I am looking forward to your reply, thank you |
@sliencestorm That is very likely a network problem on your side. Make sure you do not have any proxy blocking your access to gist.github.com |
@kyamagu Thank you for your replay. |
@sliencestorm Check the caffe-extension branch. |
@swamiviv I can access to the link, thank you very much. |
Hi,
I am wondering how to use this package to load existing .mdb files into matlab ? I tried this:
database = lmdb.DB(<path-to-mdb-file>,'RDONLY',true);
but without success:
Error using LMDB_
Not a directory
Error in lmdb.DB (line 65)
this.id_ = LMDB_('new', filename, varargin{:});
Could you please clarify this ?
The text was updated successfully, but these errors were encountered: