Skip to content

Commit 5884cf5

Browse files
authored
Merge pull request #401 from thodkatz/fix-prediction-with-blocking
Fix prediction with blocking
2 parents 254ffe1 + c631317 commit 5884cf5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

bioimageio/core/block_meta.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,8 @@ def local_slice(self) -> PerAxis[SliceInfo]:
161161
return Frozen(
162162
{
163163
a: SliceInfo(
164-
self.padding[a].left,
165-
self.padding[a].left + self.inner_shape[a],
164+
self.halo[a].left,
165+
self.halo[a].left + self.inner_shape[a],
166166
)
167167
for a in self.inner_slice
168168
}

example/model_usage.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@
622622
"name": "python",
623623
"nbconvert_exporter": "python",
624624
"pygments_lexer": "ipython3",
625-
"version": "3.11.9"
625+
"version": "3.9.19"
626626
}
627627
},
628628
"nbformat": 4,

0 commit comments

Comments
 (0)