Skip to content

utrerf/robust_transfer_learning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Adversarially-Trained Deep Nets Transfer Better

This github repo contains the code used for the "Adversarially-Trained Deep Nets Transfer Better" paper

How to use

  1. Download all source models into models directory and save with the appropriate name:
  1. Install all dependencies:
  • pip install robustness
  • conda install pytorch==1.2.0 torchvision==0.4.0 cudatoolkit=10.0 -c pytorch
  1. If you want to train a single model, run the train.py file. For more info on the run-time inputs, run "python train.py --help".

  2. If you want to replicate the entire experiment run the tools/batch.py file. Keep in mind that this might take a considerable ammount of time since we fine-tune over 14 thousand models.

  3. Find the logs including the validation accuracy in the results/logs folder. Use the log_extractor.py file to extract all your logs into a nice csv format.

About

Accelerating Transfer Learning with Robust Neural Nets

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published