Skip to content

How does model.forward process images internally? Why doesn't it process images with the resized 512 resolution? #41

Open

Description

@YUANMU227

image

In demo_panoseg.py, images have been resized to 512, but weight and height are still the size of the original image. So if the original image is very large, the memory will explode directly.

How does model.forward process images internally? Since it has been resized, why doesn't it perform inference on the size of 512? Why do we need to input the size of the original image?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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