From b3166aa70c4940c259070924fdc61a0f8902c2d8 Mon Sep 17 00:00:00 2001 From: the-database <25811902+the-database@users.noreply.github.com> Date: Sat, 27 Jul 2024 01:27:42 -0400 Subject: [PATCH] Update auto_split_tiles.py --- .../backend/src/nodes/impl/upscale/auto_split_tiles.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/MangaJaNaiConverterGui/backend/src/nodes/impl/upscale/auto_split_tiles.py b/MangaJaNaiConverterGui/backend/src/nodes/impl/upscale/auto_split_tiles.py index 1ba0046..161cd0d 100644 --- a/MangaJaNaiConverterGui/backend/src/nodes/impl/upscale/auto_split_tiles.py +++ b/MangaJaNaiConverterGui/backend/src/nodes/impl/upscale/auto_split_tiles.py @@ -27,10 +27,9 @@ def estimate_tile_size( required_mem = f"{mem_required_estimation/GB_AMT:.2f}" budget_mem = f"{budget/GB_AMT:.2f}" - print( + logger.debug( f"Estimating memory required: {required_mem} GB, {budget_mem} GB free." f" Estimated tile size: {tile_size}, tile_pixels = {tile_pixels}", - flush=True ) return tile_size