AttackVLM icon indicating copy to clipboard operation
AttackVLM copied to clipboard

'Chat' object has no attribute 'get_img_list'

Open fuhaha824 opened this issue 1 year ago • 2 comments

image 'Chat' object has no attribute 'get_img_list', 'get_mixed_embs' and 'get_text'.

fuhaha824 avatar Dec 04 '24 11:12 fuhaha824

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.

yunqing-me avatar Dec 22 '24 11:12 yunqing-me

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.

doudouwer avatar Jan 18 '25 15:01 doudouwer