Skip to content

Commit

Permalink
fix(api): log number of tiles contributing to each image pixel
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed Jul 3, 2023
1 parent ed953f5 commit 5d13629
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/onnx_web/chain/tile.py
Expand Up @@ -149,6 +149,7 @@ def blend_tiles(
axis=2,
)

logger.trace("mean tiles contributing to each pixel: %s", np.mean(count))
pixels = np.where(count > 0, value / count, value)
return Image.fromarray(np.uint8(pixels))

Expand Down

0 comments on commit 5d13629

Please sign in to comment.