diff --git a/samples/dnn/face_detector/deploy.prototxt b/samples/dnn/face_detector/deploy.prototxt index f3eba00d3c..905580ee46 100644 --- a/samples/dnn/face_detector/deploy.prototxt +++ b/samples/dnn/face_detector/deploy.prototxt @@ -892,7 +892,7 @@ layer { } convolution_param { num_output: 128 - pad: 0 + pad: 1 kernel_size: 3 stride: 1 weight_filler { @@ -958,7 +958,7 @@ layer { } convolution_param { num_output: 128 - pad: 0 + pad: 1 kernel_size: 3 stride: 1 weight_filler { @@ -1786,4 +1786,4 @@ layer { keep_top_k: 200 confidence_threshold: 0.01 } -} \ No newline at end of file +} diff --git a/samples/dnn/face_detector/test.prototxt b/samples/dnn/face_detector/test.prototxt index fba593d87d..f723f3d113 100644 --- a/samples/dnn/face_detector/test.prototxt +++ b/samples/dnn/face_detector/test.prototxt @@ -917,7 +917,7 @@ layer { } convolution_param { num_output: 128 - pad: 0 + pad: 1 kernel_size: 3 stride: 1 weight_filler { @@ -983,7 +983,7 @@ layer { } convolution_param { num_output: 128 - pad: 0 + pad: 1 kernel_size: 3 stride: 1 weight_filler { @@ -1827,4 +1827,4 @@ layer { overlap_threshold: 0.5 evaluate_difficult_gt: false } -} \ No newline at end of file +} diff --git a/samples/dnn/face_detector/train.prototxt b/samples/dnn/face_detector/train.prototxt index 78bc509ff7..feec4000d5 100644 --- a/samples/dnn/face_detector/train.prototxt +++ b/samples/dnn/face_detector/train.prototxt @@ -1020,7 +1020,7 @@ layer { } convolution_param { num_output: 128 - pad: 0 + pad: 1 kernel_size: 3 stride: 1 weight_filler { @@ -1086,7 +1086,7 @@ layer { } convolution_param { num_output: 128 - pad: 0 + pad: 1 kernel_size: 3 stride: 1 weight_filler { @@ -1895,4 +1895,4 @@ layer { ignore_cross_boundary_bbox: false mining_type: MAX_NEGATIVE } -} \ No newline at end of file +}