I used hdf5 file as caffe input data, and the error occured:
hdf5_data_layer.cpp:75] Check failed: !this->layer_param_.has_transform_param() HDF5Data does not transform data.
This is my defination:
layer {
name: "weight28"
type: "HDF5Data"
include { phase : TRAIN }
transform_param { scale: 0.00392156862745098 }
hdf5_data_param {
source: "/home/zhangyu/codes/unsupervised/data/weight28.h5"
batch_size: 8
}
top: "weight28"
}
Here is some information of my h5 file:
HDF5 weight28.h5
Group '/'
Dataset 'data'
Size: 2555000x28
MaxSize: Infx28
Datatype: H5T_IEEE_F64LE (double)
ChunkSize: 28x28
Filters: none
FillValue: 0.000000
I find a similar question and the answer said You cannot use transform param in the hdf5data layer.
What dose data transform in caffe do? Can I just cancel it?