Commit b4d128f1 authored by A. Unique TensorFlower's avatar A. Unique TensorFlower
Browse files

Internal change

PiperOrigin-RevId: 443158595
parent 5f6b0ca3
# --experiment_type=retinanet_mobile_coco # --experiment_type=retinanet_mobile_coco
# COCO mAP: 27.6
runtime: runtime:
distribution_strategy: 'tpu' distribution_strategy: 'tpu'
mixed_precision_dtype: 'bfloat16' mixed_precision_dtype: 'bfloat16'
...@@ -26,7 +27,7 @@ task: ...@@ -26,7 +27,7 @@ task:
max_level: 7 max_level: 7
min_level: 3 min_level: 3
norm_activation: norm_activation:
activation: 'swish' activation: 'hard_swish'
norm_epsilon: 0.001 norm_epsilon: 0.001
norm_momentum: 0.99 norm_momentum: 0.99
use_sync_bn: true use_sync_bn: true
......
# --experiment_type=retinanet_mobile_coco # --experiment_type=retinanet_mobile_coco
# COCO mAP: 23.5
runtime: runtime:
distribution_strategy: 'tpu' distribution_strategy: 'tpu'
mixed_precision_dtype: 'bfloat16' mixed_precision_dtype: 'bfloat16'
...@@ -26,7 +27,7 @@ task: ...@@ -26,7 +27,7 @@ task:
max_level: 7 max_level: 7
min_level: 3 min_level: 3
norm_activation: norm_activation:
activation: 'swish' activation: 'hard_swish'
norm_epsilon: 0.001 norm_epsilon: 0.001
norm_momentum: 0.99 norm_momentum: 0.99
use_sync_bn: true use_sync_bn: true
......
# --experiment_type=retinanet_mobile_coco # --experiment_type=retinanet_mobile_coco
# COCO mAP: 16.8
runtime: runtime:
distribution_strategy: 'tpu' distribution_strategy: 'tpu'
mixed_precision_dtype: 'bfloat16' mixed_precision_dtype: 'bfloat16'
...@@ -26,7 +27,7 @@ task: ...@@ -26,7 +27,7 @@ task:
max_level: 7 max_level: 7
min_level: 3 min_level: 3
norm_activation: norm_activation:
activation: 'swish' activation: 'hard_swish'
norm_epsilon: 0.001 norm_epsilon: 0.001
norm_momentum: 0.99 norm_momentum: 0.99
use_sync_bn: true use_sync_bn: true
......
...@@ -243,6 +243,7 @@ class SpineNetMobile(tf.keras.Model): ...@@ -243,6 +243,7 @@ class SpineNetMobile(tf.keras.Model):
in_filters=in_filters, in_filters=in_filters,
out_filters=out_filters, out_filters=out_filters,
strides=strides, strides=strides,
se_gating_activation='hard_sigmoid',
se_ratio=se_ratio, se_ratio=se_ratio,
expand_ratio=expand_ratio, expand_ratio=expand_ratio,
stochastic_depth_drop_rate=stochastic_depth_drop_rate, stochastic_depth_drop_rate=stochastic_depth_drop_rate,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment