MTCNN icon indicating copy to clipboard operation
MTCNN copied to clipboard

generate hdf5 file?

Open sunjunlishi opened this issue 8 years ago • 0 comments

labels = np.concatenate((label, regression_box, landmark), axis = 1) with h5py.File(train_file_path, 'w') as f: f['data'] = a f['labels'] = labels f['regression'] = regression_box f['landmark'] = landmark

there are no need to use f['regression'] = regression_box f['landmark'] = landmark
because labels = np.concatenate((label, regression_box, landmark), axis = 1) has regression and landmark

does right?

sunjunlishi avatar Jul 18 '17 01:07 sunjunlishi