Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,76 @@
|
|
| 1 |
-
---
|
| 2 |
-
|
| 3 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
{}
|
| 3 |
+
---
|
| 4 |
+
|
| 5 |
+
# Dataset Card for Tiny-ImageNet-C
|
| 6 |
+
|
| 7 |
+
<!-- Provide a quick summary of the dataset. -->
|
| 8 |
+
|
| 9 |
+
## Dataset Details
|
| 10 |
+
|
| 11 |
+
### Dataset Description
|
| 12 |
+
|
| 13 |
+
<!-- Provide a longer summary of what this dataset is. -->
|
| 14 |
+
In Tiny ImageNet, there are 100,000 images divided up into 200 classes. Every image in the dataset is downsized to a 64×64 colored image. For every class, there are 500 training images, 50 validating images, and 50 test images.
|
| 15 |
+
|
| 16 |
+
- **License:** MIT License
|
| 17 |
+
|
| 18 |
+
### Dataset Sources
|
| 19 |
+
|
| 20 |
+
<!-- Provide the basic links for the dataset. -->
|
| 21 |
+
|
| 22 |
+
- **Homepage:** https://www.kaggle.com/c/tiny-imagenet
|
| 23 |
+
- **Paper:** Le, Y., & Yang, X. (2015). Tiny imagenet visual recognition challenge. CS 231N, 7(7), 3.
|
| 24 |
+
|
| 25 |
+
## Dataset Structure
|
| 26 |
+
|
| 27 |
+
<!-- This section provides a description of the dataset fields, and additional information about the dataset structure such as criteria used to create the splits, relationships between data points, etc. -->
|
| 28 |
+
|
| 29 |
+
Total images: 100,000
|
| 30 |
+
|
| 31 |
+
Classes: 200 categories
|
| 32 |
+
|
| 33 |
+
Splits:
|
| 34 |
+
|
| 35 |
+
- **Train:** 100,000 images
|
| 36 |
+
|
| 37 |
+
- **Validation:** 10,000 images
|
| 38 |
+
|
| 39 |
+
- **Test:** 10,000 images
|
| 40 |
+
|
| 41 |
+
Image specs: JPEG format, 64×64 pixels, RGB
|
| 42 |
+
|
| 43 |
+
## Example Usage
|
| 44 |
+
Below is a quick example of how to load this dataset via the Hugging Face Datasets library.
|
| 45 |
+
```
|
| 46 |
+
from datasets import load_dataset
|
| 47 |
+
|
| 48 |
+
# Load the dataset
|
| 49 |
+
dataset = load_dataset("randall-lab/tiny-imagenet", split="train", trust_remote_code=True)
|
| 50 |
+
# dataset = load_dataset("randall-lab/tiny-imagenet", split="validation", trust_remote_code=True)
|
| 51 |
+
# dataset = load_dataset("randall-lab/tiny-imagenet", split="test", trust_remote_code=True)
|
| 52 |
+
|
| 53 |
+
# Access a sample from the dataset
|
| 54 |
+
example = dataset[0]
|
| 55 |
+
image = example["image"]
|
| 56 |
+
label = example["label"]
|
| 57 |
+
|
| 58 |
+
image.show() # Display the image
|
| 59 |
+
print(f"Label: {label}")
|
| 60 |
+
```
|
| 61 |
+
|
| 62 |
+
## Citation
|
| 63 |
+
|
| 64 |
+
<!-- If there is a paper or blog post introducing the dataset, the APA and Bibtex information for that should go in this section. -->
|
| 65 |
+
|
| 66 |
+
**BibTeX:**
|
| 67 |
+
|
| 68 |
+
@article{le2015tiny,
|
| 69 |
+
title={Tiny imagenet visual recognition challenge},
|
| 70 |
+
author={Le, Yann and Yang, Xuan},
|
| 71 |
+
journal={CS 231N},
|
| 72 |
+
volume={7},
|
| 73 |
+
number={7},
|
| 74 |
+
pages={3},
|
| 75 |
+
year={2015}
|
| 76 |
+
}
|