From 45b795bf81a7737659554dc2d9534ddd339262b7 Mon Sep 17 00:00:00 2001 From: namish800 Date: Wed, 12 Dec 2018 17:42:14 +0530 Subject: [PATCH] Fix #391 --- example/caffe/All_CNN.prototxt | 3 +++ example/caffe/lenet.prototxt | 1 + example/caffe/siamese_mnist.prototxt | 1 + 3 files changed, 5 insertions(+) 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"