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
6f521d91
Commit
6f521d91
authored
Oct 14, 2022
by
A. Unique TensorFlower
Browse files
Internal change
PiperOrigin-RevId: 481247611
parent
45038543
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
official/vision/modeling/backbones/spinenet.py
official/vision/modeling/backbones/spinenet.py
+1
-1
No files found.
official/vision/modeling/backbones/spinenet.py
View file @
6f521d91
...
@@ -554,7 +554,7 @@ def build_spinenet(
...
@@ -554,7 +554,7 @@ def build_spinenet(
assert
backbone_type
==
'spinenet'
,
(
f
'Inconsistent backbone type '
assert
backbone_type
==
'spinenet'
,
(
f
'Inconsistent backbone type '
f
'
{
backbone_type
}
'
)
f
'
{
backbone_type
}
'
)
model_id
=
backbone_cfg
.
model_id
model_id
=
str
(
backbone_cfg
.
model_id
)
if
model_id
not
in
SCALING_MAP
:
if
model_id
not
in
SCALING_MAP
:
raise
ValueError
(
raise
ValueError
(
'SpineNet-{} is not a valid architecture.'
.
format
(
model_id
))
'SpineNet-{} is not a valid architecture.'
.
format
(
model_id
))
...
...
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