aagami bc234589e6 Fix ImagePadForOutpaintTargetSize mask scaling bug
When image and mask have different input dimensions and no downscaling
is needed (scaling_factor >= 1), the mask was not being resized to match
the image dimensions before padding, causing mismatched output sizes.

Now ensures mask dimensions match image dimensions using F.interpolate
with nearest-neighbor interpolation in both scaling branches.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-25 14:32:40 +03:00
..
2025-07-21 14:34:56 +03:00
2025-07-03 20:45:10 +03:00
2025-08-20 21:06:39 +03:00