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
19dad9ef
Commit
19dad9ef
authored
May 19, 2021
by
Xianzhi Du
Committed by
A. Unique TensorFlower
May 19, 2021
Browse files
Internal change
PiperOrigin-RevId: 374804204
parent
dd05c1d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
official/vision/beta/configs/retinanet.py
official/vision/beta/configs/retinanet.py
+2
-1
No files found.
official/vision/beta/configs/retinanet.py
View file @
19dad9ef
...
@@ -175,6 +175,7 @@ def retinanet_resnetfpn_coco() -> cfg.ExperimentConfig:
...
@@ -175,6 +175,7 @@ def retinanet_resnetfpn_coco() -> cfg.ExperimentConfig:
model
=
RetinaNet
(
model
=
RetinaNet
(
num_classes
=
91
,
num_classes
=
91
,
input_size
=
[
640
,
640
,
3
],
input_size
=
[
640
,
640
,
3
],
norm_activation
=
common
.
NormActivation
(
use_sync_bn
=
False
),
min_level
=
3
,
min_level
=
3
,
max_level
=
7
),
max_level
=
7
),
losses
=
Losses
(
l2_weight_decay
=
1e-4
),
losses
=
Losses
(
l2_weight_decay
=
1e-4
),
...
@@ -183,7 +184,7 @@ def retinanet_resnetfpn_coco() -> cfg.ExperimentConfig:
...
@@ -183,7 +184,7 @@ def retinanet_resnetfpn_coco() -> cfg.ExperimentConfig:
is_training
=
True
,
is_training
=
True
,
global_batch_size
=
train_batch_size
,
global_batch_size
=
train_batch_size
,
parser
=
Parser
(
parser
=
Parser
(
aug_rand_hflip
=
True
,
aug_scale_min
=
0.
5
,
aug_scale_max
=
2.0
)),
aug_rand_hflip
=
True
,
aug_scale_min
=
0.
8
,
aug_scale_max
=
1.2
)),
validation_data
=
DataConfig
(
validation_data
=
DataConfig
(
input_path
=
os
.
path
.
join
(
COCO_INPUT_PATH_BASE
,
'val*'
),
input_path
=
os
.
path
.
join
(
COCO_INPUT_PATH_BASE
,
'val*'
),
is_training
=
False
,
is_training
=
False
,
...
...
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