Skip to content

cantankerousdolphin/robust-learned-representations

Repository files navigation

Code for "Adversarial Robustness as a Prior on Learned Representations"

Running the notebooks

Steps to run the notebooks (for now, requires CUDA):

  • Clone this repository with --recurse-submodules to include submodules (--recursive pre-Git 2.13)
  • Download our models: here
  • Make a models folder in the main repository folder, and save the checkpoints there
  • Install all the required packages with pip install -r requirements.txt
  • Edit user_constants.py to point to PyTorch-formatted versions of the CIFAR and ImageNet datasets
  • Start a jupyter notebook server: jupyter notebook . --ip 0.0.0.0

About

Code for "Adversarial Robustness as a Prior on Learned Representations" - ICLR '22 submission

Resources

Stars

Watchers

Forks

Packages

No packages published