Skip to content

about the format of images #25

@payphone131

Description

@payphone131

hello i found that in your code you save images as '.bmp'. i changed the code to save images as '.jpg' and found minigpt4 said the saved adversarial images are blurred and pixelated, which suggests these adversarial images in '.jpg' format were treated as pure noise with no semantics. but when i used your original code which saves images as '.bmp', the minigpt4 was jailbroken and able to reply with the adversarial images as intended. i am wondering why minigpt4 replied differently when saving images in different formats.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions