Skip to content

Commit 69830b1

Browse files
committed
Merge pull request opencv#10216 from dkurt:dnn_face_detector_extra_paddings
2 parents fc9e031 + 0385000 commit 69830b1

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

samples/dnn/face_detector/deploy.prototxt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -892,7 +892,7 @@ layer {
892892
}
893893
convolution_param {
894894
num_output: 128
895-
pad: 0
895+
pad: 1
896896
kernel_size: 3
897897
stride: 1
898898
weight_filler {
@@ -958,7 +958,7 @@ layer {
958958
}
959959
convolution_param {
960960
num_output: 128
961-
pad: 0
961+
pad: 1
962962
kernel_size: 3
963963
stride: 1
964964
weight_filler {
@@ -1786,4 +1786,4 @@ layer {
17861786
keep_top_k: 200
17871787
confidence_threshold: 0.01
17881788
}
1789-
}
1789+
}

samples/dnn/face_detector/test.prototxt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -917,7 +917,7 @@ layer {
917917
}
918918
convolution_param {
919919
num_output: 128
920-
pad: 0
920+
pad: 1
921921
kernel_size: 3
922922
stride: 1
923923
weight_filler {
@@ -983,7 +983,7 @@ layer {
983983
}
984984
convolution_param {
985985
num_output: 128
986-
pad: 0
986+
pad: 1
987987
kernel_size: 3
988988
stride: 1
989989
weight_filler {
@@ -1827,4 +1827,4 @@ layer {
18271827
overlap_threshold: 0.5
18281828
evaluate_difficult_gt: false
18291829
}
1830-
}
1830+
}

samples/dnn/face_detector/train.prototxt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1020,7 +1020,7 @@ layer {
10201020
}
10211021
convolution_param {
10221022
num_output: 128
1023-
pad: 0
1023+
pad: 1
10241024
kernel_size: 3
10251025
stride: 1
10261026
weight_filler {
@@ -1086,7 +1086,7 @@ layer {
10861086
}
10871087
convolution_param {
10881088
num_output: 128
1089-
pad: 0
1089+
pad: 1
10901090
kernel_size: 3
10911091
stride: 1
10921092
weight_filler {
@@ -1895,4 +1895,4 @@ layer {
18951895
ignore_cross_boundary_bbox: false
18961896
mining_type: MAX_NEGATIVE
18971897
}
1898-
}
1898+
}

0 commit comments

Comments
 (0)