aranganath/Adversarial

New process

Closed this issue · 1 comments

Follow sequentially:
Steps for both Baseline and cluster
Step 1: For both: Train on clean images (not separately) (use script and save weights)
Step 2: For adversarial examples: Create using the 'clean' trained model
Step 3: For baseline: Train on adversarial images created in step 2 (Only using training) (only 1 epsilon)
Step 4: For baseline: Test on adversarial images created in step 2 (Testing samples created from same epsilon)
Step 5: For baseline: Test on adversarial images created in step 2 (Testing samples created from different epsilon)
Step 6: For cluster: Create DCT examples from step 2 and clean set
Step 7: For cluster: Perform clustering on DCT examples
Step 8: For cluster: Test the cluster on DCT examples of the adversarial test set. (same epsilon)
Step 9: For cluster: Test the cluster on DCT examples of the adversarial test set. (different epsilon)

AFTER: TSNE! and PLOT!

Closing this issue since majority of this is done.