File size: 2,578 Bytes
762a23f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
---
license: mit
dataset_info:
  config_name: test
  features:
  - name: image
    dtype: image
  - name: wnid
    dtype: string
  - name: class_name
    dtype: string
  splits:
  - name: test
    num_bytes: 2355062808.0
    num_examples: 30000
  download_size: 2148902579
  dataset_size: 2355062808.0
configs:
- config_name: test
  data_files:
  - split: test
    path: test/test-*
  default: true
---


# ImageNet-R


This repo is made to facilitate the evaluation of various pretraining models. It's constructed from the source file provided by [official implementation](https://github.com/hendrycks/imagenet-r).


## Usage

```python
from datasets import load_dataset

dataset = load_dataset('axiong/imagenet-r')
```


## Dataset Summary


ImageNet-R(endition) contains art, cartoons, deviantart, graffiti, embroidery, graphics, origami, paintings, patterns, plastic objects, plush objects, sculptures, sketches, tattoos, toys, and video game renditions of ImageNet classes.

ImageNet-R has renditions of 200 ImageNet classes resulting in 30,000 images.

[ImageNet-R](https://github.com/hendrycks/imagenet-r) is a dataset proposed on ICCV 2021 by Dan Hendrycks, Steven Basart, Norman Mu, Saurav Kadavath, Frank Wang, Evan Dorundo, Rahul Desai, Tyler Zhu, Samyak Parajuli, Mike Guo, Dawn Song, Jacob Steinhardt and Justin Gilme.
The detailed introduction could be found in their paper 'The Many` Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization'.

![image/jpg](https://raw.githubusercontent.com/hendrycks/imagenet-r/master/yes.jpg)


## Example Data

- `wnid` is the ID from wordnet, used to indicate the class label.
- `class_name` is the the corresponding class name of `wnid`


```json
[
  {
    "image": <PIL Image>,
    "wnid": "n02088094",
    "class_name": "afghan_hound"
  },
  {
    "image": <PIL Image>,
    "wnid": "n07697537",
    "class_name": "hotdog"
  }
]
```

## Citation

```bibtex
@article{hendrycks2021many,
  title={The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization},
  author={Dan Hendrycks and Steven Basart and Norman Mu and Saurav Kadavath and Frank Wang and Evan Dorundo and Rahul Desai and Tyler Zhu and Samyak Parajuli and Mike Guo and Dawn Song and Jacob Steinhardt and Justin Gilmer},
  journal={ICCV},
  year={2021}
}
```


## About Me
I am Weixiong Lin from SJTU, my research interests include multimodal representation learning, foundation model, data acceleration, etc.
Feel free to contact me if you are seeking cooperations.
- Email: wx_lin@sjtu.edu.cn
- Wechat: lwxgbsj