Skip to content

Commit 1f29a8f

Browse files
committed
upscaler_utils: Reduce logging
* upscale_with_model: Comment out debug logging so it's available if needed but not outputting debug lines for every single tile (noise).
1 parent 45b8a49 commit 1f29a8f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/upscaler_utils.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,10 @@ def upscale_with_model(
6969
for y, h, row in grid.tiles:
7070
newrow = []
7171
for x, w, tile in row:
72-
logger.debug("Tile (%d, %d) %s...", x, y, tile)
72+
# logger.debug("Tile (%d, %d) %s...", x, y, tile)
7373
output = upscale_pil_patch(model, tile)
7474
scale_factor = output.width // tile.width
75-
logger.debug("=> %s (scale factor %s)", output, scale_factor)
75+
# logger.debug("=> %s (scale factor %s)", output, scale_factor)
7676
newrow.append([x * scale_factor, w * scale_factor, output])
7777
p.update(1)
7878
newtiles.append([y * scale_factor, h * scale_factor, newrow])

0 commit comments

Comments
 (0)