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
4a79fdfb
"git@developer.sourcefind.cn:modelzoo/GPT.git" did not exist on "3b355d3f9d5f4f5501ff6e76ba4018d83b640087"
Commit
4a79fdfb
authored
Apr 30, 2016
by
Shi Yan
Browse files
fixed a bug in create_pair_gaussian method in utils.py
parent
abe7c4c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
pydensecrf/utils.py
pydensecrf/utils.py
+1
-1
No files found.
pydensecrf/utils.py
View file @
4a79fdfb
...
@@ -55,7 +55,7 @@ def create_pairwise_gaussian(sdims, shape):
...
@@ -55,7 +55,7 @@ def create_pairwise_gaussian(sdims, shape):
"""
"""
# create mesh
# create mesh
hcord_range
=
[
range
(
s
)
for
s
in
shape
]
hcord_range
=
[
range
(
s
)
for
s
in
shape
]
mesh
=
np
.
array
(
np
.
meshgrid
(
*
cord_range
,
indexing
=
'ij'
),
dtype
=
np
.
float32
)
mesh
=
np
.
array
(
np
.
meshgrid
(
*
h
cord_range
,
indexing
=
'ij'
),
dtype
=
np
.
float32
)
# scale mesh accordingly
# scale mesh accordingly
for
i
,
s
in
enumerate
(
sdims
):
for
i
,
s
in
enumerate
(
sdims
):
...
...
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