Teeradej Sawettraporn commited on
Commit
c021043
·
verified ·
1 Parent(s): 09939c2

Upload 23 files

Browse files
Files changed (24) hide show
  1. .gitattributes +8 -0
  2. TF-object_detection/saved_model/method_2_lite_20k_enhance_addon/checkpoint/checkpoint +16 -0
  3. TF-object_detection/saved_model/method_2_lite_20k_enhance_addon/checkpoint/ckpt-15.data-00000-of-00001 +3 -0
  4. TF-object_detection/saved_model/method_2_lite_20k_enhance_addon/checkpoint/ckpt-15.index +0 -0
  5. TF-object_detection/saved_model/method_2_lite_20k_enhance_addon/checkpoint/ckpt-16.data-00000-of-00001 +3 -0
  6. TF-object_detection/saved_model/method_2_lite_20k_enhance_addon/checkpoint/ckpt-16.index +0 -0
  7. TF-object_detection/saved_model/method_2_lite_20k_enhance_addon/checkpoint/ckpt-17.data-00000-of-00001 +3 -0
  8. TF-object_detection/saved_model/method_2_lite_20k_enhance_addon/checkpoint/ckpt-17.index +0 -0
  9. TF-object_detection/saved_model/method_2_lite_20k_enhance_addon/checkpoint/ckpt-18.data-00000-of-00001 +3 -0
  10. TF-object_detection/saved_model/method_2_lite_20k_enhance_addon/checkpoint/ckpt-18.index +0 -0
  11. TF-object_detection/saved_model/method_2_lite_20k_enhance_addon/checkpoint/ckpt-19.data-00000-of-00001 +3 -0
  12. TF-object_detection/saved_model/method_2_lite_20k_enhance_addon/checkpoint/ckpt-19.index +0 -0
  13. TF-object_detection/saved_model/method_2_lite_20k_enhance_addon/checkpoint/ckpt-20.data-00000-of-00001 +3 -0
  14. TF-object_detection/saved_model/method_2_lite_20k_enhance_addon/checkpoint/ckpt-20.index +0 -0
  15. TF-object_detection/saved_model/method_2_lite_20k_enhance_addon/checkpoint/ckpt-21.data-00000-of-00001 +3 -0
  16. TF-object_detection/saved_model/method_2_lite_20k_enhance_addon/checkpoint/ckpt-21.index +0 -0
  17. TF-object_detection/saved_model/method_2_lite_20k_enhance_addon/checkpoint/train/events.out.tfevents.1716792694.f79774eb0b7d.5699.0.v2 +3 -0
  18. TF-object_detection/saved_model/method_2_lite_20k_enhance_addon/detect.tflite +3 -0
  19. TF-object_detection/saved_model/method_2_lite_20k_enhance_addon/labelmap.pbtxt +15 -0
  20. TF-object_detection/saved_model/method_2_lite_20k_enhance_addon/labelmap.txt +3 -0
  21. TF-object_detection/saved_model/method_2_lite_20k_enhance_addon/pipeline_file.config +201 -0
  22. TF-object_detection/saved_model/method_2_lite_20k_enhance_addon/saved_model/saved_model.pb +3 -0
  23. TF-object_detection/saved_model/method_2_lite_20k_enhance_addon/saved_model/variables/variables.data-00000-of-00001 +3 -0
  24. TF-object_detection/saved_model/method_2_lite_20k_enhance_addon/saved_model/variables/variables.index +0 -0
.gitattributes CHANGED
@@ -50,3 +50,11 @@ TF-object_detection/saved_model/method_1_lite_20k_enhance/checkpoint/ckpt-19.dat
50
  TF-object_detection/saved_model/method_1_lite_20k_enhance/checkpoint/ckpt-20.data-00000-of-00001 filter=lfs diff=lfs merge=lfs -text
51
  TF-object_detection/saved_model/method_1_lite_20k_enhance/checkpoint/ckpt-21.data-00000-of-00001 filter=lfs diff=lfs merge=lfs -text
52
  TF-object_detection/saved_model/method_1_lite_20k_enhance/saved_model/variables/variables.data-00000-of-00001 filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
50
  TF-object_detection/saved_model/method_1_lite_20k_enhance/checkpoint/ckpt-20.data-00000-of-00001 filter=lfs diff=lfs merge=lfs -text
51
  TF-object_detection/saved_model/method_1_lite_20k_enhance/checkpoint/ckpt-21.data-00000-of-00001 filter=lfs diff=lfs merge=lfs -text
52
  TF-object_detection/saved_model/method_1_lite_20k_enhance/saved_model/variables/variables.data-00000-of-00001 filter=lfs diff=lfs merge=lfs -text
