Search code examples
machine-learningneural-networkdeep-learningcaffematcaffe

How can I convert data which form is matlab file to LMDB as my caffe input?


I have a data set which form is matlab file.
The data set contains 600,000 samples and every sample is a matrix of 7-by-256.
My data is not image but signal.
I want to use CNN of caffe to train the data.
So how can I convert it to LMDB as my input of CNN.

I'm badly need the solution!


Solution

  • Converting data in matlab directly to lmdb might be a little tricky.

    Why don't you try exporting your data to hdf5 binary files (supported both by matlab and caffe)?

    Here is an answer describing how this can be done.