Datasets:
Upload folder using huggingface_hub
Browse files- README.md +81 -0
- dataset_info.json +53 -0
- train/data-00000-of-00018.arrow +3 -0
- train/data-00001-of-00018.arrow +3 -0
- train/data-00002-of-00018.arrow +3 -0
- train/data-00003-of-00018.arrow +3 -0
- train/data-00004-of-00018.arrow +3 -0
- train/data-00005-of-00018.arrow +3 -0
- train/data-00006-of-00018.arrow +3 -0
- train/data-00007-of-00018.arrow +3 -0
- train/data-00008-of-00018.arrow +3 -0
- train/data-00009-of-00018.arrow +3 -0
- train/data-00010-of-00018.arrow +3 -0
- train/data-00011-of-00018.arrow +3 -0
- train/data-00012-of-00018.arrow +3 -0
- train/data-00013-of-00018.arrow +3 -0
- train/data-00014-of-00018.arrow +3 -0
- train/data-00015-of-00018.arrow +3 -0
- train/data-00016-of-00018.arrow +3 -0
- train/data-00017-of-00018.arrow +3 -0
- train/dataset_info.json +23 -0
- train/state.json +64 -0
- val/data-00000-of-00001.arrow +3 -0
- val/dataset_info.json +23 -0
- val/state.json +13 -0
README.md
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
task_categories:
|
| 4 |
+
- image-classification
|
| 5 |
+
language:
|
| 6 |
+
- en
|
| 7 |
+
tags:
|
| 8 |
+
- imagenet
|
| 9 |
+
- corruption
|
| 10 |
+
- robustness
|
| 11 |
+
- computer-vision
|
| 12 |
+
- image-classification
|
| 13 |
+
size_categories:
|
| 14 |
+
- 1M<n<10M
|
| 15 |
+
---
|
| 16 |
+
|
| 17 |
+
# Corruption Dataset: Jpeg_Compression
|
| 18 |
+
|
| 19 |
+
## Dataset Description
|
| 20 |
+
|
| 21 |
+
This dataset contains corrupted versions of ImageNet-1K images using **jpeg_compression** corruption. It is part of the ImageNet-C benchmark for evaluating model robustness to common image corruptions.
|
| 22 |
+
|
| 23 |
+
### Dataset Structure
|
| 24 |
+
|
| 25 |
+
- **Train**: 1,281,167 corrupted images
|
| 26 |
+
- **Validation**: 50,000 corrupted images
|
| 27 |
+
- **Classes**: 1000 ImageNet-1K classes
|
| 28 |
+
- **Format**: Arrow (Hugging Face Datasets)
|
| 29 |
+
|
| 30 |
+
### Corruption Type: Jpeg_Compression
|
| 31 |
+
|
| 32 |
+
Applies JPEG compression artifacts.
|
| 33 |
+
|
| 34 |
+
## Usage
|
| 35 |
+
|
| 36 |
+
```python
|
| 37 |
+
from datasets import load_dataset
|
| 38 |
+
|
| 39 |
+
# Load the dataset
|
| 40 |
+
dataset = load_dataset("MarMaster/corruption-jpeg_compression")
|
| 41 |
+
|
| 42 |
+
# Access train and validation splits
|
| 43 |
+
train_dataset = dataset["train"]
|
| 44 |
+
val_dataset = dataset["validation"]
|
| 45 |
+
|
| 46 |
+
# Example usage
|
| 47 |
+
for example in train_dataset:
|
| 48 |
+
image = example["image"]
|
| 49 |
+
class_id = example["class_id"]
|
| 50 |
+
filename = example["filename"]
|
| 51 |
+
```
|
| 52 |
+
|
| 53 |
+
## Dataset Statistics
|
| 54 |
+
|
| 55 |
+
- **Total Images**: 1,331,167
|
| 56 |
+
- **Train Images**: 1,281,167
|
| 57 |
+
- **Validation Images**: 50,000
|
| 58 |
+
- **Classes**: 1000
|
| 59 |
+
- **Image Format**: RGB
|
| 60 |
+
- **Average Image Size**: Variable (ImageNet-1K standard)
|
| 61 |
+
|
| 62 |
+
## Citation
|
| 63 |
+
|
| 64 |
+
If you use this dataset, please cite the original ImageNet-C paper:
|
| 65 |
+
|
| 66 |
+
```bibtex
|
| 67 |
+
@article{hendrycks2019benchmarking,
|
| 68 |
+
title={Benchmarking Neural Network Robustness to Common Corruptions and Perturbations},
|
| 69 |
+
author={Hendrycks, Dan and Dietterich, Tom},
|
| 70 |
+
journal={Proceedings of the International Conference on Learning Representations},
|
| 71 |
+
year={2019}
|
| 72 |
+
}
|
| 73 |
+
```
|
| 74 |
+
|
| 75 |
+
## License
|
| 76 |
+
|
| 77 |
+
This dataset is released under the MIT License. The original ImageNet dataset follows its own licensing terms.
|
| 78 |
+
|
| 79 |
+
## Contact
|
| 80 |
+
|
| 81 |
+
For questions or issues, please contact: marcin.osial@[your-institution].edu
|
dataset_info.json
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"dataset_name": "corruption-jpeg_compression",
|
| 3 |
+
"dataset_version": "1.0.0",
|
| 4 |
+
"description": "ImageNet-Corruption dataset with jpeg_compression corruption",
|
| 5 |
+
"license": "mit",
|
| 6 |
+
"task_categories": [
|
| 7 |
+
"image-classification"
|
| 8 |
+
],
|
| 9 |
+
"language": [
|
| 10 |
+
"en"
|
| 11 |
+
],
|
| 12 |
+
"tags": [
|
| 13 |
+
"imagenet",
|
| 14 |
+
"corruption",
|
| 15 |
+
"robustness",
|
| 16 |
+
"computer-vision"
|
| 17 |
+
],
|
| 18 |
+
"size_categories": "1M<n<10M",
|
| 19 |
+
"splits": {
|
| 20 |
+
"train": {
|
| 21 |
+
"name": "train",
|
| 22 |
+
"num_bytes": 0,
|
| 23 |
+
"num_examples": 1281167
|
| 24 |
+
},
|
| 25 |
+
"validation": {
|
| 26 |
+
"name": "validation",
|
| 27 |
+
"num_bytes": 0,
|
| 28 |
+
"num_examples": 50000
|
| 29 |
+
}
|
| 30 |
+
},
|
| 31 |
+
"features": {
|
| 32 |
+
"image": {
|
| 33 |
+
"dtype": "image",
|
| 34 |
+
"_type": "Image"
|
| 35 |
+
},
|
| 36 |
+
"class_id": {
|
| 37 |
+
"dtype": "string",
|
| 38 |
+
"_type": "Value"
|
| 39 |
+
},
|
| 40 |
+
"split": {
|
| 41 |
+
"dtype": "string",
|
| 42 |
+
"_type": "Value"
|
| 43 |
+
},
|
| 44 |
+
"filename": {
|
| 45 |
+
"dtype": "string",
|
| 46 |
+
"_type": "Value"
|
| 47 |
+
}
|
| 48 |
+
},
|
| 49 |
+
"download_size": 0,
|
| 50 |
+
"dataset_size": 0,
|
| 51 |
+
"created_at": "2025-10-28 17:34:46",
|
| 52 |
+
"corruption_type": "jpeg_compression"
|
| 53 |
+
}
|
train/data-00000-of-00018.arrow
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b9eec6c158488bcf16ea25688329802874b6b016457bba5cd557edc7fbb92077
|
| 3 |
+
size 505054424
|
train/data-00001-of-00018.arrow
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6a99027e12c02ce2d68b3a5e3959707d3862d74a3a8b8102eec47d7893ad7d4a
|
| 3 |
+
size 514939808
|
train/data-00002-of-00018.arrow
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6dad78db3070be45e174eb1f3b6d0c201d67edc92e7dd50eaba13e7b0d4564d1
|
| 3 |
+
size 515868512
|
train/data-00003-of-00018.arrow
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f3ddf26aa84999690808a2237435cf5a86c976515c0b07208380cff07fb18b0e
|
| 3 |
+
size 516988984
|
train/data-00004-of-00018.arrow
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5753fa354ff838ea3445516fb3eb89b9c5e85eb81adfbd70d72fc7e5d52a5303
|
| 3 |
+
size 516290624
|
train/data-00005-of-00018.arrow
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:89da3276fb6ed9f8f92ac790592b82cd4f5f83a12beaa8e1ee759ae3ee6d66ea
|
| 3 |
+
size 511834344
|
train/data-00006-of-00018.arrow
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f5fcba7cc76b9905a308e7ad2ea89b7b410e87540304a7973a2926141dc6410f
|
| 3 |
+
size 524474040
|
train/data-00007-of-00018.arrow
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:065d8991fee913b49659c566364827e355d27f8a054aa9b0d0f7c0819363306f
|
| 3 |
+
size 498264408
|
train/data-00008-of-00018.arrow
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e841fa60a83b81165c3aa7172ff18e72ec8337f956b9b95f7743362e68cdbb30
|
| 3 |
+
size 506114640
|
train/data-00009-of-00018.arrow
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:71752d8986ea3d27ca6250aa7d0bda64083816245c3a845dbb0e3b708ca0d3cf
|
| 3 |
+
size 515288608
|
train/data-00010-of-00018.arrow
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3501686a391c30b6fa10db9580bcbf85387849747b50dd02021667beaf5a9f06
|
| 3 |
+
size 512861536
|
train/data-00011-of-00018.arrow
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:efff0fdeca29896e051fe65fba77c7deb4a1f50b7c73fbf5135ef95d35c924f1
|
| 3 |
+
size 514000584
|
train/data-00012-of-00018.arrow
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2a116a4ed55933dba1e7a48adf3b7c8385438c63ce037fbd6acdc36c0c13fe30
|
| 3 |
+
size 500808832
|
train/data-00013-of-00018.arrow
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:af6f30e287c954bbec9ec7d6105448b4b4d99a71b972debb6a1628ffe81ee664
|
| 3 |
+
size 505160640
|
train/data-00014-of-00018.arrow
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:03ab26615cfed5f4e7989dcb5321f8b850d84e031a1e72256f51307d657b7f2c
|
| 3 |
+
size 513518448
|
train/data-00015-of-00018.arrow
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0bcdb682b51a876b425a550e5193c2bb81ca62a8db531a61afc07c11631b39c7
|
| 3 |
+
size 512608192
|
train/data-00016-of-00018.arrow
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:29adf1c20fba5ccc2e267e8f9f6467e1963954900146e76da10c03b166b65555
|
| 3 |
+
size 508194920
|
train/data-00017-of-00018.arrow
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5c6a1f0014a000cc55a30c01d64b2be0c4a791173af58e8a3b0dc3c30b5bd19b
|
| 3 |
+
size 528289304
|
train/dataset_info.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"corruption_type": "jpeg_compression",
|
| 3 |
+
"split": "train",
|
| 4 |
+
"num_images": 1281167,
|
| 5 |
+
"features": {
|
| 6 |
+
"image": {
|
| 7 |
+
"_type": "Image"
|
| 8 |
+
},
|
| 9 |
+
"class_id": {
|
| 10 |
+
"dtype": "string",
|
| 11 |
+
"_type": "Value"
|
| 12 |
+
},
|
| 13 |
+
"split": {
|
| 14 |
+
"dtype": "string",
|
| 15 |
+
"_type": "Value"
|
| 16 |
+
},
|
| 17 |
+
"filename": {
|
| 18 |
+
"dtype": "string",
|
| 19 |
+
"_type": "Value"
|
| 20 |
+
}
|
| 21 |
+
},
|
| 22 |
+
"created_at": "2025-10-28 17:34:17"
|
| 23 |
+
}
|
train/state.json
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_data_files": [
|
| 3 |
+
{
|
| 4 |
+
"filename": "data-00000-of-00018.arrow"
|
| 5 |
+
},
|
| 6 |
+
{
|
| 7 |
+
"filename": "data-00001-of-00018.arrow"
|
| 8 |
+
},
|
| 9 |
+
{
|
| 10 |
+
"filename": "data-00002-of-00018.arrow"
|
| 11 |
+
},
|
| 12 |
+
{
|
| 13 |
+
"filename": "data-00003-of-00018.arrow"
|
| 14 |
+
},
|
| 15 |
+
{
|
| 16 |
+
"filename": "data-00004-of-00018.arrow"
|
| 17 |
+
},
|
| 18 |
+
{
|
| 19 |
+
"filename": "data-00005-of-00018.arrow"
|
| 20 |
+
},
|
| 21 |
+
{
|
| 22 |
+
"filename": "data-00006-of-00018.arrow"
|
| 23 |
+
},
|
| 24 |
+
{
|
| 25 |
+
"filename": "data-00007-of-00018.arrow"
|
| 26 |
+
},
|
| 27 |
+
{
|
| 28 |
+
"filename": "data-00008-of-00018.arrow"
|
| 29 |
+
},
|
| 30 |
+
{
|
| 31 |
+
"filename": "data-00009-of-00018.arrow"
|
| 32 |
+
},
|
| 33 |
+
{
|
| 34 |
+
"filename": "data-00010-of-00018.arrow"
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"filename": "data-00011-of-00018.arrow"
|
| 38 |
+
},
|
| 39 |
+
{
|
| 40 |
+
"filename": "data-00012-of-00018.arrow"
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"filename": "data-00013-of-00018.arrow"
|
| 44 |
+
},
|
| 45 |
+
{
|
| 46 |
+
"filename": "data-00014-of-00018.arrow"
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"filename": "data-00015-of-00018.arrow"
|
| 50 |
+
},
|
| 51 |
+
{
|
| 52 |
+
"filename": "data-00016-of-00018.arrow"
|
| 53 |
+
},
|
| 54 |
+
{
|
| 55 |
+
"filename": "data-00017-of-00018.arrow"
|
| 56 |
+
}
|
| 57 |
+
],
|
| 58 |
+
"_fingerprint": "023801177b619a92",
|
| 59 |
+
"_format_columns": null,
|
| 60 |
+
"_format_kwargs": {},
|
| 61 |
+
"_format_type": null,
|
| 62 |
+
"_output_all_columns": false,
|
| 63 |
+
"_split": null
|
| 64 |
+
}
|
val/data-00000-of-00001.arrow
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e6734280a953053d968a9110db92ea91755c0f5a30114d4a884637f4f3fbcbfe
|
| 3 |
+
size 363008128
|
val/dataset_info.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"corruption_type": "jpeg_compression",
|
| 3 |
+
"split": "val",
|
| 4 |
+
"num_images": 50000,
|
| 5 |
+
"features": {
|
| 6 |
+
"image": {
|
| 7 |
+
"_type": "Image"
|
| 8 |
+
},
|
| 9 |
+
"class_id": {
|
| 10 |
+
"dtype": "string",
|
| 11 |
+
"_type": "Value"
|
| 12 |
+
},
|
| 13 |
+
"split": {
|
| 14 |
+
"dtype": "string",
|
| 15 |
+
"_type": "Value"
|
| 16 |
+
},
|
| 17 |
+
"filename": {
|
| 18 |
+
"dtype": "string",
|
| 19 |
+
"_type": "Value"
|
| 20 |
+
}
|
| 21 |
+
},
|
| 22 |
+
"created_at": "2025-10-28 17:34:46"
|
| 23 |
+
}
|
val/state.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_data_files": [
|
| 3 |
+
{
|
| 4 |
+
"filename": "data-00000-of-00001.arrow"
|
| 5 |
+
}
|
| 6 |
+
],
|
| 7 |
+
"_fingerprint": "a2462ffa8bfa1eed",
|
| 8 |
+
"_format_columns": null,
|
| 9 |
+
"_format_kwargs": {},
|
| 10 |
+
"_format_type": null,
|
| 11 |
+
"_output_all_columns": false,
|
| 12 |
+
"_split": null
|
| 13 |
+
}
|