I am new to caffe, I am trying to normalize convolution output between 0 and 1 with minimal normalization.
Out = X - Xmin / (Xmax - Xmin)
I checked many levels (Power, Scale, Batch Normalization, MVN), but nobody gives me min-max Output normalization in layers. Can anyone help me out?
************* my prototype ******************
name: "normalizationCheck" layer { name: "data" type: "Input" top: "data" input_param { shape: { dim: 1 dim: 1 dim: 512 dim: 512 } } } layer { name: "normalize1" type: "Power" bottom: "data" top: "normalize1" power_param { shift: 0 scale: 0.00392156862 power: 1 } } layer { bottom: "normalize1" top: "Output" name: "conv1" type: "Convolution" convolution_param { num_output: 1 kernel_size: 1 pad: 0 stride: 1 bias_term: false weight_filler { type: "constant" value: 1 } } }
The convolution level output is not in normalized form. I want Min-Max Normalized to come out in Layer format. In manual mode, I can use the code, but I need in layers. thanks
source share