diff --git a/example/caffe/All_CNN.prototxt b/example/caffe/All_CNN.prototxt index 842ebd9b1..b6bfb725d 100644 --- a/example/caffe/All_CNN.prototxt +++ b/example/caffe/All_CNN.prototxt @@ -7,6 +7,9 @@ layer { include { phase: TRAIN } + transform_param{ + crop_size: 32 + } data_param { # path to GCN preprocessed and ZCA whitened cifar-10 train data source: "cifar-10_train_lmdb" diff --git a/example/caffe/lenet.prototxt b/example/caffe/lenet.prototxt index a9175bdb7..b0248e57d 100644 --- a/example/caffe/lenet.prototxt +++ b/example/caffe/lenet.prototxt @@ -9,6 +9,7 @@ layer { } transform_param { scale: 0.00390625 + crop_size: 28 } data_param { source: "examples/mnist/mnist_train_lmdb" diff --git a/example/caffe/siamese_mnist.prototxt b/example/caffe/siamese_mnist.prototxt index 8baa1fc5d..13d7d982a 100644 --- a/example/caffe/siamese_mnist.prototxt +++ b/example/caffe/siamese_mnist.prototxt @@ -9,6 +9,7 @@ layer { } transform_param { scale: 0.00390625 + crop_size: 28 } data_param { source: "examples/siamese/mnist_siamese_train_leveldb"