Smoothly-Blend-Image-Patches icon indicating copy to clipboard operation
Smoothly-Blend-Image-Patches copied to clipboard

Bug in _windowed_subdivs

Open navidsam opened this issue 7 years ago • 2 comments

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

navidsam avatar Oct 20 '17 21:10 navidsam

Also the same typo happens here https://github.com/Vooban/Smoothly-Blend-Image-Patches/blob/master/smooth_tiled_predictions.py#L212

arsenyinfo avatar Nov 06 '17 22:11 arsenyinfo

this answer debug my not square image, thanks!

Bingohong avatar Apr 29 '18 01:04 Bingohong