Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
ResNet50_tensorflow
Commits
02ac43fc
Commit
02ac43fc
authored
Aug 03, 2022
by
Jaehong Kim
Committed by
A. Unique TensorFlower
Aug 03, 2022
Browse files
Update hyper-parameters for mobilenetV2 object detection task with QAT.
PiperOrigin-RevId: 465124474
parent
6168c438
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
official/projects/qat/vision/configs/experiments/retinanet/coco_mobilenetv2_qat_tpu_e2e.yaml
...s/experiments/retinanet/coco_mobilenetv2_qat_tpu_e2e.yaml
+12
-12
No files found.
official/projects/qat/vision/configs/experiments/retinanet/coco_mobilenetv2_qat_tpu_e2e.yaml
View file @
02ac43fc
# --experiment_type=retinanet_spinenet_mobile_coco_qat
# COCO mAP:
18.4
(Evaluated on the TFLite after conversion.)
# COCO mAP:
21.62
(Evaluated on the TFLite after conversion.)
# QAT only supports float32 tpu due to fake-quant op.
runtime
:
distribution_strategy
:
'
tpu'
mixed_precision_dtype
:
'
float32'
task
:
losses
:
l2_weight_decay
:
3.0e-0
5
l2_weight_decay
:
3.0e-0
4
model
:
anchor
:
anchor_size
:
3
...
...
@@ -45,7 +45,7 @@ task:
aug_scale_min
:
0.5
validation_data
:
dtype
:
'
float32'
global_batch_size
:
1
6
global_batch_size
:
6
4
is_training
:
false
quantization
:
pretrained_original_checkpoint
:
'
gs://**/tf2_mobilenetv2_ssd_jul29/28129005/ckpt-277200'
...
...
@@ -54,15 +54,15 @@ task:
trainer
:
optimizer_config
:
learning_rate
:
stepwise
:
boundaries
:
[
263340
,
272580
]
values
:
[
0.
032
,
0.0032
,
0.00032
]
type
:
'
stepwise'
warmup
:
linear
:
warmup_learning_rate
:
0.00067
warmup_steps
:
2000
type
:
'
exponential'
exponential
:
decay_rate
:
0.
96
decay_steps
:
231
initial_learning_rate
:
0.2
name
:
'
ExponentialDecay'
offset
:
0
staircase
:
true
steps_per_loop
:
462
train_steps
:
277
200
train_steps
:
46
200
validation_interval
:
462
validation_steps
:
625
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment