Skip to content

Commit

Permalink
fixed bug
Browse files Browse the repository at this point in the history
  • Loading branch information
swamidass committed Jun 16, 2024
1 parent 61d0ab6 commit c6bd90c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitingore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.pyenv
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ tiffslide = "^2.2.0"
tiffslide-xarray = "^0.1"
# itk-elastix = { version = "^0.19.0", optional = true }
dm-tree = "^0.1.8"
onnxruntime = "^1.18.0"
# onnxruntime = "^1.18.0"
pooch = "^1.8.2"
data-science-types = "^0.2.23"

Expand Down
2 changes: 1 addition & 1 deletion wsiml/taesd/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def tiled_predict(
self, x: xr.DataArray, approx_patch_size: int = 1500 * 2
) -> xr.DataArray:
processed = []
slicers = list(self.dss.parition(x, approx_patch_size))
slicers = list(self.dss.partition(x, approx_patch_size))
for slicer in tqdm.tqdm(slicers):
patch = x[slicer]
pred = self.predict(patch)
Expand Down

0 comments on commit c6bd90c

Please sign in to comment.