lvpeizhuo / Data-free_Backdoor

This is the source code for Data-free Backdoor. Our paper is accepted by the 32nd USENIX Security Symposium (USENIX Security 2023).
MIT License
27 stars 3 forks source link

Test data is required #1

Open secreu opened 1 year ago

secreu commented 1 year ago

Could you offer your test data? Such as data in './dataset/cifar10/test/'. It seems to be different from the official dataset.

lvpeizhuo commented 1 year ago

Actually, we use the cifar-10 testing dataset released by the official. You can download the dataset by pytorch.

secreu commented 1 year ago

Thank you for your answer. Yes, I'm using the dataset downloaded by pytorch. But it doesn't have a subdirectory named 'test', as described in line 132 of the file poison_model.py. You load test data by using function get_dataset in file utils.py, which loads the images in the directory one by one. What I want to express is how I can get the test data of the above structure.

lvpeizhuo commented 1 year ago

Thanks, we have uploaded the corresponding test dataset to the URL: https://www.dropbox.com/sh/uwh51z8u292lzz5/AAC6MMT6E7MJbQ0RLYz6iyeNa?dl=0