blind-dps
blind-dps copied to clipboard
BlindBlurOperation gives UserWarning
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