Code for PyTorch implementation of adversarial reprogramming.
- PyTorch 0.4+
- Python 3.6
Train a ResNet18 on CIFAR10 using following code
python train.py
Then reprogram the ResNet18 to classify MNIST digits
python adv_reprogram.py
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Code for PyTorch implementation of adversarial reprogramming.
Train a ResNet18 on CIFAR10 using following code
python train.py
Then reprogram the ResNet18 to classify MNIST digits
python adv_reprogram.py