clc; clear all; num = 10; for i = 1 : num IM = imread(sprintf('E:\\TEST\\PtzTEST2015-8-9\\image1280x720\\morning\\0-1\\X\\%03d-1.jpg', i)); eval(sprintf('IM%d = IM;', i)); end str = 'save data.mat'; for i = 1 : num str = sprintf('%s IM%d ', str, i);
链接 LMDB is the database of choice when using Caffe with large datasets. This is a tutorial of how to create an LMDB database from Python. First, let’s look at the pros and cons of using LMDB over HDF5. Reasons to use HDF5: Simple format to read/write