Hamza011 commited on
Commit
bd22914
·
verified ·
1 Parent(s): 3abf70d

Upload pipeline.config

Browse files
Files changed (1) hide show
  1. pipeline.config +181 -0
pipeline.config ADDED
@@ -0,0 +1,181 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ model {
2
+ ssd {
3
+ num_classes: 90
4
+ image_resizer {
5
+ fixed_shape_resizer {
6
+ height: 300
7
+ width: 300
8
+ }
9
+ }
10
+ feature_extractor {
11
+ type: "ssd_mobilenet_v2"
12
+ depth_multiplier: 1.0
13
+ min_depth: 16
14
+ conv_hyperparams {
15
+ regularizer {
16
+ l2_regularizer {
17
+ weight: 3.99999989895e-05
18
+ }
19
+ }
20
+ initializer {
21
+ truncated_normal_initializer {
22
+ mean: 0.0
23
+ stddev: 0.0299999993294
24
+ }
25
+ }
26
+ activation: RELU_6
27
+ batch_norm {
28
+ decay: 0.999700009823
29
+ center: true
30
+ scale: true
31
+ epsilon: 0.0010000000475
32
+ train: true
33
+ }
34
+ }
35
+ batch_norm_trainable: true
36
+ use_depthwise: true
37
+ }
38
+ box_coder {
39
+ faster_rcnn_box_coder {
40
+ y_scale: 10.0
41
+ x_scale: 10.0
42
+ height_scale: 5.0
43
+ width_scale: 5.0
44
+ }
45
+ }
46
+ matcher {
47
+ argmax_matcher {
48
+ matched_threshold: 0.5
49
+ unmatched_threshold: 0.5
50
+ ignore_thresholds: false
51
+ negatives_lower_than_unmatched: true
52
+ force_match_for_each_row: true
53
+ }
54
+ }
55
+ similarity_calculator {
56
+ iou_similarity {
57
+ }
58
+ }
59
+ box_predictor {
60
+ convolutional_box_predictor {
61
+ conv_hyperparams {
62
+ regularizer {
63
+ l2_regularizer {
64
+ weight: 3.99999989895e-05
65
+ }
66
+ }
67
+ initializer {
68
+ truncated_normal_initializer {
69
+ mean: 0.0
70
+ stddev: 0.0299999993294
71
+ }
72
+ }
73
+ activation: RELU_6
74
+ batch_norm {
75
+ decay: 0.999700009823
76
+ center: true
77
+ scale: true
78
+ epsilon: 0.0010000000475
79
+ train: true
80
+ }
81
+ }
82
+ min_depth: 0
83
+ max_depth: 0
84
+ num_layers_before_predictor: 0
85
+ use_dropout: false
86
+ dropout_keep_probability: 0.800000011921
87
+ kernel_size: 3
88
+ box_code_size: 4
89
+ apply_sigmoid_to_scores: false
90
+ }
91
+ }
92
+ anchor_generator {
93
+ ssd_anchor_generator {
94
+ num_layers: 6
95
+ min_scale: 0.20000000298
96
+ max_scale: 0.949999988079
97
+ aspect_ratios: 1.0
98
+ aspect_ratios: 2.0
99
+ aspect_ratios: 0.5
100
+ aspect_ratios: 3.0
101
+ aspect_ratios: 0.333299994469
102
+ }
103
+ }
104
+ post_processing {
105
+ batch_non_max_suppression {
106
+ score_threshold: 0.300000011921
107
+ iou_threshold: 0.600000023842
108
+ max_detections_per_class: 100
109
+ max_total_detections: 100
110
+ }
111
+ score_converter: SIGMOID
112
+ }
113
+ normalize_loss_by_num_matches: true
114
+ loss {
115
+ localization_loss {
116
+ weighted_smooth_l1 {
117
+ }
118
+ }
119
+ classification_loss {
120
+ weighted_sigmoid {
121
+ }
122
+ }
123
+ hard_example_miner {
124
+ num_hard_examples: 3000
125
+ iou_threshold: 0.990000009537
126
+ loss_type: CLASSIFICATION
127
+ max_negatives_per_positive: 3
128
+ min_negatives_per_image: 3
129
+ }
130
+ classification_weight: 1.0
131
+ localization_weight: 1.0
132
+ }
133
+ }
134
+ }
135
+ train_config {
136
+ batch_size: 24
137
+ data_augmentation_options {
138
+ random_horizontal_flip {
139
+ }
140
+ }
141
+ data_augmentation_options {
142
+ ssd_random_crop {
143
+ }
144
+ }
145
+ optimizer {
146
+ rms_prop_optimizer {
147
+ learning_rate {
148
+ exponential_decay_learning_rate {
149
+ initial_learning_rate: 0.00400000018999
150
+ decay_steps: 800720
151
+ decay_factor: 0.949999988079
152
+ }
153
+ }
154
+ momentum_optimizer_value: 0.899999976158
155
+ decay: 0.899999976158
156
+ epsilon: 1.0
157
+ }
158
+ }
159
+ fine_tune_checkpoint: "PATH_TO_BE_CONFIGURED/model.ckpt"
160
+ num_steps: 200000
161
+ fine_tune_checkpoint_type: "detection"
162
+ }
163
+ train_input_reader {
164
+ label_map_path: "PATH_TO_BE_CONFIGURED/mscoco_label_map.pbtxt"
165
+ tf_record_input_reader {
166
+ input_path: "PATH_TO_BE_CONFIGURED/mscoco_train.record"
167
+ }
168
+ }
169
+ eval_config {
170
+ num_examples: 8000
171
+ max_evals: 10
172
+ use_moving_averages: false
173
+ }
174
+ eval_input_reader {
175
+ label_map_path: "PATH_TO_BE_CONFIGURED/mscoco_label_map.pbtxt"
176
+ shuffle: false
177
+ num_readers: 1
178
+ tf_record_input_reader {
179
+ input_path: "PATH_TO_BE_CONFIGURED/mscoco_val.record"
180
+ }
181
+ }