blind-dps icon indicating copy to clipboard operation
blind-dps copied to clipboard

BlindBlurOperation gives UserWarning

Open OriLifschitz opened this issue 2 years ago • 0 comments

Hello Thank you for your great work!

Just thought I'd mention that: in guided_diffusion/measurements.py the following: class BlindBlurOperator(LinearOperator)

Invokes: UserWarning: Using padding='same' with even kernel lengths and odd dilation may require a zero-padded copy of the input be created (Triggered internally at ...pytorch\aten\src\ATen\native\Convolution.cpp:744.) b_img[:, i, :, :] = F.conv2d(data[:, i:i+1, :, :], kernel, padding='same')

Kind regards

OriLifschitz avatar Sep 28 '23 15:09 OriLifschitz