Git Product home page Git Product logo

Comments (4)

hendrycks avatar hendrycks commented on July 17, 2024

you are using the model's confidence scores on two the same imagenet-o datasets

We are not. Notice this line:

path_prefix = PATH_TO_IMAGENET_VAL

We are comparing ImageNet-O examples to ImageNet val examples.

from natural-adv-examples.

giangnguyen2412 avatar giangnguyen2412 commented on July 17, 2024

Hi @hendrycks ,

I got this when I run my code.

FPR95:	100.00
AUROC: 	50.97
AUPR:  	57.36

What does this imply? False positive rate at recall 95% is 100%. It sounds weird to me. Is this FPR95 value meaningful or by using ImageNet-O from your paper, we just care about AUPR as you reported in Figure 2?

from natural-adv-examples.

hendrycks avatar hendrycks commented on July 17, 2024

We could care about FPR95 or AUROC, but for simplicity we just showed one of the metrics. AUPR and AUROC are more common than FPR95. The model might just have a very hard time detecting these images, hence the low performance.

from natural-adv-examples.

stsavian avatar stsavian commented on July 17, 2024

Greetings,

I am having a similar issue. I am testing imagenet-o metrics and I get the following values for a ResNet50:
FPR95: 80.83
AUROC: 41.78
AUPR: 61.34

The value of AUPR pointed in the paper (table 1 supplementary) is of 16.20%.
I have tested the code multiple times with minimal changes (added stable_cumsum / and adjusted the paths L22-24).

Do you know why is this happening? Are you sure that the code provides the correct results for a ResNet50?
My guess is it could be due to something happening when creating symlinks to imagenet (lines 54-60).

Thanks!
Stefano

from natural-adv-examples.

Related Issues (14)

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.