From 76c8497e27ee5fca9bbda46cb01c96ac4a3959a7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=EB=B0=95=EC=A2=85=ED=98=84/On-Device=20Lab=28SR=29/Staff?= =?utf8?q?=20Engineer/=EC=82=BC=EC=84=B1=EC=A0=84=EC=9E=90?= Date: Wed, 19 Jun 2019 12:45:58 +0900 Subject: [PATCH] Add BVLCCaffeTest resource (#3868) This commit adds BVLCCaffeTest resource which includes various caffe prototxt for testing. Signed-off-by: Jonghyun Park --- res/BVLCCaffeTests/BatchNorm_000/INFERENCE | 0 res/BVLCCaffeTests/BatchNorm_000/test.prototxt | 17 ++ res/BVLCCaffeTests/Concat_000/INFERENCE | 0 res/BVLCCaffeTests/Concat_000/test.prototxt | 23 +++ res/BVLCCaffeTests/Convolution_000/INFERENCE | 0 res/BVLCCaffeTests/Convolution_000/test.prototxt | 23 +++ res/BVLCCaffeTests/Convolution_001/INFERENCE | 0 res/BVLCCaffeTests/Convolution_001/test.prototxt | 24 +++ res/BVLCCaffeTests/Convolution_002/INFERENCE | 0 res/BVLCCaffeTests/Convolution_002/test.prototxt | 24 +++ res/BVLCCaffeTests/Convolution_003/INFERENCE | 0 res/BVLCCaffeTests/Convolution_003/test.prototxt | 25 +++ res/BVLCCaffeTests/Convolution_004/INFERENCE | 0 res/BVLCCaffeTests/Convolution_004/test.prototxt | 24 +++ res/BVLCCaffeTests/Convolution_005/INFERENCE | 0 res/BVLCCaffeTests/Convolution_005/test.prototxt | 21 ++ res/BVLCCaffeTests/Convolution_006/INFERENCE | 0 res/BVLCCaffeTests/Convolution_006/test.prototxt | 24 +++ res/BVLCCaffeTests/Convolution_007/INFERENCE | 0 res/BVLCCaffeTests/Convolution_007/test.prototxt | 26 +++ res/BVLCCaffeTests/Eltwise_000/INFERENCE | 0 res/BVLCCaffeTests/Eltwise_000/test.prototxt | 20 ++ res/BVLCCaffeTests/Eltwise_001/INFERENCE | 0 res/BVLCCaffeTests/Eltwise_001/test.prototxt | 20 ++ res/BVLCCaffeTests/Input_000/INFERENCE | 0 res/BVLCCaffeTests/Input_000/test.prototxt | 8 + res/BVLCCaffeTests/Input_001/INFERENCE | 0 res/BVLCCaffeTests/Input_001/test.prototxt | 12 ++ res/BVLCCaffeTests/Pooling_000/INFERENCE | 0 res/BVLCCaffeTests/Pooling_000/test.prototxt | 16 ++ res/BVLCCaffeTests/Pooling_001/INFERENCE | 0 res/BVLCCaffeTests/Pooling_001/test.prototxt | 17 ++ res/BVLCCaffeTests/Pooling_002/INFERENCE | 0 res/BVLCCaffeTests/Pooling_002/test.prototxt | 16 ++ res/BVLCCaffeTests/Pooling_003/INFERENCE | 0 res/BVLCCaffeTests/Pooling_003/test.prototxt | 17 ++ res/BVLCCaffeTests/Pooling_004/INFERENCE | 0 res/BVLCCaffeTests/Pooling_004/test.prototxt | 17 ++ res/BVLCCaffeTests/Pooling_005/INFERENCE | 0 res/BVLCCaffeTests/Pooling_005/test.prototxt | 17 ++ res/BVLCCaffeTests/ReLU_000/INFERENCE | 0 res/BVLCCaffeTests/ReLU_000/test.prototxt | 14 ++ res/BVLCCaffeTests/Regression_0000/INFERENCE | 0 res/BVLCCaffeTests/Regression_0000/test.prototxt | 17 ++ res/BVLCCaffeTests/Scale_000/INFERENCE | 0 res/BVLCCaffeTests/Scale_000/test.prototxt | 16 ++ res/BVLCCaffeTests/Scale_001/INFERENCE | 0 res/BVLCCaffeTests/Scale_001/test.prototxt | 17 ++ res/BVLCCaffeTests/inception_c1/INFERENCE | 0 res/BVLCCaffeTests/inception_c1/test.prototxt | 252 +++++++++++++++++++++++ res/BVLCCaffeTests/residual/INFERENCE | 0 res/BVLCCaffeTests/residual/test.prototxt | 72 +++++++ res/BVLCCaffeTests/residual_bn/INFERENCE | 0 res/BVLCCaffeTests/residual_bn/test.prototxt | 110 ++++++++++ 54 files changed, 889 insertions(+) create mode 100644 res/BVLCCaffeTests/BatchNorm_000/INFERENCE create mode 100644 res/BVLCCaffeTests/BatchNorm_000/test.prototxt create mode 100644 res/BVLCCaffeTests/Concat_000/INFERENCE create mode 100644 res/BVLCCaffeTests/Concat_000/test.prototxt create mode 100644 res/BVLCCaffeTests/Convolution_000/INFERENCE create mode 100644 res/BVLCCaffeTests/Convolution_000/test.prototxt create mode 100644 res/BVLCCaffeTests/Convolution_001/INFERENCE create mode 100644 res/BVLCCaffeTests/Convolution_001/test.prototxt create mode 100644 res/BVLCCaffeTests/Convolution_002/INFERENCE create mode 100644 res/BVLCCaffeTests/Convolution_002/test.prototxt create mode 100644 res/BVLCCaffeTests/Convolution_003/INFERENCE create mode 100644 res/BVLCCaffeTests/Convolution_003/test.prototxt create mode 100644 res/BVLCCaffeTests/Convolution_004/INFERENCE create mode 100644 res/BVLCCaffeTests/Convolution_004/test.prototxt create mode 100644 res/BVLCCaffeTests/Convolution_005/INFERENCE create mode 100644 res/BVLCCaffeTests/Convolution_005/test.prototxt create mode 100644 res/BVLCCaffeTests/Convolution_006/INFERENCE create mode 100644 res/BVLCCaffeTests/Convolution_006/test.prototxt create mode 100644 res/BVLCCaffeTests/Convolution_007/INFERENCE create mode 100644 res/BVLCCaffeTests/Convolution_007/test.prototxt create mode 100644 res/BVLCCaffeTests/Eltwise_000/INFERENCE create mode 100644 res/BVLCCaffeTests/Eltwise_000/test.prototxt create mode 100644 res/BVLCCaffeTests/Eltwise_001/INFERENCE create mode 100644 res/BVLCCaffeTests/Eltwise_001/test.prototxt create mode 100644 res/BVLCCaffeTests/Input_000/INFERENCE create mode 100644 res/BVLCCaffeTests/Input_000/test.prototxt create mode 100644 res/BVLCCaffeTests/Input_001/INFERENCE create mode 100644 res/BVLCCaffeTests/Input_001/test.prototxt create mode 100644 res/BVLCCaffeTests/Pooling_000/INFERENCE create mode 100644 res/BVLCCaffeTests/Pooling_000/test.prototxt create mode 100644 res/BVLCCaffeTests/Pooling_001/INFERENCE create mode 100644 res/BVLCCaffeTests/Pooling_001/test.prototxt create mode 100644 res/BVLCCaffeTests/Pooling_002/INFERENCE create mode 100644 res/BVLCCaffeTests/Pooling_002/test.prototxt create mode 100644 res/BVLCCaffeTests/Pooling_003/INFERENCE create mode 100644 res/BVLCCaffeTests/Pooling_003/test.prototxt create mode 100644 res/BVLCCaffeTests/Pooling_004/INFERENCE create mode 100644 res/BVLCCaffeTests/Pooling_004/test.prototxt create mode 100644 res/BVLCCaffeTests/Pooling_005/INFERENCE create mode 100644 res/BVLCCaffeTests/Pooling_005/test.prototxt create mode 100644 res/BVLCCaffeTests/ReLU_000/INFERENCE create mode 100644 res/BVLCCaffeTests/ReLU_000/test.prototxt create mode 100644 res/BVLCCaffeTests/Regression_0000/INFERENCE create mode 100644 res/BVLCCaffeTests/Regression_0000/test.prototxt create mode 100644 res/BVLCCaffeTests/Scale_000/INFERENCE create mode 100644 res/BVLCCaffeTests/Scale_000/test.prototxt create mode 100644 res/BVLCCaffeTests/Scale_001/INFERENCE create mode 100644 res/BVLCCaffeTests/Scale_001/test.prototxt create mode 100644 res/BVLCCaffeTests/inception_c1/INFERENCE create mode 100644 res/BVLCCaffeTests/inception_c1/test.prototxt create mode 100644 res/BVLCCaffeTests/residual/INFERENCE create mode 100644 res/BVLCCaffeTests/residual/test.prototxt create mode 100644 res/BVLCCaffeTests/residual_bn/INFERENCE create mode 100644 res/BVLCCaffeTests/residual_bn/test.prototxt diff --git a/res/BVLCCaffeTests/BatchNorm_000/INFERENCE b/res/BVLCCaffeTests/BatchNorm_000/INFERENCE new file mode 100644 index 0000000..e69de29 diff --git a/res/BVLCCaffeTests/BatchNorm_000/test.prototxt b/res/BVLCCaffeTests/BatchNorm_000/test.prototxt new file mode 100644 index 0000000..7c0f19d --- /dev/null +++ b/res/BVLCCaffeTests/BatchNorm_000/test.prototxt @@ -0,0 +1,17 @@ +layer { + name: "data" + type: "Input" + top: "data" + input_param { + shape: { dim: 1 dim: 3 dim: 4 dim: 4 } + } +} +layer { + name: "batchnorm" + type: "BatchNorm" + bottom: "data" + top: "batchnorm" + batch_norm_param { + use_global_stats: true + } +} diff --git a/res/BVLCCaffeTests/Concat_000/INFERENCE b/res/BVLCCaffeTests/Concat_000/INFERENCE new file mode 100644 index 0000000..e69de29 diff --git a/res/BVLCCaffeTests/Concat_000/test.prototxt b/res/BVLCCaffeTests/Concat_000/test.prototxt new file mode 100644 index 0000000..0c2ee89 --- /dev/null +++ b/res/BVLCCaffeTests/Concat_000/test.prototxt @@ -0,0 +1,23 @@ +layer { + name: "data" + type: "Input" + top: "data1" + top: "data2" + top: "data3" + top: "data4" + input_param { + shape: { dim: 1 dim: 1 dim: 4 dim: 4 } + shape: { dim: 1 dim: 2 dim: 4 dim: 4 } + shape: { dim: 1 dim: 3 dim: 4 dim: 4 } + shape: { dim: 1 dim: 4 dim: 4 dim: 4 } + } +} +layer { + name: "concat" + type: "Concat" + bottom: "data1" + bottom: "data2" + bottom: "data3" + bottom: "data4" + top: "concat" +} diff --git a/res/BVLCCaffeTests/Convolution_000/INFERENCE b/res/BVLCCaffeTests/Convolution_000/INFERENCE new file mode 100644 index 0000000..e69de29 diff --git a/res/BVLCCaffeTests/Convolution_000/test.prototxt b/res/BVLCCaffeTests/Convolution_000/test.prototxt new file mode 100644 index 0000000..b56731c --- /dev/null +++ b/res/BVLCCaffeTests/Convolution_000/test.prototxt @@ -0,0 +1,23 @@ +layer { + name: "data" + type: "Input" + top: "data" + input_param { + shape: { dim: 1 dim: 3 dim: 4 dim: 4 } + } +} +layer { + name: "conv" + type: "Convolution" + bottom: "data" + top: "conv" + convolution_param { + bias_term: false + num_output: 2 + kernel_size: 1 + weight_filler { + type: "gaussian" + std: 0.01 + } + } +} diff --git a/res/BVLCCaffeTests/Convolution_001/INFERENCE b/res/BVLCCaffeTests/Convolution_001/INFERENCE new file mode 100644 index 0000000..e69de29 diff --git a/res/BVLCCaffeTests/Convolution_001/test.prototxt b/res/BVLCCaffeTests/Convolution_001/test.prototxt new file mode 100644 index 0000000..5b6b5c8 --- /dev/null +++ b/res/BVLCCaffeTests/Convolution_001/test.prototxt @@ -0,0 +1,24 @@ +layer { + name: "data" + type: "Input" + top: "data" + input_param { + shape: { dim: 1 dim: 3 dim: 15 dim: 15 } + } +} +layer { + name: "conv" + type: "Convolution" + bottom: "data" + top: "conv" + convolution_param { + bias_term: false + num_output: 2 + stride: 2 + kernel_size: 3 + weight_filler { + type: "gaussian" + std: 0.01 + } + } +} diff --git a/res/BVLCCaffeTests/Convolution_002/INFERENCE b/res/BVLCCaffeTests/Convolution_002/INFERENCE new file mode 100644 index 0000000..e69de29 diff --git a/res/BVLCCaffeTests/Convolution_002/test.prototxt b/res/BVLCCaffeTests/Convolution_002/test.prototxt new file mode 100644 index 0000000..7cd59be --- /dev/null +++ b/res/BVLCCaffeTests/Convolution_002/test.prototxt @@ -0,0 +1,24 @@ +layer { + name: "data" + type: "Input" + top: "data" + input_param { + shape: { dim: 1 dim: 3 dim: 16 dim: 16 } + } +} +layer { + name: "conv" + type: "Convolution" + bottom: "data" + top: "conv" + convolution_param { + bias_term: false + num_output: 2 + pad: 1 + kernel_size: 3 + weight_filler { + type: "gaussian" + std: 0.01 + } + } +} diff --git a/res/BVLCCaffeTests/Convolution_003/INFERENCE b/res/BVLCCaffeTests/Convolution_003/INFERENCE new file mode 100644 index 0000000..e69de29 diff --git a/res/BVLCCaffeTests/Convolution_003/test.prototxt b/res/BVLCCaffeTests/Convolution_003/test.prototxt new file mode 100644 index 0000000..38c4ebd --- /dev/null +++ b/res/BVLCCaffeTests/Convolution_003/test.prototxt @@ -0,0 +1,25 @@ +layer { + name: "data" + type: "Input" + top: "data" + input_param { + shape: { dim: 1 dim: 3 dim: 16 dim: 16 } + } +} +layer { + name: "conv" + type: "Convolution" + bottom: "data" + top: "conv" + convolution_param { + bias_term: false + num_output: 2 + pad: 1 + pad: 2 + kernel_size: 3 + weight_filler { + type: "gaussian" + std: 0.01 + } + } +} diff --git a/res/BVLCCaffeTests/Convolution_004/INFERENCE b/res/BVLCCaffeTests/Convolution_004/INFERENCE new file mode 100644 index 0000000..e69de29 diff --git a/res/BVLCCaffeTests/Convolution_004/test.prototxt b/res/BVLCCaffeTests/Convolution_004/test.prototxt new file mode 100644 index 0000000..76b1039 --- /dev/null +++ b/res/BVLCCaffeTests/Convolution_004/test.prototxt @@ -0,0 +1,24 @@ +layer { + name: "data" + type: "Input" + top: "data" + input_param { + shape: { dim: 1 dim: 3 dim: 16 dim: 16 } + } +} +layer { + name: "conv" + type: "Convolution" + bottom: "data" + top: "conv" + convolution_param { + bias_term: false + num_output: 2 + kernel_h: 3 + kernel_w: 1 + weight_filler { + type: "gaussian" + std: 0.01 + } + } +} diff --git a/res/BVLCCaffeTests/Convolution_005/INFERENCE b/res/BVLCCaffeTests/Convolution_005/INFERENCE new file mode 100644 index 0000000..e69de29 diff --git a/res/BVLCCaffeTests/Convolution_005/test.prototxt b/res/BVLCCaffeTests/Convolution_005/test.prototxt new file mode 100644 index 0000000..93104fe --- /dev/null +++ b/res/BVLCCaffeTests/Convolution_005/test.prototxt @@ -0,0 +1,21 @@ +layer { + name: "data" + type: "Input" + top: "data" + input_param { + shape: { dim: 1 dim: 3 dim: 15 dim: 15 } + } +} +layer { + name: "conv" + type: "Convolution" + bottom: "data" + top: "conv" + convolution_param { + bias_term: false + num_output: 2 + pad_h: 0 + pad_w: 3 + kernel_size: 7 + } +} diff --git a/res/BVLCCaffeTests/Convolution_006/INFERENCE b/res/BVLCCaffeTests/Convolution_006/INFERENCE new file mode 100644 index 0000000..e69de29 diff --git a/res/BVLCCaffeTests/Convolution_006/test.prototxt b/res/BVLCCaffeTests/Convolution_006/test.prototxt new file mode 100644 index 0000000..f50a007 --- /dev/null +++ b/res/BVLCCaffeTests/Convolution_006/test.prototxt @@ -0,0 +1,24 @@ +layer { + name: "data" + type: "Input" + top: "data" + input_param { + shape: { dim: 1 dim: 3 dim: 16 dim: 16 } + } +} +layer { + name: "dconv" + type: "Convolution" + bottom: "data" + top: "dconv" + convolution_param { + group: 3 + num_output: 3 + bias_term: false + kernel_size: 3 + weight_filler { + type: "gaussian" + std: 0.01 + } + } +} diff --git a/res/BVLCCaffeTests/Convolution_007/INFERENCE b/res/BVLCCaffeTests/Convolution_007/INFERENCE new file mode 100644 index 0000000..e69de29 diff --git a/res/BVLCCaffeTests/Convolution_007/test.prototxt b/res/BVLCCaffeTests/Convolution_007/test.prototxt new file mode 100644 index 0000000..78009fe --- /dev/null +++ b/res/BVLCCaffeTests/Convolution_007/test.prototxt @@ -0,0 +1,26 @@ +layer { + name: "data" + type: "Input" + top: "data" + input_param { + shape: { dim: 1 dim: 3 dim: 4 dim: 4 } + } +} +layer { + name: "conv" + type: "Convolution" + bottom: "data" + top: "conv" + convolution_param { + num_output: 2 + kernel_size: 1 + weight_filler { + type: "gaussian" + std: 0.01 + } + bias_filler { + type: "gaussian" + std: 0.01 + } + } +} diff --git a/res/BVLCCaffeTests/Eltwise_000/INFERENCE b/res/BVLCCaffeTests/Eltwise_000/INFERENCE new file mode 100644 index 0000000..e69de29 diff --git a/res/BVLCCaffeTests/Eltwise_000/test.prototxt b/res/BVLCCaffeTests/Eltwise_000/test.prototxt new file mode 100644 index 0000000..09b85c3 --- /dev/null +++ b/res/BVLCCaffeTests/Eltwise_000/test.prototxt @@ -0,0 +1,20 @@ +layer { + name: "data" + type: "Input" + top: "lhs" + top: "rhs" + input_param { + shape: { dim: 1 dim: 3 dim: 16 dim: 16 } + shape: { dim: 1 dim: 3 dim: 16 dim: 16 } + } +} +layer { + name: "sum" + type: "Eltwise" + bottom: "lhs" + bottom: "rhs" + top: "sum" + eltwise_param { + operation: SUM + } +} diff --git a/res/BVLCCaffeTests/Eltwise_001/INFERENCE b/res/BVLCCaffeTests/Eltwise_001/INFERENCE new file mode 100644 index 0000000..e69de29 diff --git a/res/BVLCCaffeTests/Eltwise_001/test.prototxt b/res/BVLCCaffeTests/Eltwise_001/test.prototxt new file mode 100644 index 0000000..3eef071 --- /dev/null +++ b/res/BVLCCaffeTests/Eltwise_001/test.prototxt @@ -0,0 +1,20 @@ +layer { + name: "data" + type: "Input" + top: "lhs" + top: "rhs" + input_param { + shape: { dim: 1 dim: 3 dim: 16 dim: 16 } + shape: { dim: 1 dim: 3 dim: 16 dim: 16 } + } +} +layer { + name: "prod" + type: "Eltwise" + bottom: "lhs" + bottom: "rhs" + top: "prod" + eltwise_param { + operation: PROD + } +} diff --git a/res/BVLCCaffeTests/Input_000/INFERENCE b/res/BVLCCaffeTests/Input_000/INFERENCE new file mode 100644 index 0000000..e69de29 diff --git a/res/BVLCCaffeTests/Input_000/test.prototxt b/res/BVLCCaffeTests/Input_000/test.prototxt new file mode 100644 index 0000000..2d05713 --- /dev/null +++ b/res/BVLCCaffeTests/Input_000/test.prototxt @@ -0,0 +1,8 @@ +layer { + name: "data" + type: "Input" + top: "data" + input_param { + shape: { dim: 1 dim: 3 dim: 244 dim: 244 } + } +} diff --git a/res/BVLCCaffeTests/Input_001/INFERENCE b/res/BVLCCaffeTests/Input_001/INFERENCE new file mode 100644 index 0000000..e69de29 diff --git a/res/BVLCCaffeTests/Input_001/test.prototxt b/res/BVLCCaffeTests/Input_001/test.prototxt new file mode 100644 index 0000000..eece8b7 --- /dev/null +++ b/res/BVLCCaffeTests/Input_001/test.prototxt @@ -0,0 +1,12 @@ +layer { + name: "data1" + type: "Input" + top: "data1" + input_param { shape: { dim: 1 dim: 3 dim: 15 dim: 15 } } +} +layer { + name: "data2" + type: "Input" + top: "data2" + input_param { shape: { dim: 1 dim: 3 dim: 15 dim: 15 } } +} diff --git a/res/BVLCCaffeTests/Pooling_000/INFERENCE b/res/BVLCCaffeTests/Pooling_000/INFERENCE new file mode 100644 index 0000000..e69de29 diff --git a/res/BVLCCaffeTests/Pooling_000/test.prototxt b/res/BVLCCaffeTests/Pooling_000/test.prototxt new file mode 100644 index 0000000..8ed0c38 --- /dev/null +++ b/res/BVLCCaffeTests/Pooling_000/test.prototxt @@ -0,0 +1,16 @@ +layer { + name: "data" + type: "Input" + top: "data" + input_param { shape: { dim: 1 dim: 3 dim: 16 dim: 16 } } +} +layer { + name: "pool" + type: "Pooling" + bottom: "data" + top: "pool" + pooling_param { + pool: MAX + kernel_size: 3 + } +} diff --git a/res/BVLCCaffeTests/Pooling_001/INFERENCE b/res/BVLCCaffeTests/Pooling_001/INFERENCE new file mode 100644 index 0000000..e69de29 diff --git a/res/BVLCCaffeTests/Pooling_001/test.prototxt b/res/BVLCCaffeTests/Pooling_001/test.prototxt new file mode 100644 index 0000000..1ecbb96 --- /dev/null +++ b/res/BVLCCaffeTests/Pooling_001/test.prototxt @@ -0,0 +1,17 @@ +layer { + name: "data" + type: "Input" + top: "data" + input_param { shape: { dim: 1 dim: 3 dim: 15 dim: 15 } } +} +layer { + name: "pool" + type: "Pooling" + bottom: "data" + top: "pool" + pooling_param { + pool: MAX + kernel_size: 3 + stride: 2 + } +} diff --git a/res/BVLCCaffeTests/Pooling_002/INFERENCE b/res/BVLCCaffeTests/Pooling_002/INFERENCE new file mode 100644 index 0000000..e69de29 diff --git a/res/BVLCCaffeTests/Pooling_002/test.prototxt b/res/BVLCCaffeTests/Pooling_002/test.prototxt new file mode 100644 index 0000000..f199bdc --- /dev/null +++ b/res/BVLCCaffeTests/Pooling_002/test.prototxt @@ -0,0 +1,16 @@ +layer { + name: "data" + type: "Input" + top: "data" + input_param { shape: { dim: 1 dim: 3 dim: 16 dim: 16 } } +} +layer { + name: "pool" + type: "Pooling" + bottom: "data" + top: "pool" + pooling_param { + pool: AVE + kernel_size: 3 + } +} diff --git a/res/BVLCCaffeTests/Pooling_003/INFERENCE b/res/BVLCCaffeTests/Pooling_003/INFERENCE new file mode 100644 index 0000000..e69de29 diff --git a/res/BVLCCaffeTests/Pooling_003/test.prototxt b/res/BVLCCaffeTests/Pooling_003/test.prototxt new file mode 100644 index 0000000..e25855f --- /dev/null +++ b/res/BVLCCaffeTests/Pooling_003/test.prototxt @@ -0,0 +1,17 @@ +layer { + name: "data" + type: "Input" + top: "data" + input_param { shape: { dim: 1 dim: 3 dim: 15 dim: 15 } } +} +layer { + name: "pool" + type: "Pooling" + bottom: "data" + top: "pool" + pooling_param { + pool: AVE + kernel_size: 3 + stride: 2 + } +} diff --git a/res/BVLCCaffeTests/Pooling_004/INFERENCE b/res/BVLCCaffeTests/Pooling_004/INFERENCE new file mode 100644 index 0000000..e69de29 diff --git a/res/BVLCCaffeTests/Pooling_004/test.prototxt b/res/BVLCCaffeTests/Pooling_004/test.prototxt new file mode 100644 index 0000000..533a01c --- /dev/null +++ b/res/BVLCCaffeTests/Pooling_004/test.prototxt @@ -0,0 +1,17 @@ +layer { + name: "data" + type: "Input" + top: "data" + input_param { shape: { dim: 1 dim: 3 dim: 16 dim: 16 } } +} +layer { + name: "pool" + type: "Pooling" + bottom: "data" + top: "pool" + pooling_param { + pool: MAX + kernel_size: 3 + pad: 1 + } +} diff --git a/res/BVLCCaffeTests/Pooling_005/INFERENCE b/res/BVLCCaffeTests/Pooling_005/INFERENCE new file mode 100644 index 0000000..e69de29 diff --git a/res/BVLCCaffeTests/Pooling_005/test.prototxt b/res/BVLCCaffeTests/Pooling_005/test.prototxt new file mode 100644 index 0000000..36475c7 --- /dev/null +++ b/res/BVLCCaffeTests/Pooling_005/test.prototxt @@ -0,0 +1,17 @@ +layer { + name: "data" + type: "Input" + top: "data" + input_param { shape: { dim: 1 dim: 3 dim: 15 dim: 15 } } +} +layer { + name: "pool" + type: "Pooling" + bottom: "data" + top: "pool" + pooling_param { + pool: AVE + kernel_size: 3 + pad: 1 + } +} diff --git a/res/BVLCCaffeTests/ReLU_000/INFERENCE b/res/BVLCCaffeTests/ReLU_000/INFERENCE new file mode 100644 index 0000000..e69de29 diff --git a/res/BVLCCaffeTests/ReLU_000/test.prototxt b/res/BVLCCaffeTests/ReLU_000/test.prototxt new file mode 100644 index 0000000..5fe2a93 --- /dev/null +++ b/res/BVLCCaffeTests/ReLU_000/test.prototxt @@ -0,0 +1,14 @@ +layer { + name: "data" + type: "Input" + top: "data" + input_param { + shape: { dim: 1 dim: 2 dim: 5 dim: 3 } + } +} +layer { + name: "relu" + type: "ReLU" + bottom: "data" + top: "data" +} diff --git a/res/BVLCCaffeTests/Regression_0000/INFERENCE b/res/BVLCCaffeTests/Regression_0000/INFERENCE new file mode 100644 index 0000000..e69de29 diff --git a/res/BVLCCaffeTests/Regression_0000/test.prototxt b/res/BVLCCaffeTests/Regression_0000/test.prototxt new file mode 100644 index 0000000..5927d69 --- /dev/null +++ b/res/BVLCCaffeTests/Regression_0000/test.prototxt @@ -0,0 +1,17 @@ +layer { + name: "data" + type: "Input" + top: "data" + input_param { shape: { dim: 1 dim: 3 dim: 15 dim: 15 } } +} +layer { + name: "pool" + type: "Pooling" + bottom: "data" + top: "pool" + pooling_param { + pool: AVE + kernel_h: 3 + kernel_w: 1 + } +} diff --git a/res/BVLCCaffeTests/Scale_000/INFERENCE b/res/BVLCCaffeTests/Scale_000/INFERENCE new file mode 100644 index 0000000..e69de29 diff --git a/res/BVLCCaffeTests/Scale_000/test.prototxt b/res/BVLCCaffeTests/Scale_000/test.prototxt new file mode 100644 index 0000000..2f628ec --- /dev/null +++ b/res/BVLCCaffeTests/Scale_000/test.prototxt @@ -0,0 +1,16 @@ +layer { + name: "data" + type: "Input" + top: "data" + input_param { shape: { dim: 1 dim: 3 dim: 16 dim: 16 } } +} +layer { + name: "scale" + type: "Scale" + bottom: "data" + top: "scale" + scale_param { + filler { type: "gaussian" std: 0.01 } + bias_term: false + } +} diff --git a/res/BVLCCaffeTests/Scale_001/INFERENCE b/res/BVLCCaffeTests/Scale_001/INFERENCE new file mode 100644 index 0000000..e69de29 diff --git a/res/BVLCCaffeTests/Scale_001/test.prototxt b/res/BVLCCaffeTests/Scale_001/test.prototxt new file mode 100644 index 0000000..d15be8f --- /dev/null +++ b/res/BVLCCaffeTests/Scale_001/test.prototxt @@ -0,0 +1,17 @@ +layer { + name: "data" + type: "Input" + top: "data" + input_param { shape: { dim: 1 dim: 3 dim: 16 dim: 16 } } +} +layer { + name: "scale" + type: "Scale" + bottom: "data" + top: "scale" + scale_param { + filler { type: "gaussian" std: 0.01 } + bias_term: true + bias_filler { type: "gaussian" std: 0.01 } + } +} diff --git a/res/BVLCCaffeTests/inception_c1/INFERENCE b/res/BVLCCaffeTests/inception_c1/INFERENCE new file mode 100644 index 0000000..e69de29 diff --git a/res/BVLCCaffeTests/inception_c1/test.prototxt b/res/BVLCCaffeTests/inception_c1/test.prototxt new file mode 100644 index 0000000..7f2df45 --- /dev/null +++ b/res/BVLCCaffeTests/inception_c1/test.prototxt @@ -0,0 +1,252 @@ +name: "inception_c1" +layer { + name: "input" + type: "Input" + top: "reduction_b_concat" + input_param { + shape { + dim: 1 + dim: 3 + dim: 32 + dim: 32 + } + } +} +layer { + name: "inception_c1_1x1_2" + type: "Convolution" + bottom: "reduction_b_concat" + top: "inception_c1_1x1_2" + convolution_param { + bias_term: false + num_output: 2 + pad: 0 + kernel_size: 1 + stride: 1 + weight_filler { + type: "gaussian" + std: 0.01 + } + } +} +layer { + name: "inception_c1_1x1_2_relu" + type: "ReLU" + bottom: "inception_c1_1x1_2" + top: "inception_c1_1x1_2" +} +layer { + name: "inception_c1_1x3_reduce" + type: "Convolution" + bottom: "reduction_b_concat" + top: "inception_c1_1x3_reduce" + convolution_param { + bias_term: false + num_output: 3 + pad: 0 + kernel_size: 1 + stride: 1 + weight_filler { + type: "gaussian" + std: 0.01 + } + } +} +layer { + name: "inception_c1_1x3_reduce_relu" + type: "ReLU" + bottom: "inception_c1_1x3_reduce" + top: "inception_c1_1x3_reduce" +} +layer { + name: "inception_c1_1x3" + type: "Convolution" + bottom: "inception_c1_1x3_reduce" + top: "inception_c1_1x3" + convolution_param { + bias_term: false + num_output: 4 + stride: 1 + pad_h: 0 + pad_w: 1 + kernel_h: 1 + kernel_w: 3 + weight_filler { + type: "gaussian" + std: 0.01 + } + } +} +layer { + name: "inception_c1_1x3_relu" + type: "ReLU" + bottom: "inception_c1_1x3" + top: "inception_c1_1x3" +} +layer { + name: "inception_c1_3x1" + type: "Convolution" + bottom: "inception_c1_1x3_reduce" + top: "inception_c1_3x1" + convolution_param { + bias_term: false + num_output: 5 + stride: 1 + pad_h: 1 + pad_w: 0 + kernel_h: 3 + kernel_w: 1 + weight_filler { + type: "gaussian" + std: 0.01 + } + } +} +layer { + name: "inception_c1_3x1_relu" + type: "ReLU" + bottom: "inception_c1_3x1" + top: "inception_c1_3x1" +} +layer { + name: "inception_c1_3x3_reduce" + type: "Convolution" + bottom: "reduction_b_concat" + top: "inception_c1_3x3_reduce" + convolution_param { + bias_term: false + num_output: 5 + pad: 0 + kernel_size: 1 + stride: 1 + weight_filler { + type: "gaussian" + std: 0.01 + } + } +} +layer { + name: "inception_c1_3x3_reduce_relu" + type: "ReLU" + bottom: "inception_c1_3x3_reduce" + top: "inception_c1_3x3_reduce" +} +layer { + name: "inception_c1_3x3" + type: "Convolution" + bottom: "inception_c1_3x3_reduce" + top: "inception_c1_3x3" + convolution_param { + bias_term: false + num_output: 6 + pad: 1 + kernel_size: 3 + stride: 1 + weight_filler { + type: "gaussian" + std: 0.01 + } + } +} +layer { + name: "inception_c1_3x3_relu" + type: "ReLU" + bottom: "inception_c1_3x3" + top: "inception_c1_3x3" +} +layer { + name: "inception_c1_1x3_2" + type: "Convolution" + bottom: "inception_c1_3x3" + top: "inception_c1_1x3_2" + convolution_param { + bias_term: false + num_output: 7 + stride: 1 + pad_h: 0 + pad_w: 1 + kernel_h: 1 + kernel_w: 3 + weight_filler { + type: "gaussian" + std: 0.01 + } + } +} +layer { + name: "inception_c1_1x3_2_relu" + type: "ReLU" + bottom: "inception_c1_1x3_2" + top: "inception_c1_1x3_2" +} +layer { + name: "inception_c1_3x1_2" + type: "Convolution" + bottom: "inception_c1_3x3" + top: "inception_c1_3x1_2" + convolution_param { + bias_term: false + num_output: 8 + stride: 1 + pad_h: 1 + pad_w: 0 + kernel_h: 3 + kernel_w: 1 + weight_filler { + type: "gaussian" + std: 0.01 + } + } +} +layer { + name: "inception_c1_3x1_2_relu" + type: "ReLU" + bottom: "inception_c1_3x1_2" + top: "inception_c1_3x1_2" +} +layer { + name: "inception_c1_pool" + type: "Pooling" + bottom: "reduction_b_concat" + top: "inception_c1_pool" + pooling_param { + pool: AVE + kernel_size: 3 + stride: 1 + pad: 1 + } +} +layer { + name: "inception_c1_1x1" + type: "Convolution" + bottom: "inception_c1_pool" + top: "inception_c1_1x1" + convolution_param { + bias_term: false + num_output: 10 + pad: 0 + kernel_size: 1 + stride: 1 + weight_filler { + type: "gaussian" + std: 0.01 + } + } +} +layer { + name: "inception_c1_1x1_relu" + type: "ReLU" + bottom: "inception_c1_1x1" + top: "inception_c1_1x1" +} +layer { + name: "inception_c1_concat" + type: "Concat" + bottom: "inception_c1_1x1_2" + bottom: "inception_c1_1x3" + bottom: "inception_c1_3x1" + bottom: "inception_c1_1x3_2" + bottom: "inception_c1_3x1_2" + bottom: "inception_c1_1x1" + top: "inception_c1_concat" +} diff --git a/res/BVLCCaffeTests/residual/INFERENCE b/res/BVLCCaffeTests/residual/INFERENCE new file mode 100644 index 0000000..e69de29 diff --git a/res/BVLCCaffeTests/residual/test.prototxt b/res/BVLCCaffeTests/residual/test.prototxt new file mode 100644 index 0000000..8ced8b6 --- /dev/null +++ b/res/BVLCCaffeTests/residual/test.prototxt @@ -0,0 +1,72 @@ +name: "residual" +layer { + name: "input" + type: "Input" + top: "data" + input_param { + shape { + dim: 1 + dim: 3 + dim: 31 + dim: 31 + } + } +} +layer { + name: "MaxPool2dBackward4" + type: "Pooling" + bottom: "data" + top: "MaxPool2dBackward4" + pooling_param { + pool: MAX + kernel_size: 3 + stride: 2 + pad: 1 + } +} +layer { + name: "ConvNdBackward5" + type: "Convolution" + bottom: "MaxPool2dBackward4" + top: "ConvNdBackward5" + convolution_param { + num_output: 5 + pad_h: 1 + pad_w: 1 + kernel_h: 3 + kernel_w: 3 + stride: 1 + bias_term: false + } +} +layer { + name: "ThresholdBackward7" + type: "ReLU" + bottom: "ConvNdBackward5" + top: "ConvNdBackward5" +} +layer { + name: "ConvNdBackward8" + type: "Convolution" + bottom: "ConvNdBackward5" + top: "ConvNdBackward8" + convolution_param { + num_output: 3 + pad_h: 1 + pad_w: 1 + kernel_h: 3 + kernel_w: 3 + stride: 1 + bias_term: false + } +} +layer { + name: "AddBackward11" + type: "Eltwise" + bottom: "ConvNdBackward8" + bottom: "MaxPool2dBackward4" + top: "AddBackward11" + eltwise_param { + operation: SUM + } +} diff --git a/res/BVLCCaffeTests/residual_bn/INFERENCE b/res/BVLCCaffeTests/residual_bn/INFERENCE new file mode 100644 index 0000000..e69de29 diff --git a/res/BVLCCaffeTests/residual_bn/test.prototxt b/res/BVLCCaffeTests/residual_bn/test.prototxt new file mode 100644 index 0000000..eaa321e --- /dev/null +++ b/res/BVLCCaffeTests/residual_bn/test.prototxt @@ -0,0 +1,110 @@ +name: "residual_bn" +layer { + name: "input" + type: "Input" + top: "data" + input_param { + shape { + dim: 1 + dim: 3 + dim: 31 + dim: 31 + } + } +} +layer { + name: "MaxPool2dBackward4" + type: "Pooling" + bottom: "data" + top: "MaxPool2dBackward4" + pooling_param { + pool: MAX + kernel_size: 3 + stride: 2 + pad: 1 + } +} +layer { + name: "ConvNdBackward5" + type: "Convolution" + bottom: "MaxPool2dBackward4" + top: "ConvNdBackward5" + convolution_param { + num_output: 5 + pad_h: 1 + pad_w: 1 + kernel_h: 3 + kernel_w: 3 + stride: 1 + bias_term: false + } +} +layer { + name: "BatchNormBackward6_bn" + type: "BatchNorm" + bottom: "ConvNdBackward5" + top: "BatchNormBackward6" + batch_norm_param { + use_global_stats: true + eps: 1e-05 + } +} +layer { + name: "BatchNormBackward6_scale" + type: "Scale" + bottom: "BatchNormBackward6" + top: "BatchNormBackward6" + scale_param { + bias_term: true + } +} +layer { + name: "ThresholdBackward7" + type: "ReLU" + bottom: "BatchNormBackward6" + top: "BatchNormBackward6" +} +layer { + name: "ConvNdBackward8" + type: "Convolution" + bottom: "BatchNormBackward6" + top: "ConvNdBackward8" + convolution_param { + num_output: 3 + pad_h: 1 + pad_w: 1 + kernel_h: 3 + kernel_w: 3 + stride: 1 + bias_term: false + } +} +layer { + name: "BatchNormBackward9_bn" + type: "BatchNorm" + bottom: "ConvNdBackward8" + top: "BatchNormBackward9" + batch_norm_param { + use_global_stats: true + eps: 1e-05 + } +} +layer { + name: "BatchNormBackward9_scale" + type: "Scale" + bottom: "BatchNormBackward9" + top: "BatchNormBackward9" + scale_param { + bias_term: true + } +} +layer { + name: "AddBackward11" + type: "Eltwise" + bottom: "BatchNormBackward9" + bottom: "MaxPool2dBackward4" + top: "AddBackward11" + eltwise_param { + operation: SUM + } +} -- 2.7.4