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
3d0ac194
Unverified
Commit
3d0ac194
authored
Jan 05, 2021
by
Srihari Humbarwadi
Committed by
GitHub
Jan 05, 2021
Browse files
fixed type in retinanet config
parent
ece64b24
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
official/vision/beta/configs/retinanet.py
official/vision/beta/configs/retinanet.py
+3
-3
No files found.
official/vision/beta/configs/retinanet.py
View file @
3d0ac194
...
@@ -143,7 +143,7 @@ def retinanet() -> cfg.ExperimentConfig:
...
@@ -143,7 +143,7 @@ def retinanet() -> cfg.ExperimentConfig:
COCO_INPUT_PATH_BASE
=
'coco'
COCO_INPUT_PATH_BASE
=
'coco'
COCO_TR
I
AN_EXAMPLES
=
118287
COCO_TRA
I
N_EXAMPLES
=
118287
COCO_VAL_EXAMPLES
=
5000
COCO_VAL_EXAMPLES
=
5000
...
@@ -152,7 +152,7 @@ def retinanet_resnetfpn_coco() -> cfg.ExperimentConfig:
...
@@ -152,7 +152,7 @@ def retinanet_resnetfpn_coco() -> cfg.ExperimentConfig:
"""COCO object detection with RetinaNet."""
"""COCO object detection with RetinaNet."""
train_batch_size
=
256
train_batch_size
=
256
eval_batch_size
=
8
eval_batch_size
=
8
steps_per_epoch
=
COCO_TR
I
AN_EXAMPLES
//
train_batch_size
steps_per_epoch
=
COCO_TRA
I
N_EXAMPLES
//
train_batch_size
config
=
cfg
.
ExperimentConfig
(
config
=
cfg
.
ExperimentConfig
(
runtime
=
cfg
.
RuntimeConfig
(
mixed_precision_dtype
=
'bfloat16'
),
runtime
=
cfg
.
RuntimeConfig
(
mixed_precision_dtype
=
'bfloat16'
),
...
@@ -225,7 +225,7 @@ def retinanet_spinenet_coco() -> cfg.ExperimentConfig:
...
@@ -225,7 +225,7 @@ def retinanet_spinenet_coco() -> cfg.ExperimentConfig:
"""COCO object detection with RetinaNet using SpineNet backbone."""
"""COCO object detection with RetinaNet using SpineNet backbone."""
train_batch_size
=
256
train_batch_size
=
256
eval_batch_size
=
8
eval_batch_size
=
8
steps_per_epoch
=
COCO_TR
I
AN_EXAMPLES
//
train_batch_size
steps_per_epoch
=
COCO_TRA
I
N_EXAMPLES
//
train_batch_size
input_size
=
640
input_size
=
640
config
=
cfg
.
ExperimentConfig
(
config
=
cfg
.
ExperimentConfig
(
...
...
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