mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Added Defaults to calc_tiles_min_overlap for overlap and round
Added tests for min_overlap and even_split tile gen
This commit is contained in:
@ -159,7 +159,7 @@ def calc_tiles_even_split(
|
||||
|
||||
|
||||
def calc_tiles_min_overlap(
|
||||
image_height: int, image_width: int, tile_height: int, tile_width: int, min_overlap: int, round_to_8: bool
|
||||
image_height: int, image_width: int, tile_height: int, tile_width: int, min_overlap: int = 0, round_to_8: bool = False
|
||||
) -> list[Tile]:
|
||||
"""Calculate the tile coordinates for a given image shape under a simple tiling scheme with overlaps.
|
||||
|
||||
|
Reference in New Issue
Block a user