Upload 8 files
Browse files- .gitattributes +1 -0
- checkpoint/checkpoint +4 -0
- checkpoint/ckpt-0.data-00000-of-00001 +3 -0
- checkpoint/ckpt-0.index +0 -0
- pipeline.config +193 -0
- saved_model/fingerprint.pb +3 -0
- saved_model/saved_model.pb +3 -0
- saved_model/variables/variables.data-00000-of-00001 +3 -0
- saved_model/variables/variables.index +3 -0
.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: 1703638280.4276981
|
4 |
+
last_preserved_timestamp: 1703638278.8025951
|
checkpoint/ckpt-0.data-00000-of-00001
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7ff2bb76f593a50644fca6199f6908c5424e8d5545b22898ccd582629a14f2de
|
3 |
+
size 22456047
|
checkpoint/ckpt-0.index
ADDED
Binary file (46.6 kB). View file
|
|
pipeline.config
ADDED
@@ -0,0 +1,193 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
model {
|
2 |
+
ssd {
|
3 |
+
num_classes: 2
|
4 |
+
image_resizer {
|
5 |
+
keep_aspect_ratio_resizer {
|
6 |
+
min_dimension: 512
|
7 |
+
max_dimension: 512
|
8 |
+
pad_to_max_dimension: true
|
9 |
+
}
|
10 |
+
}
|
11 |
+
feature_extractor {
|
12 |
+
type: "ssd_efficientnet-b0_bifpn_keras"
|
13 |
+
conv_hyperparams {
|
14 |
+
regularizer {
|
15 |
+
l2_regularizer {
|
16 |
+
weight: 4e-05
|
17 |
+
}
|
18 |
+
}
|
19 |
+
initializer {
|
20 |
+
truncated_normal_initializer {
|
21 |
+
mean: 0.0
|
22 |
+
stddev: 0.03
|
23 |
+
}
|
24 |
+
}
|
25 |
+
activation: SWISH
|
26 |
+
batch_norm {
|
27 |
+
decay: 0.99
|
28 |
+
scale: true
|
29 |
+
epsilon: 0.001
|
30 |
+
}
|
31 |
+
force_use_bias: true
|
32 |
+
}
|
33 |
+
bifpn {
|
34 |
+
min_level: 3
|
35 |
+
max_level: 7
|
36 |
+
num_iterations: 3
|
37 |
+
num_filters: 64
|
38 |
+
}
|
39 |
+
}
|
40 |
+
box_coder {
|
41 |
+
faster_rcnn_box_coder {
|
42 |
+
y_scale: 1.0
|
43 |
+
x_scale: 1.0
|
44 |
+
height_scale: 1.0
|
45 |
+
width_scale: 1.0
|
46 |
+
}
|
47 |
+
}
|
48 |
+
matcher {
|
49 |
+
argmax_matcher {
|
50 |
+
matched_threshold: 0.5
|
51 |
+
unmatched_threshold: 0.5
|
52 |
+
ignore_thresholds: false
|
53 |
+
negatives_lower_than_unmatched: true
|
54 |
+
force_match_for_each_row: true
|
55 |
+
use_matmul_gather: true
|
56 |
+
}
|
57 |
+
}
|
58 |
+
similarity_calculator {
|
59 |
+
iou_similarity {
|
60 |
+
}
|
61 |
+
}
|
62 |
+
box_predictor {
|
63 |
+
weight_shared_convolutional_box_predictor {
|
64 |
+
conv_hyperparams {
|
65 |
+
regularizer {
|
66 |
+
l2_regularizer {
|
67 |
+
weight: 4e-05
|
68 |
+
}
|
69 |
+
}
|
70 |
+
initializer {
|
71 |
+
random_normal_initializer {
|
72 |
+
mean: 0.0
|
73 |
+
stddev: 0.01
|
74 |
+
}
|
75 |
+
}
|
76 |
+
activation: SWISH
|
77 |
+
batch_norm {
|
78 |
+
decay: 0.99
|
79 |
+
scale: true
|
80 |
+
epsilon: 0.001
|
81 |
+
}
|
82 |
+
force_use_bias: true
|
83 |
+
}
|
84 |
+
depth: 64
|
85 |
+
num_layers_before_predictor: 3
|
86 |
+
kernel_size: 3
|
87 |
+
class_prediction_bias_init: -4.6
|
88 |
+
use_depthwise: true
|
89 |
+
}
|
90 |
+
}
|
91 |
+
anchor_generator {
|
92 |
+
multiscale_anchor_generator {
|
93 |
+
min_level: 3
|
94 |
+
max_level: 7
|
95 |
+
anchor_scale: 4.0
|
96 |
+
aspect_ratios: 1.0
|
97 |
+
aspect_ratios: 2.0
|
98 |
+
aspect_ratios: 0.5
|
99 |
+
scales_per_octave: 3
|
100 |
+
}
|
101 |
+
}
|
102 |
+
post_processing {
|
103 |
+
batch_non_max_suppression {
|
104 |
+
score_threshold: 1e-08
|
105 |
+
iou_threshold: 0.5
|
106 |
+
max_detections_per_class: 100
|
107 |
+
max_total_detections: 100
|
108 |
+
}
|
109 |
+
score_converter: SIGMOID
|
110 |
+
}
|
111 |
+
normalize_loss_by_num_matches: true
|
112 |
+
loss {
|
113 |
+
localization_loss {
|
114 |
+
weighted_smooth_l1 {
|
115 |
+
}
|
116 |
+
}
|
117 |
+
classification_loss {
|
118 |
+
weighted_sigmoid_focal {
|
119 |
+
gamma: 1.5
|
120 |
+
alpha: 0.25
|
121 |
+
}
|
122 |
+
}
|
123 |
+
classification_weight: 0.7
|
124 |
+
localization_weight: 1.0
|
125 |
+
}
|
126 |
+
encode_background_as_zeros: true
|
127 |
+
normalize_loc_loss_by_codesize: true
|
128 |
+
inplace_batchnorm_update: true
|
129 |
+
freeze_batchnorm: false
|
130 |
+
add_background_class: false
|
131 |
+
}
|
132 |
+
}
|
133 |
+
train_config {
|
134 |
+
batch_size: 5
|
135 |
+
data_augmentation_options {
|
136 |
+
random_horizontal_flip {
|
137 |
+
}
|
138 |
+
}
|
139 |
+
data_augmentation_options {
|
140 |
+
random_adjust_contrast {
|
141 |
+
}
|
142 |
+
}
|
143 |
+
data_augmentation_options {
|
144 |
+
random_scale_crop_and_pad_to_square {
|
145 |
+
output_size: 512
|
146 |
+
scale_min: 0.1
|
147 |
+
scale_max: 2.0
|
148 |
+
}
|
149 |
+
}
|
150 |
+
sync_replicas: true
|
151 |
+
optimizer {
|
152 |
+
momentum_optimizer {
|
153 |
+
learning_rate {
|
154 |
+
cosine_decay_learning_rate {
|
155 |
+
learning_rate_base: 0.04
|
156 |
+
total_steps: 25000
|
157 |
+
warmup_learning_rate: 0.011
|
158 |
+
warmup_steps: 2500
|
159 |
+
}
|
160 |
+
}
|
161 |
+
momentum_optimizer_value: 0.9
|
162 |
+
}
|
163 |
+
use_moving_average: false
|
164 |
+
}
|
165 |
+
fine_tune_checkpoint: "/home/kkong/ass2_model2/pretrained_models/efficientdet_d0_coco17_tpu-32/checkpoint/ckpt-0"
|
166 |
+
num_steps: 30000
|
167 |
+
startup_delay_steps: 0.0
|
168 |
+
replicas_to_aggregate: 8
|
169 |
+
max_number_of_boxes: 100
|
170 |
+
unpad_groundtruth_tensors: false
|
171 |
+
fine_tune_checkpoint_type: "detection"
|
172 |
+
use_bfloat16: true
|
173 |
+
fine_tune_checkpoint_version: V2
|
174 |
+
}
|
175 |
+
train_input_reader {
|
176 |
+
label_map_path: "/home/kkong/ass2_model2/data/label_map.pbtxt"
|
177 |
+
tf_record_input_reader {
|
178 |
+
input_path: "/home/kkong/ass2_model2/data/train.record"
|
179 |
+
}
|
180 |
+
}
|
181 |
+
eval_config {
|
182 |
+
metrics_set: "coco_detection_metrics"
|
183 |
+
use_moving_averages: false
|
184 |
+
batch_size: 1
|
185 |
+
}
|
186 |
+
eval_input_reader {
|
187 |
+
label_map_path: "/home/kkong/ass2_model2/data/label_map.pbtxt"
|
188 |
+
shuffle: false
|
189 |
+
num_epochs: 1
|
190 |
+
tf_record_input_reader {
|
191 |
+
input_path: "/home/kkong/ass2_model2/data/val.record"
|
192 |
+
}
|
193 |
+
}
|
saved_model/fingerprint.pb
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:736f1f27d0a2e89ede9061570fce63736ab7f56978b507fd5f87984453ea380f
|
3 |
+
size 58
|
saved_model/saved_model.pb
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e4871abc50af61bcc530d1faf1071dd94ae0290f2791ea22ab70f768a8f83105
|
3 |
+
size 13153246
|
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:e9d7653903340eb7a789dcdbda54d8e2180911b1b032c4c6e48b2e900b446601
|
3 |
+
size 22739495
|
saved_model/variables/variables.index
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a906e35be72eb44616166456a13556aceac3c8664101e3ee3a228258b0c29c50
|
3 |
+
size 39310
|