All Projects → wanglouis49 → Pytorch Adversarial_box

wanglouis49 / Pytorch Adversarial_box

PyTorch library for adversarial attack and training

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Pytorch Adversarial box

Advsemiseg
Adversarial Learning for Semi-supervised Semantic Segmentation, BMVC 2018
Stars: ✭ 382 (+267.31%)
Mutual labels:  adversarial-learning
Lab
[CVPR 2018] Look at Boundary: A Boundary-Aware Face Alignment Algorithm
Stars: ✭ 956 (+819.23%)
Mutual labels:  adversarial-learning
Ali Pytorch
PyTorch implementation of Adversarially Learned Inference (BiGAN).
Stars: ✭ 61 (-41.35%)
Mutual labels:  adversarial-learning
Adaptsegnet
Learning to Adapt Structured Output Space for Semantic Segmentation, CVPR 2018 (spotlight)
Stars: ✭ 654 (+528.85%)
Mutual labels:  adversarial-learning
Advertorch
A Toolbox for Adversarial Robustness Research
Stars: ✭ 826 (+694.23%)
Mutual labels:  adversarial-learning
Awesome Graph Representation Learning
A curated list of awesome graph representation learning.
Stars: ✭ 44 (-57.69%)
Mutual labels:  adversarial-learning
Adversarial Examples Pytorch
Implementation of Papers on Adversarial Examples
Stars: ✭ 293 (+181.73%)
Mutual labels:  adversarial-learning
Lggan
[CVPR 2020] Local Class-Specific and Global Image-Level Generative Adversarial Networks for Semantic-Guided Scene Generation
Stars: ✭ 97 (-6.73%)
Mutual labels:  adversarial-learning
Advanced Gradient Obfuscating
Take further steps in the arms race of adversarial examples with only preprocessing.
Stars: ✭ 28 (-73.08%)
Mutual labels:  adversarial-learning
Adversarial Explainable Ai
💡 A curated list of adversarial attacks on model explanations
Stars: ✭ 56 (-46.15%)
Mutual labels:  adversarial-learning
Neurec
Next RecSys Library
Stars: ✭ 731 (+602.88%)
Mutual labels:  adversarial-learning
Taadpapers
Must-read Papers on Textual Adversarial Attack and Defense
Stars: ✭ 800 (+669.23%)
Mutual labels:  adversarial-learning
Gvb
Code of Gradually Vanishing Bridge for Adversarial Domain Adaptation (CVPR2020)
Stars: ✭ 52 (-50%)
Mutual labels:  adversarial-learning
Tf Dann
Domain-Adversarial Neural Network in Tensorflow
Stars: ✭ 556 (+434.62%)
Mutual labels:  adversarial-learning
Pose Adv Aug
Code for "Jointly Optimize Data Augmentation and Network Training: Adversarial Data Augmentation in Human Pose Estimation" (CVPR 2018)
Stars: ✭ 83 (-20.19%)
Mutual labels:  adversarial-learning
Selectiongan
[CVPR 2019 Oral] Multi-Channel Attention Selection GAN with Cascaded Semantic Guidance for Cross-View Image Translation
Stars: ✭ 366 (+251.92%)
Mutual labels:  adversarial-learning
A2cl Pt
Adversarial Background-Aware Loss for Weakly-supervised Temporal Activity Localization (ECCV 2020)
Stars: ✭ 34 (-67.31%)
Mutual labels:  adversarial-learning
Zerospeech Tts Without T
A Pytorch implementation for the ZeroSpeech 2019 challenge.
Stars: ✭ 100 (-3.85%)
Mutual labels:  adversarial-learning
Virtual Adversarial Training
Pytorch implementation of Virtual Adversarial Training
Stars: ✭ 94 (-9.62%)
Mutual labels:  adversarial-learning
Handwriting recogition using adversarial learning
[CVPR 2019] "Handwriting Recognition in Low-resource Scripts using Adversarial Learning ”, IEEE Conf. on Computer Vision and Pattern Recognition (CVPR), 2019.
Stars: ✭ 52 (-50%)
Mutual labels:  adversarial-learning

Adversarial Box - Pytorch Adversarial Attack and Training

Luyu Wang and Gavin Ding, Borealis AI

Motivation?

CleverHans comes in handy for Tensorflow. However, PyTorch does not have the luck at this moment. Foolbox supports multiple deep learning frameworks, but it lacks many major implementations (e.g., black-box attack, Carlini-Wagner attack, adversarial training). We feel there is a need to write an easy-to-use and versatile library to help our fellow researchers and engineers.

We have a much more updated version called AdverTorch. You can find most of the popular attacks there. This repo will not be maintained anymore.

Usage

from adversarialbox.attacks import FGSMAttack
adversary = FGSMAttack(model, epsilon=0.1)
X_adv = adversary.perturb(X_i, y_i)

Examples

  1. MNIST with FGSM (code)
  2. Adversarial Training on MNIST (code)
  3. MNIST using a black-box attack (code)

List of supported attacks

  1. FGSM
  2. PGD
  3. Black-box
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].