sokonana commited on
Commit
9b86e9b
·
1 Parent(s): c654e6d

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ checkpoint/ckpt-0.data-00000-of-00001 filter=lfs diff=lfs merge=lfs -text
checkpoint/checkpoint ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ model_checkpoint_path: "ckpt-0"
2
+ all_model_checkpoint_paths: "ckpt-0"
3
+ all_model_checkpoint_timestamps: 1703312261.3034365
4
+ last_preserved_timestamp: 1703312259.8780408
checkpoint/ckpt-0.data-00000-of-00001 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:605ba5b8c5af92ec73872db6b88ad63c6532a81ebc14dbed4a5b0227a643e986
3
+ size 18866944
checkpoint/ckpt-0.index ADDED
Binary file (22.2 kB). View file
 
pipeline.config ADDED
@@ -0,0 +1,199 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ model {
2
+ ssd {
3
+ num_classes: 2
4
+ image_resizer {
5
+ fixed_shape_resizer {
6
+ height: 300
7
+ width: 300
8
+ }
9
+ }
10
+ feature_extractor {
11
+ type: "ssd_mobilenet_v2_keras"
12
+ depth_multiplier: 1.0
13
+ min_depth: 16
14
+ conv_hyperparams {
15
+ regularizer {
16
+ l2_regularizer {
17
+ weight: 4e-05
18
+ }
19
+ }
20
+ initializer {
21
+ truncated_normal_initializer {
22
+ mean: 0.0
23
+ stddev: 0.03
24
+ }
25
+ }
26
+ activation: RELU_6
27
+ batch_norm {
28
+ decay: 0.998
29
+ center: true
30
+ scale: true
31
+ epsilon: 0.002
32
+ train: true
33
+ }
34
+ }
35
+ override_base_feature_extractor_hyperparams: true
36
+ }
37
+ box_coder {
38
+ faster_rcnn_box_coder {
39
+ y_scale: 10.0
40
+ x_scale: 10.0
41
+ height_scale: 5.0
42
+ width_scale: 5.0
43
+ }
44
+ }
45
+ matcher {
46
+ argmax_matcher {
47
+ matched_threshold: 0.5
48
+ unmatched_threshold: 0.5
49
+ ignore_thresholds: false
50
+ negatives_lower_than_unmatched: true
51
+ force_match_for_each_row: true
52
+ use_matmul_gather: 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: 4e-05
65
+ }
66
+ }
67
+ initializer {
68
+ random_normal_initializer {
69
+ mean: 0.0
70
+ stddev: 0.01
71
+ }
72
+ }
73
+ activation: RELU_6
74
+ batch_norm {
75
+ decay: 0.995
76
+ center: true
77
+ scale: true
78
+ epsilon: 0.004
79
+ train: true
80
+ }
81
+ }
82
+ min_depth: 0
83
+ max_depth: 0
84
+ num_layers_before_predictor: 0
85
+ use_dropout: true
86
+ dropout_keep_probability: 0.7
87
+ kernel_size: 1
88
+ box_code_size: 4
89
+ apply_sigmoid_to_scores: false
90
+ class_prediction_bias_init: -4.6
91
+ }
92
+ }
93
+ anchor_generator {
94
+ ssd_anchor_generator {
95
+ num_layers: 6
96
+ min_scale: 0.2
97
+ max_scale: 0.95
98
+ aspect_ratios: 1.0
99
+ aspect_ratios: 2.0
100
+ aspect_ratios: 0.5
101
+ aspect_ratios: 3.0
102
+ aspect_ratios: 0.3333
103
+ aspect_ratios: 4.0
104
+ aspect_ratios: 0.25
105
+ }
106
+ }
107
+ post_processing {
108
+ batch_non_max_suppression {
109
+ score_threshold: 1e-08
110
+ iou_threshold: 0.6
111
+ max_detections_per_class: 25
112
+ max_total_detections: 50
113
+ use_static_shapes: false
114
+ }
115
+ score_converter: SIGMOID
116
+ }
117
+ normalize_loss_by_num_matches: true
118
+ loss {
119
+ localization_loss {
120
+ weighted_smooth_l1 {
121
+ delta: 1.0
122
+ }
123
+ }
124
+ classification_loss {
125
+ weighted_sigmoid_focal {
126
+ gamma: 2.0
127
+ alpha: 0.75
128
+ }
129
+ }
130
+ classification_weight: 1.0
131
+ localization_weight: 1.0
132
+ }
133
+ encode_background_as_zeros: true
134
+ normalize_loc_loss_by_codesize: true
135
+ inplace_batchnorm_update: true
136
+ freeze_batchnorm: false
137
+ }
138
+ }
139
+ train_config {
140
+ batch_size: 32
141
+ data_augmentation_options {
142
+ random_horizontal_flip {
143
+ }
144
+ }
145
+ data_augmentation_options {
146
+ ssd_random_crop {
147
+ }
148
+ }
149
+ data_augmentation_options {
150
+ random_adjust_contrast {
151
+ }
152
+ }
153
+ data_augmentation_options {
154
+ random_rotation90 {
155
+ }
156
+ }
157
+ sync_replicas: true
158
+ optimizer {
159
+ momentum_optimizer {
160
+ learning_rate {
161
+ cosine_decay_learning_rate {
162
+ learning_rate_base: 0.02
163
+ total_steps: 25000
164
+ warmup_learning_rate: 0.002
165
+ warmup_steps: 2000
166
+ }
167
+ }
168
+ momentum_optimizer_value: 0.9
169
+ }
170
+ use_moving_average: false
171
+ }
172
+ fine_tune_checkpoint: "/home/sokonana/it107_assignment/pretrained_models/ssd_mobilenet_v2_320x320_coco17_tpu-8/checkpoint/ckpt-0"
173
+ num_steps: 25000
174
+ startup_delay_steps: 0.0
175
+ replicas_to_aggregate: 8
176
+ max_number_of_boxes: 100
177
+ unpad_groundtruth_tensors: false
178
+ fine_tune_checkpoint_type: "detection"
179
+ use_bfloat16: false
180
+ fine_tune_checkpoint_version: V2
181
+ }
182
+ train_input_reader {
183
+ label_map_path: "/home/sokonana/it107_assignment/data/label_map.pbtxt"
184
+ tf_record_input_reader {
185
+ input_path: "/home/sokonana/it107_assignment/data/train.record"
186
+ }
187
+ }
188
+ eval_config {
189
+ metrics_set: "coco_detection_metrics"
190
+ use_moving_averages: false
191
+ }
192
+ eval_input_reader {
193
+ label_map_path: "/home/sokonana/it107_assignment/data/label_map.pbtxt"
194
+ shuffle: false
195
+ num_epochs: 1
196
+ tf_record_input_reader {
197
+ input_path: "/home/sokonana/it107_assignment/data/val.record"
198
+ }
199
+ }
saved_model/fingerprint.pb ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e7bb7c4a2e9373d6460719d3261075f3d3125bd4b7ffa831d55a33f09d34d2e3
3
+ size 55
saved_model/saved_model.pb ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e51f8babbf107d96710f34cc471233aff3f91d5e5aabcce60c054a7827162e27
3
+ size 5083154
saved_model/variables/variables.data-00000-of-00001 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d2e73ec269a65427edf2d39135ec0293238738fc67adf481b30fb110ac4887ee
3
+ size 18987230
saved_model/variables/variables.index ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c89a85580eadd0c965556c0331b13c6b2aa87ebe9b56f86347614a49bb2355dc
3
+ size 18837