Hidden-Trigger-Backdoor-Attacks icon indicating copy to clipboard operation
Hidden-Trigger-Backdoor-Attacks copied to clipboard

Target file is created but not automatically saving on poison generation folder

Open ArshadIram opened this issue 3 years ago • 8 comments

As per the readme file, I have provided the path of the dataset and executed the command

python create_imagenet_filelist.py cfg/dataset.cfg

In result, a new empty folder is created titled with ImageNet_data_list having three subfolders (finetune, poison generation and test)

On executing the second command for poison generation.

I followed the readme file and clone experiment 0011 and generate a new experiment to execute this by creating the data/0021/source_wnid_list.txt and new experiment file.

When I execute the command python finetune_and_test.py cfg/experiment.cfg

The source wind file is created under the data subfolder <experiment Id> but on the poison generation file the target_file is creating but it is not saving and I am getting this error message

image

ArshadIram avatar Jun 14 '21 14:06 ArshadIram

Hi, have you solved this problem? BTW, what dataset did you use? ImageNet2012? It seems too large for me to download. Wish to hear from you.

Pang-0093 avatar Dec 01 '21 03:12 Pang-0093

No I was not able to solve it so I left it as it is.

ArshadIram avatar Dec 01 '21 10:12 ArshadIram

Oh.. thank you anyway! I have another question. How do you provide the path of the data? or to say how do you store the data? I mean, should I provide a path that concludes two folders: "train" and "val"? and both of them contain lots of JPEGs? (the ImageNet is so big that I don't know how to prepare it as the datatype that fits this project)

Pang-0093 avatar Dec 01 '21 14:12 Pang-0093

I have a problem reading files when running experiments or when I create my own experiment. How to solve this problem please. Capture d’écran 2022-09-20 093356

Nono995 avatar Sep 20 '22 08:09 Nono995

@ArshadIram Hello please how did you do to solve your problem of file creation at the level of the execution of the program.

Nono995 avatar Sep 20 '22 08:09 Nono995

I did not solve this problem. I left it as it is.

ArshadIram avatar Sep 23 '22 18:09 ArshadIram

man what can I say😫 recently I suffer this to

chengyiqiu1121 avatar Mar 06 '24 10:03 chengyiqiu1121

伙计,我能说什么😫,最近我遭受了这个

j将文件创建出来就可以了

liang5211314 avatar Jun 12 '24 01:06 liang5211314