Skip to content

Why do we need expand2sqaure in scorers? #44

@Hoi2022

Description

@Hoi2022

Hello, thanks for your great works.

However, I find that the preprocess inside this looks weird.

The input image is first expanded to a square one, with extra mean-color margins by applying the expand2sqaure function.

I visualized a preprocessed image, which looks like this:

proproc

while the original image is:

image

My teammate also reports that larger aspect ratio results in lower aesthetic score. So we are wondering if this preprocess is correct.

Metadata

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