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
1738af44
"vscode:/vscode.git/clone" did not exist on "e259f156ffe33e64eccd64d3aa2402d54d979384"
Commit
1738af44
authored
Jun 08, 2022
by
A. Unique TensorFlower
Browse files
Internal change
PiperOrigin-RevId: 453736287
parent
f6ee3093
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
0 deletions
+16
-0
official/vision/modeling/backbones/resnet_deeplab.py
official/vision/modeling/backbones/resnet_deeplab.py
+12
-0
official/vision/modeling/backbones/resnet_deeplab_test.py
official/vision/modeling/backbones/resnet_deeplab_test.py
+4
-0
No files found.
official/vision/modeling/backbones/resnet_deeplab.py
View file @
1738af44
...
...
@@ -43,6 +43,18 @@ RESNET_SPECS = {
(
'bottleneck'
,
256
,
23
),
(
'bottleneck'
,
512
,
3
),
],
152
:
[
(
'bottleneck'
,
64
,
3
),
(
'bottleneck'
,
128
,
8
),
(
'bottleneck'
,
256
,
36
),
(
'bottleneck'
,
512
,
3
),
],
200
:
[
(
'bottleneck'
,
64
,
3
),
(
'bottleneck'
,
128
,
24
),
(
'bottleneck'
,
256
,
36
),
(
'bottleneck'
,
512
,
3
),
],
}
...
...
official/vision/modeling/backbones/resnet_deeplab_test.py
View file @
1738af44
...
...
@@ -29,8 +29,12 @@ class ResNetTest(parameterized.TestCase, tf.test.TestCase):
@
parameterized
.
parameters
(
(
128
,
50
,
4
,
8
),
(
128
,
101
,
4
,
8
),
(
128
,
152
,
4
,
8
),
(
128
,
200
,
4
,
8
),
(
128
,
50
,
4
,
16
),
(
128
,
101
,
4
,
16
),
(
128
,
152
,
4
,
16
),
(
128
,
200
,
4
,
16
),
)
def
test_network_creation
(
self
,
input_size
,
model_id
,
endpoint_filter_scale
,
output_stride
):
...
...
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