Skip to content

Potential Minor Bug in vlm_response_mask Function (Global Category Handling) #24

Description

@KazusaKitakawa

Hi ARC Team,

Thank you for your great work on this project! While going through the code, I noticed a potential inconsistency in the vlm_response_mask function when handling the 'global' category.

When the category parameter is set to 'global', the mask is currently initialized as:
mask = 255 * np.zeros((height, width))

For global category processing, the mask should presumably cover the entire image area. This would be better implemented as:
mask = np.ones((height, width)) * 255

Would you kindly confirm if this is indeed an implementation oversight? Looking forward to your insights!

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