Skip to content

Issues in Shape Handling and Original Image Size  #79

@gongshichina

Description

@gongshichina

@hanoonaR Thank you for your open-source contribution! I have noticed two potential bugs in the code. Could you please take a look and verify them?

Isuse1:

post_h, post_w = global_enc_image.shape[1:3]

The global_enc_image shape is (1, 3, 336, 336). It seems that global_enc_image.shape[2:4] should be used instead.

Issue 2:

single_img_roi = single_img_roi * 224

The size of the original image appears to be 336 rather than 224. This mismatch might lead to unexpected behavior in the code.

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