53
+ TF-object_detection/saved_model/method_2_lite_20k_enhance_addon/checkpoint/ckpt-15.data-00000-of-00001 filter=lfs diff=lfs merge=lfs -text
54
+ TF-object_detection/saved_model/method_2_lite_20k_enhance_addon/checkpoint/ckpt-16.data-00000-of-00001 filter=lfs diff=lfs merge=lfs -text
55
+ TF-object_detection/saved_model/method_2_lite_20k_enhance_addon/checkpoint/ckpt-17.data-00000-of-00001 filter=lfs diff=lfs merge=lfs -text
56
+ TF-object_detection/saved_model/method_2_lite_20k_enhance_addon/checkpoint/ckpt-18.data-00000-of-00001 filter=lfs diff=lfs merge=lfs -text
57
+ TF-object_detection/saved_model/method_2_lite_20k_enhance_addon/checkpoint/ckpt-19.data-00000-of-00001 filter=lfs diff=lfs merge=lfs -text
58
+ TF-object_detection/saved_model/method_2_lite_20k_enhance_addon/checkpoint/ckpt-20.data-00000-of-00001 filter=lfs diff=lfs merge=lfs -text
59
+ TF-object_detection/saved_model/method_2_lite_20k_enhance_addon/checkpoint/ckpt-21.data-00000-of-00001 filter=lfs diff=lfs merge=lfs -text
60
+ TF-object_detection/saved_model/method_2_lite_20k_enhance_addon/saved_model/variables/variables.data-00000-of-00001 filter=lfs diff=lfs merge=lfs -text
TF-object_detection/saved_model/method_2_lite_20k_enhance_addon/checkpoint/checkpoint ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ model_checkpoint_path: "ckpt-21"
2
+ all_model_checkpoint_paths: "ckpt-15"
3
+ all_model_checkpoint_paths: "ckpt-16"
4
+ all_model_checkpoint_paths: "ckpt-17"
5
+ all_model_checkpoint_paths: "ckpt-18"
6
+ all_model_checkpoint_paths: "ckpt-19"
7
+ all_model_checkpoint_paths: "ckpt-20"
8
+ all_model_checkpoint_paths: "ckpt-21"
9
+ all_model_checkpoint_timestamps: 1716797212.1187475
10
+ all_model_checkpoint_timestamps: 1716797528.2802343
11
+ all_model_checkpoint_timestamps: 1716797846.1358654
12
+ all_model_checkpoint_timestamps: 1716798165.1520352
13
+ all_model_checkpoint_timestamps: 1716798481.8592217
14
+ all_model_checkpoint_timestamps: 1716798799.678028
15
+ all_model_checkpoint_timestamps: 1716799121.2019002
16
+ last_preserved_timestamp: 1716792729.057764
TF-object_detection/saved_model/method_2_lite_20k_enhance_addon/checkpoint/ckpt-15.data-00000-of-00001 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:59e376eab1009b3c5d2c146ba5a02b7067630d1cd0d2cdc51ec911ce5876aa6f
3
+ size 20746914
TF-object_detection/saved_model/method_2_lite_20k_enhance_addon/checkpoint/ckpt-15.index ADDED
Binary file (48 kB). View file
 
TF-object_detection/saved_model/method_2_lite_20k_enhance_addon/checkpoint/ckpt-16.data-00000-of-00001 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1f3e514e6157d14314db83599677883a5776e191338e922c3b048a8f3ad3e4d4
3
+ size 20746914
TF-object_detection/saved_model/method_2_lite_20k_enhance_addon/checkpoint/ckpt-16.index ADDED
Binary file (48 kB). View file
 
TF-object_detection/saved_model/method_2_lite_20k_enhance_addon/checkpoint/ckpt-17.data-00000-of-00001 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b7cd1e2e3f6284c36f399fafa17866abf7e878f25dacd73165f190f39c33c5d4
3
+ size 20746914
TF-object_detection/saved_model/method_2_lite_20k_enhance_addon/checkpoint/ckpt-17.index ADDED
Binary file (48 kB). View file
 
TF-object_detection/saved_model/method_2_lite_20k_enhance_addon/checkpoint/ckpt-18.data-00000-of-00001 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dee5273e40113b988f4e148a6b1d0dffb62a7039cd2c9c42bf428f315b50d3a1
3
+ size 20746914
TF-object_detection/saved_model/method_2_lite_20k_enhance_addon/checkpoint/ckpt-18.index ADDED
Binary file (48 kB). View file
 
TF-object_detection/saved_model/method_2_lite_20k_enhance_addon/checkpoint/ckpt-19.data-00000-of-00001 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d28fdef6b6c2df940acb88547db01e7fc3ef0090d4942a82943322dd6beed3e3
3
+ size 20746914
TF-object_detection/saved_model/method_2_lite_20k_enhance_addon/checkpoint/ckpt-19.index ADDED
Binary file (48 kB). View file
 
