Skip to content

Where are the "best" reflection images generated from strategy.py? #6

@pkiourti

Description

@pkiourti

Hi, I am using your code to create a backdoored model.

According to issue #5, the code of strategy.py is not in sync with the data provided. Therefore, I went through the code strategy.py and did a lot of workarounds to run it based on the description of the paper.

After I ran it, I don't see the output directory with the 200 reflection images. Where am I supposed to find the 200 reflection images after running stratergy.py? I set the output folder to "gtsrb", but nothing is inside this folder.

This is what I see inside the folder of iteration 15 created by strategy.py (dataset/GTSRB-new/0-strategy/iter_15/):
-rw-rw-r-- 1 penny penny 23 May 28 11:46 each_class.log
-rw-rw-r-- 1 penny penny 11416 May 27 22:26 sample_weight.log
-rw-rw-r-- 1 penny penny 20831 May 27 22:26 eval_result.log
drwxrwxr-x 4 penny penny 4096 May 27 19:07 checkpoints
-rw-rw-r-- 1 penny penny 22644 May 27 19:07 test-atk.txt
-rw-rw-r-- 1 penny penny 164711 May 27 19:07 train.txt
drwxrwxr-x 2 penny penny 69632 May 27 19:07 test
drwxrwxr-x 2 penny penny 45056 May 27 19:07 train
-rw-rw-r-- 1 penny penny 121 May 27 19:07 config.txt
-rw-rw-r-- 1 penny penny 14172 May 27 19:07 test.txt

Thank you so much,
Penny

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions