How can I generate data layer (HDF5) for training and testing in same prototxt?
问题 I have a data layer with HDF5 type. It contains both Train and Test phase as expected name: "LogisticRegressionNet" layer { name: "data" type: "HDF5Data" top: "data" top: "label" include { phase: TRAIN } hdf5_data_param { source: "examples/hdf5_classification/data/train.txt" batch_size: 10 } } layer { name: "data" type: "HDF5Data" top: "data" top: "label" include { phase: TEST } hdf5_data_param { source: "examples/hdf5_classification/data/test.txt" batch_size: 10 } } I want to use python to