Giter Club home page Giter Club logo

bartdefense's Introduction

BaRTDefense

NOTE : THIS IMPLEMENTATION MAY NOT COMPLETELY CORRECT DUE TO ITS ORIGINAL USAGE.

An unofficial implementation of BaRT Defense
From paper 《Barrage of Random Transforms for Adversarially Robust Defense》
This project ismainly based on the codes from the paper's supplement.

link: http://openaccess.thecvf.com/content_CVPR_2019/html/Raff_Barrage_of_Random_Transforms_for_Adversarially_Robust_Defense_CVPR_2019_paper.html

This model is fine-tuned from ResnetV2-50 with 1216 images. We evaluated Linf norm attack in 16 epsilon with 200 iterations to this model, only 50 images succeed.

We have removed some of transformations from this paper, because they cost too much time.

This project was built in:
Tensorflow 1.14.0
scipy 1.1.0
scikit-image 0.16.2
Pillow 6.0.0

Download the checkpoint here: https://pan.baidu.com/s/1yAqmqfSODylaZQuF8nZ3vw

bartdefense's People

Contributors

innerpace-x avatar

Stargazers

Sheikh Shafayat avatar Yitao Li avatar  avatar Yasas Mahima avatar fcqfcq avatar Simba00 avatar Peixian Chen avatar Rodrigo Orph avatar  avatar JasonGuo avatar

Watchers

 avatar

Forkers

sebastien-an

bartdefense's Issues

Loading from checkpoint gives random predictions

Hi,

I have downloaded your original checkpoint from Baidu and I'm trying to use your checkpoint to test against some adversarial images that I have created. Unfortunately, it is giving me random results.

My work is located here:
BaRT-demo

Can you confirm that the checkpoint on baidu is reliable?

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.