diff --git a/.gitingore b/.gitingore new file mode 100644 index 0000000..f14918d --- /dev/null +++ b/.gitingore @@ -0,0 +1 @@ +.pyenv diff --git a/pyproject.toml b/pyproject.toml index 5098dea..c57f270 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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" diff --git a/wsiml/taesd/__init__.py b/wsiml/taesd/__init__.py index 2009dbd..642a9b0 100644 --- a/wsiml/taesd/__init__.py +++ b/wsiml/taesd/__init__.py @@ -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)