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
de91fd22
"server/vscode:/vscode.git/clone" did not exist on "f874c47831e12a1d447da12cb9e699cb2fb001da"
Commit
de91fd22
authored
Jun 14, 2021
by
Gunho Park
Browse files
Internal change
parent
ca0477a7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
official/vision/beta/projects/basnet/serving/basnet.py
official/vision/beta/projects/basnet/serving/basnet.py
+4
-1
No files found.
official/vision/beta/projects/basnet/serving/basnet.py
View file @
de91fd22
...
@@ -60,6 +60,9 @@ class BASNetModule(semantic_segmentation.SegmentationModule):
...
@@ -60,6 +60,9 @@ class BASNetModule(semantic_segmentation.SegmentationModule):
)
)
masks
=
self
.
inference_step
(
images
)
masks
=
self
.
inference_step
(
images
)
output
=
tf
.
image
.
resize
(
masks
[
'ref'
],
self
.
_input_image_size
,
method
=
'bilinear'
)
keys
=
sorted
(
masks
.
keys
())
output
=
tf
.
image
.
resize
(
masks
[
keys
[
-
1
]],
self
.
_input_image_size
,
method
=
'bilinear'
)
return
dict
(
predicted_masks
=
output
)
return
dict
(
predicted_masks
=
output
)
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