TF-object_detection/saved_model/method_2_lite_20k_enhance_addon/checkpoint/ckpt-20.data-00000-of-00001 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b2835ad5dfcb7cab12f2696f43f2bd3fe1f7b7e00e274316d50abf1e62c43b13
3
+ size 20746914
TF-object_detection/saved_model/method_2_lite_20k_enhance_addon/checkpoint/ckpt-20.index ADDED
Binary file (48 kB). View file
 
TF-object_detection/saved_model/method_2_lite_20k_enhance_addon/checkpoint/ckpt-21.data-00000-of-00001 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f286186ffe4a11842344027751c044271492d03ec34abefc8d55cdac5d6ee266
3
+ size 20746914
TF-object_detection/saved_model/method_2_lite_20k_enhance_addon/checkpoint/ckpt-21.index ADDED
Binary file (48 kB). View file
 
TF-object_detection/saved_model/method_2_lite_20k_enhance_addon/checkpoint/train/events.out.tfevents.1716792694.f79774eb0b7d.5699.0.v2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c89e3f406ada73565636089b53504fa1e59ccc437f62c39df663b568271be0db
3
+ size 56889884
TF-object_detection/saved_model/method_2_lite_20k_enhance_addon/detect.tflite ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5fa5de5b68f3090971df16da4df875a6a06953bd1349b5797baa5d35292fd351
3
+ size 11503268
TF-object_detection/saved_model/method_2_lite_20k_enhance_addon/labelmap.pbtxt ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ item {
2
+ id: 1
3
+ name: 'pillow'
4
+ }
5
+
6
+ item {
7
+ id: 2
8
+ name: 'refrigerator'
9
+ }
10
+
11
+ item {
12
+ id: 3
13
+ name: 'Bed'
14
+ }
15
+
TF-object_detection/saved_model/method_2_lite_20k_enhance_addon/labelmap.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ pillow
2
+ refrigerator
3
+ Bed
TF-object_detection/saved_model/method_2_lite_20k_enhance_addon/pipeline_file.config ADDED
@@ -0,0 +1,201 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # SSD with Mobilenet v2 FPN-lite (go/fpn-lite) feature extractor, shared box
2
+ # predictor and focal loss (a mobile version of Retinanet).
3
+ # Retinanet: see Lin et al, https://arxiv.org/abs/1708.02002
4
+ # Trained on COCO, initialized from Imagenet classification checkpoint
5
+ # Train on TPU-8
6
+ #
7
+ # Achieves 22.2 mAP on COCO17 Val
8
+
9
+ model {
10
+ ssd {
11
+ inplace_batchnorm_update: true
12
+ freeze_batchnorm: false
13
+ num_classes: 3
14
+ box_coder {
15
+ faster_rcnn_box_coder {
16
+ y_scale: 10.0
17
+ x_scale: 10.0
18
+ height_scale: 5.0
19
+ width_scale: 5.0
20
+ }
21
+ }
22
+ matcher {
23
+ argmax_matcher {
24
+ matched_threshold: 0.5
25
+ unmatched_threshold: 0.5
26
+ ignore_thresholds: false
27
+ negatives_lower_than_unmatched: true
28
+ force_match_for_each_row: true
29
+ use_matmul_gather: true
30
+ }
31
+ }
32
+ similarity_calculator {
33
+ iou_similarity {
34
+ }
35
+ }
36
+ encode_background_as_zeros: true
37
+ anchor_generator {
38
+ multiscale_anchor_generator {
39
+ min_level: 3
40
+ max_level: 7
41
+ anchor_scale: 4.0
42
+ aspect_ratios: [1.0, 2.0, 0.5]
43
+ scales_per_octave: 2
44
+ }
45
+ }
46
+ image_resizer {
47
+ fixed_shape_resizer {
48
+ height: 320
49
+ width: 320
50
+ }
51
+ }
52
+ box_predictor {
53
+ weight_shared_convolutional_box_predictor {
54
+ depth: 128
55
+ class_prediction_bias_init: -4.6
56
+ conv_hyperparams {
57
+ activation: RELU_6,
58
+ regularizer {
59
+ l2_regularizer {
60
+ weight: 0.00004
61
+ }
62
+ }
63
+ initializer {
64
+ random_normal_initializer {
65
+ stddev: 0.01
66
+ mean: 0.0
67
+ }
68
+ }
69
+ batch_norm {
70
+ scale: true,
71
+ decay: 0.997,
72
+ epsilon: 0.001,
73
+ }
74
+ }
75
+ num_layers_before_predictor: 4
76
+ share_prediction_tower: true
77
+ use_depthwise: true
78
+ kernel_size: 3
79
+ }
80
+ }
81
+ feature_extractor {
82
+ type: 'ssd_mobilenet_v2_fpn_keras'
83
+ use_depthwise: true
84
+ fpn {
85
+ min_level: 3
86
+ max_level: 7
87
+ additional_layer_depth: 128
88
+ }
89
+ min_depth: 16
90
+ depth_multiplier: 1.0
91
+ conv_hyperparams {
92
+ activation: RELU_6,
93
+ regularizer {
94
+ l2_regularizer {
95
+ weight: 0.00004
96
+ }
97
+ }
98
+ initializer {
99
+ random_normal_initializer {
100
+ stddev: 0.01
101
+ mean: 0.0
102
+ }
103
+ }
104
+ batch_norm {
105
+ scale: true,
106
+ decay: 0.997,
107
+ epsilon: 0.001,
108
+ }
109
+ }
110
+ override_base_feature_extractor_hyperparams: true
111
+ }
112
+ loss {
113
+ classification_loss {
114
+ weighted_sigmoid_focal {
115
+ alpha: 0.25
116
+ gamma: 2.0
117
+ }
118
+ }
119
+ localization_loss {
120
+ weighted_smooth_l1 {
121
+ }
122
+ }
123
+ classification_weight: 1.0
124
+ localization_weight: 1.0
125
+ }
126
+ normalize_loss_by_num_matches: true
127
+ normalize_loc_loss_by_codesize: true
128
+ post_processing {
129
+ batch_non_max_suppression {
130
+ score_threshold: 1e-8
131
+ iou_threshold: 0.6
132
+ max_detections_per_class: 100
133
+ max_total_detections: 100
134
+ }
135
+ score_converter: SIGMOID
136
+ }
137
+ }
138
+ }
139
+
140
+ train_config: {
141
+ fine_tune_checkpoint_version: V2
142
+ fine_tune_checkpoint: "/content/models/mymodel/ssd_mobilenet_v2_fpnlite_320x320_coco17_tpu-8/checkpoint/ckpt-0"
143
+ fine_tune_checkpoint_type: "detection"
144
+ batch_size: 16
145
+ sync_replicas: true
146
+ startup_delay_steps: 0
147
+ replicas_to_aggregate: 8
148
+ num_steps: 20000
149
+ data_augmentation_options {
150
+ random_horizontal_flip {
151
+ }
152
+ }
153
+ data_augmentation_options {
154
+ random_crop_image {
155
+ min_object_covered: 0.0
156
+ min_aspect_ratio: 0.75
157
+ max_aspect_ratio: 3.0
158
+ min_area: 0.75
159
+ max_area: 1.0
160
+ overlap_thresh: 0.0
161
+ }
162
+ }
163
+ optimizer {
164
+ momentum_optimizer: {
165
+ learning_rate: {
166
+ cosine_decay_learning_rate {
167
+ learning_rate_base: .08
168
+ total_steps: 50000
169
+ warmup_learning_rate: .026666
170
+ warmup_steps: 1000
171
+ }
172
+ }
173
+ momentum_optimizer_value: 0.9
174
+ }
175
+ use_moving_average: false
176
+ }
177
+ max_number_of_boxes: 100
178
+ unpad_groundtruth_tensors: false
179
+ }
180
+
181
+ train_input_reader: {
182
+ label_map_path: "/content/labelmap.pbtxt"
183
+ tf_record_input_reader {
184
+ input_path: "/content/train.tfrecord"
185
+ }
186
+ }
187
+
188
+ eval_config: {
189
+ metrics_set: "coco_detection_metrics"
190
+ use_moving_averages: false
191
+ }
192
+
193
+ eval_input_reader: {
194
+ label_map_path: "/content/labelmap.pbtxt"
195
+ shuffle: false
196
+ num_epochs: 1
197
+ tf_record_input_reader {
198
+ input_path: "/content/val.tfrecord"
199
+ }
200
+ }
201
+
TF-object_detection/saved_model/method_2_lite_20k_enhance_addon/saved_model/saved_model.pb ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:279c7659b837dee34500a998d25435588ac9e2ca46e9564da3043df03b41412f
3
+ size 6820129
TF-object_detection/saved_model/method_2_lite_20k_enhance_addon/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:afb7abfb7a52ba99058b053fb31f4f3b5bbc417b72ad02add69e6f159dcd66ae
3
+ size 10596934
TF-object_detection/saved_model/method_2_lite_20k_enhance_addon/saved_model/variables/variables.index ADDED
Binary file (22.1 kB). View file