layer {
type: "ImageData"
image_data_param {
batch_size: 8
new_height: 256
new_width: 256
}
transform_param {
crop_size: 227
}
}
layer {
type: "Input"
input_param { shape: { dim: 1 dim: 3 dim: 256 dim: 256 }}
}
Cannot copy param 0 weights from layer 'fc4'; shape mismatch. Source param shape is 8 26912 (215296); target param shape is 8 32768 (262144).
// stack: caffe::Net<>::CopyTrainedLayersFrom()
crop_size
param of input layers. Official tutorial says: random cropping can be done as simple data augmentation. And I thought it's something like random crop & scale with peserving main size (256).new_height
and new_width
parameters?input_param shape
to 227 during deploy, I get Network should have exactly one input error. Is it because of new input size of the model?