We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abe7c4c commit 4a79fdfCopy full SHA for 4a79fdf
pydensecrf/utils.py
@@ -55,7 +55,7 @@ def create_pairwise_gaussian(sdims, shape):
55
"""
56
# create mesh
57
hcord_range = [range(s) for s in shape]
58
- mesh = np.array(np.meshgrid(*cord_range, indexing='ij'), dtype=np.float32)
+ mesh = np.array(np.meshgrid(*hcord_range, indexing='ij'), dtype=np.float32)
59
60
# scale mesh accordingly
61
for i, s in enumerate(sdims):
0 commit comments