Skip to content

Commit 4461912

Browse files
committed
🔥 Remove ioconfig from EngineRunParams
1 parent 1080d5d commit 4461912

File tree

3 files changed

+0
-7
lines changed

3 files changed

+0
-7
lines changed

tiatoolbox/models/engine/engine_abc.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,6 @@ class EngineABCRunParams(TypedDict, total=False):
9191
Resolution settings for input heads. Supported units are `level`,
9292
`power`, and `mpp`. Keys should be "units" and "resolution", e.g.,
9393
[{"units": "mpp", "resolution": 0.25}]. See :class:`WSIReader` for details.
94-
ioconfig (ModelIOConfigABC):
95-
IO configuration (:class:`ModelIOConfigABC`) for model input/output.
9694
memory_threshold (int):
9795
Memory usage threshold (in percentage) to trigger caching behavior.
9896
num_workers (int):
@@ -120,7 +118,6 @@ class EngineABCRunParams(TypedDict, total=False):
120118
class_dict: dict
121119
device: str
122120
input_resolutions: list[dict[Units, Resolution]]
123-
ioconfig: ModelIOConfigABC
124121
memory_threshold: int
125122
num_workers: int
126123
output_file: str

tiatoolbox/models/engine/patch_predictor.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,6 @@ class PredictorRunParams(EngineABCRunParams, total=False):
5959
Device to run the model on (e.g., "cpu", "cuda").
6060
input_resolutions (list[dict]):
6161
Resolution used for reading the image. See `WSIReader` for details.
62-
ioconfig (ModelIOConfigABC):
63-
Input/output configuration for patch extraction and resolution.
6462
memory_threshold (int):
6563
Memory usage threshold (in percentage) to trigger caching behavior.
6664
num_workers (int):

tiatoolbox/models/engine/semantic_segmentor.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,6 @@ class SemanticSegmentorRunParams(PredictorRunParams, total=False):
102102
Device to run the model on (e.g., "cpu", "cuda").
103103
input_resolutions (list[dict]):
104104
Resolution used for reading the image. See `WSIReader` for details.
105-
ioconfig (ModelIOConfigABC):
106-
Input/output configuration for patch extraction and resolution.
107105
memory_threshold (int):
108106
Memory usage threshold (in percentage) to trigger caching behavior.
109107
num_workers (int):

0 commit comments

Comments
 (0)