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

别说谁变了你拦得住时间么 提交于 2019-12-12 17:20:15

问题


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!


回答1:


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.



来源:https://stackoverflow.com/questions/36384243/how-can-i-convert-data-which-form-is-matlab-file-to-lmdb-as-my-caffe-input

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!