[example] upgrade fine-tuning example to new transformation param
authorEvan Shelhamer <shelhamer@imaginarynumber.net>
Wed, 3 Sep 2014 20:58:00 +0000 (13:58 -0700)
committerEvan Shelhamer <shelhamer@imaginarynumber.net>
Wed, 3 Sep 2014 20:58:00 +0000 (13:58 -0700)
examples/finetune_flickr_style/flickr_style_train_val.prototxt

index bcb1e1c..46a198a 100644 (file)
@@ -7,14 +7,14 @@ layers {
   image_data_param {
     source: "data/flickr_style/train.txt"
     batch_size: 50
-    transform_param {
-      crop_size: 227
-      mean_file: "data/ilsvrc12/imagenet_mean.binaryproto"
-      mirror: true
-    }
     new_height: 256
     new_width: 256
   }
+  transform_param {
+    crop_size: 227
+    mean_file: "data/ilsvrc12/imagenet_mean.binaryproto"
+    mirror: true
+  }
   include: { phase: TRAIN }
 }
 layers {
@@ -25,14 +25,14 @@ layers {
   image_data_param {
     source: "data/flickr_style/train.txt"
     batch_size: 50
-    transform_param {
-      crop_size: 227
-      mean_file: "data/ilsvrc12/imagenet_mean.binaryproto"
-      mirror: true
-    }
     new_height: 256
     new_width: 256
   }
+  transform_param {
+    crop_size: 227
+    mean_file: "data/ilsvrc12/imagenet_mean.binaryproto"
+    mirror: false
+  }
   include: { phase: TEST }
 }
 layers {