Smoothly-Blend-Image-Patches
Smoothly-Blend-Image-Patches copied to clipboard
Bug in _windowed_subdivs
Hello,
Line 174 should be
for j in range(0, pady_len-window_size+1, step):
instead of
for j in range(0, padx_len-window_size+1, step):
(note 'pady_len' instead of 'padx_len')
Thanks, Navid
Also the same typo happens here https://github.com/Vooban/Smoothly-Blend-Image-Patches/blob/master/smooth_tiled_predictions.py#L212
this answer debug my not square image, thanks!