euanong / image-hijacks

Official codebase for Image Hijacks: Adversarial Images can Control Generative Models at Runtime
https://image-hijacks.github.io/
MIT License
37 stars 7 forks source link

Codes of Benchmarks #2

Open JarvisUSTC opened 3 months ago

JarvisUSTC commented 3 months ago

Could you please provide the codes and data for the experiments in your paper?

JarvisUSTC commented 3 months ago

I noticed that the folder "/data" is mentioned in Readme. But I can not find the way to download it.

euanong commented 3 months ago

Thank you for your interest in our paper!

Have you followed the instructions in the README? These should download the relevant data (and create the data/ folder).

JarvisUSTC commented 3 months ago

Yes, I followed the instructions as following:

poetry run python download.py models blip2-flan-t5-xl
poetry run pytest .

However, I do not see the data folder. Which command will download the data?