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
OpenDAS
Pytorch-Encoding
Commits
2d5b5ef7
Unverified
Commit
2d5b5ef7
authored
Jul 05, 2020
by
Zj Li
Committed by
GitHub
Jul 04, 2020
Browse files
Fixed out-of-date dataset name (#292)
parent
4f0a87b0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
docs/source/model_zoo/segmentation.rst
docs/source/model_zoo/segmentation.rst
+1
-1
No files found.
docs/source/model_zoo/segmentation.rst
View file @
2d5b5ef7
...
@@ -245,7 +245,7 @@ Quick Demo
...
@@ -245,7 +245,7 @@ Quick Demo
predict
=
torch
.
max
(
output
,
1
)[
1
].
cpu
().
numpy
()
+
1
predict
=
torch
.
max
(
output
,
1
)[
1
].
cpu
().
numpy
()
+
1
#
Get
color
pallete
for
visualization
#
Get
color
pallete
for
visualization
mask
=
encoding
.
utils
.
get_mask_pallete
(
predict
,
'p
context
'
)
mask
=
encoding
.
utils
.
get_mask_pallete
(
predict
,
'p
ascal_voc
'
)
mask
.
save
(
'output.png'
)
mask
.
save
(
'output.png'
)
...
...
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