Skip to content

Commit

Permalink
Merge pull request #15084 from clayne/1709395892-upscale-logging-reduce
Browse files Browse the repository at this point in the history
upscaler_utils: Reduce logging
  • Loading branch information
AUTOMATIC1111 authored Mar 4, 2024
2 parents 45b8a49 + 3c0177a commit e2a8745
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions modules/upscaler_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,8 @@ def upscale_with_model(
for y, h, row in grid.tiles:
newrow = []
for x, w, tile in row:
logger.debug("Tile (%d, %d) %s...", x, y, tile)
output = upscale_pil_patch(model, tile)
scale_factor = output.width // tile.width
logger.debug("=> %s (scale factor %s)", output, scale_factor)
newrow.append([x * scale_factor, w * scale_factor, output])
p.update(1)
newtiles.append([y * scale_factor, h * scale_factor, newrow])
Expand Down

0 comments on commit e2a8745

Please sign in to comment.