@@ -5,11 +5,10 @@ layer {
55 top: "data"
66 top: "label"
77 include {
8- phase: TRAIN
8+ phase: TEST
99 }
1010 transform_param {
1111 scale: 0.017
12- mirror: true
1312 mean_value: 103.94
1413 mean_value: 116.78
1514 mean_value: 123.68
@@ -19,121 +18,17 @@ layer {
1918 height: 300
2019 width: 300
2120 interp_mode: LINEAR
22- interp_mode: AREA
23- interp_mode: NEAREST
24- interp_mode: CUBIC
25- interp_mode: LANCZOS4
26- }
27- emit_constraint {
28- emit_type: CENTER
29- }
30- distort_param {
31- brightness_prob: 0.5
32- brightness_delta: 32.0
33- contrast_prob: 0.5
34- contrast_lower: 0.5
35- contrast_upper: 1.5
36- hue_prob: 0.5
37- hue_delta: 18.0
38- saturation_prob: 0.5
39- saturation_lower: 0.5
40- saturation_upper: 1.5
41- random_order_prob: 0.0
42- }
43- expand_param {
44- prob: 0.5
45- max_expand_ratio: 4.0
4621 }
4722 }
4823 data_param {
4924 source: "/home/yaochuanqi/data/VOCdevkit/VOC0712/lmdb/VOC0712_trainval_lmdb/"
50- batch_size: 32
25+ batch_size: 1
5126 backend: LMDB
5227 }
5328 annotated_data_param {
5429 batch_sampler {
55- max_sample: 1
56- max_trials: 1
57- }
58- batch_sampler {
59- sampler {
60- min_scale: 0.300000011921
61- max_scale: 1.0
62- min_aspect_ratio: 0.5
63- max_aspect_ratio: 2.0
64- }
65- sample_constraint {
66- min_jaccard_overlap: 0.10000000149
67- }
68- max_sample: 1
69- max_trials: 50
70- }
71- batch_sampler {
72- sampler {
73- min_scale: 0.300000011921
74- max_scale: 1.0
75- min_aspect_ratio: 0.5
76- max_aspect_ratio: 2.0
77- }
78- sample_constraint {
79- min_jaccard_overlap: 0.300000011921
80- }
81- max_sample: 1
82- max_trials: 50
83- }
84- batch_sampler {
85- sampler {
86- min_scale: 0.300000011921
87- max_scale: 1.0
88- min_aspect_ratio: 0.5
89- max_aspect_ratio: 2.0
90- }
91- sample_constraint {
92- min_jaccard_overlap: 0.5
93- }
94- max_sample: 1
95- max_trials: 50
9630 }
97- batch_sampler {
98- sampler {
99- min_scale: 0.300000011921
100- max_scale: 1.0
101- min_aspect_ratio: 0.5
102- max_aspect_ratio: 2.0
103- }
104- sample_constraint {
105- min_jaccard_overlap: 0.699999988079
106- }
107- max_sample: 1
108- max_trials: 50
109- }
110- batch_sampler {
111- sampler {
112- min_scale: 0.300000011921
113- max_scale: 1.0
114- min_aspect_ratio: 0.5
115- max_aspect_ratio: 2.0
116- }
117- sample_constraint {
118- min_jaccard_overlap: 0.899999976158
119- }
120- max_sample: 1
121- max_trials: 50
122- }
123- batch_sampler {
124- sampler {
125- min_scale: 0.300000011921
126- max_scale: 1.0
127- min_aspect_ratio: 0.5
128- max_aspect_ratio: 2.0
129- }
130- sample_constraint {
131- max_jaccard_overlap: 1.0
132- }
133- max_sample: 1
134- max_trials: 50
135- }
136- label_map_file: "data/VOC0712/labelmap_voc.prototxt"
31+ label_map_file: "../../data/VOC0712/labelmap_voc.prototxt"
13732 }
13833}
13934layer {
@@ -2949,7 +2844,7 @@ layer {
29492844 shape {
29502845 dim: 0
29512846 dim: -1
2952- dim: 22
2847+ dim: 21
29532848 }
29542849 }
29552850}
@@ -2982,21 +2877,13 @@ layer {
29822877 phase: TEST
29832878 }
29842879 detection_output_param {
2985- num_classes: 22
2880+ num_classes: 21
29862881 share_location: true
29872882 background_label_id: 0
29882883 nms_param {
29892884 nms_threshold: 0.449999988079
29902885 top_k: 400
29912886 }
2992- save_output_param {
2993- output_directory: "data/VOC0712/results/VOC2007/SSD_300x300_score/Main"
2994- output_name_prefix: "comp4_det_test_"
2995- output_format: "VOC"
2996- label_map_file: "data/VOC0712/labelmap_voc.prototxt"
2997- name_size_file: "data/VOC0712/test_name_size.txt"
2998- num_test_image: 5379
2999- }
30002887 code_type: CENTER_SIZE
30012888 keep_top_k: 200
30022889 confidence_threshold: 0.00999999977648
@@ -3012,10 +2899,10 @@ layer {
30122899 phase: TEST
30132900 }
30142901 detection_evaluate_param {
3015- num_classes: 22
2902+ num_classes: 21
30162903 background_label_id: 0
30172904 overlap_threshold: 0.5
30182905 evaluate_difficult_gt: false
3019- name_size_file: "data/VOC0712/test_name_size.txt"
2906+ name_size_file: "../../ data/VOC0712/test_name_size.txt"
30202907 }
30212908}
0 commit comments