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
d86d4aa6
Commit
d86d4aa6
authored
Nov 29, 2021
by
Fan Yang
Committed by
A. Unique TensorFlower
Nov 29, 2021
Browse files
Internal change
PiperOrigin-RevId: 413033276
parent
b429689b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
official/vision/beta/serving/semantic_segmentation_test.py
official/vision/beta/serving/semantic_segmentation_test.py
+1
-2
No files found.
official/vision/beta/serving/semantic_segmentation_test.py
View file @
d86d4aa6
...
@@ -31,8 +31,7 @@ from official.vision.beta.serving import semantic_segmentation
...
@@ -31,8 +31,7 @@ from official.vision.beta.serving import semantic_segmentation
class
SemanticSegmentationExportTest
(
tf
.
test
.
TestCase
,
parameterized
.
TestCase
):
class
SemanticSegmentationExportTest
(
tf
.
test
.
TestCase
,
parameterized
.
TestCase
):
def
_get_segmentation_module
(
self
):
def
_get_segmentation_module
(
self
):
params
=
exp_factory
.
get_exp_config
(
'seg_deeplabv3_pascal'
)
params
=
exp_factory
.
get_exp_config
(
'mnv2_deeplabv3_pascal'
)
params
.
task
.
model
.
backbone
.
dilated_resnet
.
model_id
=
50
segmentation_module
=
semantic_segmentation
.
SegmentationModule
(
segmentation_module
=
semantic_segmentation
.
SegmentationModule
(
params
,
batch_size
=
1
,
input_image_size
=
[
112
,
112
])
params
,
batch_size
=
1
,
input_image_size
=
[
112
,
112
])
return
segmentation_module
return
segmentation_module
...
...
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