Skip to content

Code for our paper "Towards Automated Testing and Robustification by Semantic Adversarial Data Generation"

License

Notifications You must be signed in to change notification settings

rakshithShetty/SemanticAdversary

Repository files navigation

Semantic Adversary

Code for our paper "Towards Automated Testing and Robustification by Semantic Adversarial Data Generation" (Paper) Teaser

Explanatory Video

Video

Setup

Tested on

  • Python 3.6.7
  • PyTorch 1.5

Download the coco dataset into data/coco directory Download the json file below which collects all the required meta data for COCO into the data/coco directory Download the pretrained models given below.

To run interpolations between randomly sampled objects and compare results run the script as below.

CUDA_VISIBLE_DEVICES=X python compare_interpolations.py -m modelA.pth.tar modelB.pth.tar  -n savename_modelA savename_modelB  

Code to train the synthesizer network and to run adversarial attack will be released soon.

Downloads

Bibtex

If you find this code useful in your work, please cite the paper.

PaperBibtex
@inproceedings{shetty2020SemAdv,
title={Towards automated testing and robustification by semantic adversarial data generation},
author={Shetty, Rakshith and Fritz, Mario and Schiele, Bernt},
booktitle={European Conference on Computer Vision (ECCV)},
year={2020},
}

About

Code for our paper "Towards Automated Testing and Robustification by Semantic Adversarial Data Generation"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages