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
pydensecrf
Commits
2d29f192
Commit
2d29f192
authored
Feb 06, 2016
by
Lucas Beyer
Browse files
Merge pull request #5 from kevin-keraudren/pydensecrf_fix-height-width
Fix height width order in dense_inference.py example
parents
0d10e2bf
a4390091
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
dense_inference.py
dense_inference.py
+1
-1
No files found.
dense_inference.py
View file @
2d29f192
...
...
@@ -20,7 +20,7 @@ output = sys.argv[3]
M
=
labels
.
max
()
+
1
# number of labels
# Setup the CRF model
d
=
dcrf
.
DenseCRF2D
(
img
.
shape
[
0
],
img
.
shape
[
1
],
M
)
d
=
dcrf
.
DenseCRF2D
(
img
.
shape
[
1
],
img
.
shape
[
0
],
M
)
# Certainty that the ground truth is correct
GT_PROB
=
0.5
...
...
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