Skip to content

BlindBlurOperation gives UserWarning #5

@OriLifschitz

Description

@OriLifschitz

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions