GithubHelp home page GithubHelp logo

cea-list / adv-reid Goto Github PK

View Code? Open in Web Editor NEW
18.0 18.0 4.0 83 KB

Metric Adversarial Attacks and Defense

License: Other

Python 100.00%
adversarial-attacks adversarial-defense adversarial-examples adversarial-training metric-adversarial-attacks metric-learning re-identification

adv-reid's People

Contributors

qbouniot avatar romaricaudigier-cea avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

adv-reid's Issues

Evaluation of defended Model

After training the defended model GOAT, when i am attacking this model, it is giving accuracy as
rank1 : mean = 0.0008907363517209888, max = 0.0008907363517209888, min = 0.0008907363517209888, std = 0.0
rank5 : mean = 0.0029691210947930813, max = 0.0029691210947930813, min = 0.0029691210947930813, std = 0.0
rank10 : mean = 0.00801662728190422, max = 0.00801662728190422, min = 0.00801662728190422, std = 0.0
map : mean = 0.0020973790522167803, max = 0.0020973790522167803, min = 0.0020973790522167803, std = 0.0
Total computing time : 161.57796907424927 sec

Whereas, as stated in the paper, the accuracy should be higher after attacking the defended model.

Please provide me the checkpoints of defended model.

Thanks and Regards
Astha Verma
PhD Scholar

About the Paper

image
image

I have a confusion about the Equation, is the minus sign here a clericcal error? According your illustration,it seems that the sign should be a plus.
All the best.

can not read dataset

image
could you tell me how to solve this problem?
The following is the order I executed:
python train.py
‘/data/GYP/code/CVPRW20_adv-reid/output’
‘../../data/market1501/’
--dataset 'market'
--gpu 1
--lr 0.0003
-wd 0
-n 100
-f checkpoint_default.py
-b 72
-ni 4
-e 2048
--pretrained
--triplet
--soft
--id_batch
I print the value:
image
shows that:
image
so I think the the program did not read the dataset properly

the offline adversarial training defense

I have a problem to training a Classification model using the offline adversarial training defense method. I don't know what command to use.
Hope you can help me.
Thanks and Regards.

confusions about the SMA attack code

hello sir, if i choose the classification mdoel and use the SMA attack method, i understand that you use a backbone of resnet50 to extract features and a classifier to correspond the correct targets. And the model will return the feature of a image in the test mode, right?
图片
However i notice that in the function "perturb _queries_self" which means the realization of SMA, you get the raw_features first, and then "image_adv = attack.perturb(data['image'].to(device), raw_features.to(device))". I see that in the advertorch code, the second argument of the function perturb should be the corresponding targets ,why do you use raw_features as input? i couldn't understand what does it mean. Wish for your reply ,thanks.
图片

Training Triplet Model on Market-1501 dataset

Hello, I got the following error while training Triplet model on Market-1501 dataset using the command provided in Training section of README.md:

error

I believe the error is caused by the following:

I think self.backbone.fc.in_features in these lines should be replaced with self.backbone.fc.out_features

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.