Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'Chat' object has no attribute 'get_img_list' #24

Open
fuhaha824 opened this issue Dec 4, 2024 · 2 comments
Open

'Chat' object has no attribute 'get_img_list' #24

fuhaha824 opened this issue Dec 4, 2024 · 2 comments

Comments

@fuhaha824
Copy link

image 'Chat' object has no attribute 'get_img_list', 'get_mixed_embs' and 'get_text'.
@yunqing-me
Copy link
Owner

Thanks for the interest. Please adapt our code of crafting adversarial samples shown in the main page to the training / inference code of a specific model as the principal ideas are the similar: Firstly we apply transfer-based attack through the visual encoder (it is often a pretraind Clip encoder), then we conduct the black-box attack on the LLM part of that VLM.

@doudouwer
Copy link

Dears,
Have u ever fixed this problem?
I found there's no effect on Minigpt-4 by using attacked photo which is generated by unidiffusion. I wonder whether my work goes wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants