Comments (4)
you are using the model's confidence scores on two the same imagenet-o datasets
We are not. Notice this line:
natural-adv-examples/eval_many_models.py
Line 58 in 0777070
We are comparing ImageNet-O examples to ImageNet val examples.
from natural-adv-examples.
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.
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.
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)
- Only test part , and no trainval datasets inside ? HOT 1
- I just get the acc of 0.9% in your dataset when I use PVT. It's too lower that I can't believe, HOT 1
- Mismatch between the ImageNet-A classes reported in the paper and in the download? HOT 1
- Used model
- How to interpret file names?
- Naming convention of the jpg files HOT 1
- Another file name convention question HOT 3
- Download o fhttps://github.com/pytorch/vision/archive/master.zip
- `stable_cumsum` needs to be imported HOT 2
- Is fine-tuning needed when evaluating on ImageNet-O? HOT 1
- Question about testing pretrained custom model.
- What structure in the file PATH_TO_IMAGENET_VAL = "./imagenet1k/val/"? HOT 1
- ResNet50 get 0% (not ~2% as reported in the paper) HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from natural-adv-examples.