use result size helper
This commit is contained in:
parent
e958eff3a8
commit
b5ed1101b4
|
@ -160,16 +160,11 @@ class ChainPipeline:
|
||||||
kwargs.pop("params")
|
kwargs.pop("params")
|
||||||
|
|
||||||
# the stage must be split and tiled if any image is larger than the selected/max tile size
|
# the stage must be split and tiled if any image is larger than the selected/max tile size
|
||||||
must_tile = has_mask(stage_kwargs) or any(
|
must_tile = has_mask(stage_kwargs) or needs_tile(
|
||||||
[
|
stage_pipe.max_tile,
|
||||||
needs_tile(
|
stage_params.tile_size,
|
||||||
stage_pipe.max_tile,
|
size=kwargs.get("size", None),
|
||||||
stage_params.tile_size,
|
source=stage_sources.size(),
|
||||||
size=kwargs.get("size", None),
|
|
||||||
source=source,
|
|
||||||
)
|
|
||||||
for source in stage_sources.as_images()
|
|
||||||
]
|
|
||||||
)
|
)
|
||||||
|
|
||||||
tile = stage_params.tile_size
|
tile = stage_params.tile_size
|
||||||
|
|
Loading…
Reference in New Issue