layer {
name: "data"
type: "Data"
top: "data"
top: "label"
include {
phase: TRAIN
}
transform_param {
mirror: true
crop_size: 224
mean_file: "data/mean.binaryproto"
}
data_param {
source: "data/train_lmdb"
batch_size: 32
backend: LMDB
}
image_data_param {
new_height: 256
new_width: 256
}
}
I1231 21:35:02.604929 25749 data_layer.cpp:44] output data size: 26,3,224,224
So it looks like the cropping is happening but the initial resize that I want is not. Does anyone know of a way to first resize and then crop?