alibaba / FederatedScope

An easy-to-use federated learning platform

Home Page:https://www.federatedscope.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No such file or directory: 'data/southwest_images_new_test.pkl'

tntstation opened this issue · comments

Hello!I am trying to run the 'backdoor_fedavg_convnet2_on_cifar10_small.yaml' which under 'scripts/backdoor_scripts/attack_config' directory in the background bench.The current issue is that pycharm prompts "FileNotFoundError: [Errno 2] No such file or directory: 'data/southwest_images_new_test.pkl'",I checked the data folder and found that there is indeed no such file. Is this a problem with the code or my environment?
image
image

I also didn't find the file under the "cifa-10-batches-py" folder.
image

Furthermore,I found a script which named "fedavg_convnet2_on_femnist.yaml" almost same as the sample offered by official documents on the "https://github.com/alibaba/FederatedScope/blob/master/scripts/attack_exp_scripts/backdoor_attack/backdoor_badnet_fedavg_convnet2_on_femnist.yaml" webpage, and I can run the "fedavg_convnet2_on_femnist.yaml" normally.
image

I tried running a script that also uses gridTrigger, and it ran well too.
image
because my laptop only have one GPU,so I change the "device" from 1 to 0
image

@Osier-Yi Please hv a look into this issue, thx.

12/7

Scripts using sig triggers also run well, but scripts using hello Kitty triggers display missing files just like scripts using edge triggers.
image
image
image

Should I add a Hello Kitty picture in ‘data/trigger’?