Git Product home page Git Product logo

lokender / regroup Goto Github PK

View Code? Open in Web Editor NEW
6.0 1.0 0.0 103.9 MB

Official implementation of the paper: "REGroup: Rank-aggregating Ensemble of Generative Classifiers for Robust Predictions", IEEE WACV, 2022

Home Page: https://lokender.github.io/REGroup.html

License: MIT License

Python 1.30% Jupyter Notebook 98.70%
regroup robust classification machine-learning vgg19 ensemble robust-predictions adversarial-attacks adversarial pgd

regroup's Introduction

alt text

This repository contains the demo code of the method called REGroup proposed in the paper: REGroup: Rank-aggregating Ensemble of Generative Classifiers for Robust Predictions, IEEE/CVF WACV, 2022.

Requirements

  • Pytorch
  • numpy, scipy
  • matplotlib
  • Jupyter notebook
  • foolbox (version 2.3.0)

Steps to run the demo

  • Clone the repository.
  • Download CIFAR10 PGD L-infinity adversarial examples
  • Open jupyter notebook REGroup_demo_cifar10_vgg19.ipynb
$ git clone https://github.com/lokender/REGroup.git
$ cd REGroup
$ wget --load-cookies /tmp/cookies.txt "https://docs.google.com/uc?export=download&confirm=$(wget --quiet --save-cookies /tmp/cookies.txt --keep-session-cookies --no-check-certificate 'https://docs.google.com/uc?export=download&id=1ylJctBJzh4ih-0zzD4ZLO2umh--QpX7u' -O- | sed -rn 's/.*confirm=([0-9A-Za-z_]+).*/\1\n/p')&id=1ylJctBJzh4ih-0zzD4ZLO2umh--QpX7u" -O cifar10_vgg19_pgd_examples.mat && rm -rf /tmp/cookies.txt

To-dos?

  • [Done] Classifier: VGG19, Dataset: CIFAR10 ( Released )
  • [To-do] Classifier: VGG19, Dataset: ImageNet ( Will be released soon )
  • [To-do] Classifier: ResNet, Dataset: CIFAR10 ( Will be released soon )
  • [To-do] Classifier: ResNet, Dataset: ImageNet ( Will be released soon )
  • [To-do] Classifier: Inception, Dataset: ImageNet ( Will be released soon )
  • [To-do] Code for building generative classifiers. ( Will be released soon )

Report any bug or suggestion to [email protected].

Press STAR on the top right of this page for continuous updates.

regroup's People

Contributors

lokender avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.