Backdoor training process dataset: MNIST architecture: ResNet18
Dataset Dir
data(input path)
│ index.json(optional, for nosiy model)
│ new_labels.json(optional, for nosiy model)
│ old_labels.json(optional, for nosiy model)
|
└─── sprites
│ │ 0.png
│ │ 1.png
│ │ ...
│
└───Model
│ │ model.py
│ │
│ └───Epoch_1
│ │ index.json
│ │ subject_model.pth
| | (train_data.npy) [after preprocess]
| | (test_data.npy) [after preprocess]
| | (border_centers.npy) [after preprocess]
| | (vismodel.pth) [after trained]
| | (embedding.npy) [after visulization]
| | (scale.npy) [after visulization]
| | (bgimg.png) [after visulization]
│ └───Epoch_2
| | ...
│
└───Training_data
| │ training_dataset_data.pth
| │ training_dataset_label.pth
│
└───Testing_data
│ │ testing_dataset_data.pth
│ │ testing_dataset_label.pth
└───config.json