ericyinyzy / VQAttack

This is an official repository of ``VQAttack: Transferable Adversarial Attacks on Visual Question Answering via Pre-trained Models'' (AAAI 2024))
3 stars 0 forks source link

refTools.evaluation.tokenizer.ptbtokenizer #2

Open YanGGGL opened 2 weeks ago

YanGGGL commented 2 weeks ago

Hi, thank you for your great work.

In VQAttack/ALBEF_VQAttack/ALBEF_attack/refTools/evaluation, it seems that the "tokenizer" folder is missing. So I got a ERROR saying "No module named 'refTools.evaluation.tokenizer'".

Could you check the repo and upload the rest files if my thought is correct? I would be very appreciate it.

ericyinyzy commented 2 weeks ago

Hi, run this code pip install reftools . You need to install all packages in ALBEF

YanGGGL commented 2 weeks ago

Hi, run this code pip install reftools . You need to install all packages in ALBEF

Thank you for your reply. It works.