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
2dcac825
Unverified
Commit
2dcac825
authored
Jun 29, 2020
by
wi
Committed by
GitHub
Jun 28, 2020
Browse files
Fix incorrect model name that breaks semantic segmentation demo (#284)
parent
c9d4a46a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
experiments/segmentation/demo.py
experiments/segmentation/demo.py
+1
-1
No files found.
experiments/segmentation/demo.py
View file @
2dcac825
...
@@ -2,7 +2,7 @@ import torch
...
@@ -2,7 +2,7 @@ import torch
import
encoding
import
encoding
# Get the model
# Get the model
model
=
encoding
.
models
.
get_model
(
'fcn_resnet50_ade'
,
pretrained
=
True
).
cuda
()
model
=
encoding
.
models
.
get_model
(
'fcn_resnet50
s
_ade'
,
pretrained
=
True
).
cuda
()
model
.
eval
()
model
.
eval
()
# Prepare the image
# Prepare the image
...
...
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