浏览代码

Merge pull request #15084 from clayne/1709395892-upscale-logging-reduce

upscaler_utils: Reduce logging
AUTOMATIC1111 1 年之前
父节点
当前提交
e2a8745abc
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      modules/upscaler_utils.py

+ 0 - 2
modules/upscaler_utils.py

@@ -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])