Skip to content

Why do you use nearest method for matching the resolution of (LR, HR) due to CutBlur ? #19

Open
@star4s

Description

I have a question about how to match he resolution of (LR, HR) due to CutBlur.

When I check the code about matching the resolution of (LR, HR) due to CutBlur,
I found using nearest.

match the resolution of (LR, HR) due to CutBlur

        if HR.size() != LR.size():
            scale = HR.size(2) // LR.size(2)
            LR = F.interpolate(LR, scale_factor=scale, mode="nearest")

Why don't you use bicubic?

Most people use bicubic in super resolution.
Do you have some special things?

I am interest in your CutBlur.
Thank you for your attention.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions