leonleyang commited on
Commit
4fa9f87
·
verified ·
1 Parent(s): b6951b8

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +74 -3
README.md CHANGED
@@ -1,3 +1,74 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ {}
3
+ ---
4
+
5
+ # Dataset Card for Tiny ImageNet
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
+ ### Dataset Sources
17
+
18
+ <!-- Provide the basic links for the dataset. -->
19
+
20
+ - **Homepage:** https://www.kaggle.com/c/tiny-imagenet
21
+ - **Paper:** Le, Y., & Yang, X. (2015). Tiny imagenet visual recognition challenge. CS 231N, 7(7), 3.
22
+
23
+ ## Dataset Structure
24
+
25
+ <!-- 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. -->
26
+
27
+ Total images: 100,000
28
+
29
+ Classes: 200 categories
30
+
31
+ Splits:
32
+
33
+ - **Train:** 100,000 images
34
+
35
+ - **Validation:** 10,000 images
36
+
37
+ - **Test:** 10,000 images
38
+
39
+ Image specs: JPEG format, 64×64 pixels, RGB
40
+
41
+ ## Example Usage
42
+ Below is a quick example of how to load this dataset via the Hugging Face Datasets library.
43
+ ```
44
+ from datasets import load_dataset
45
+
46
+ # Load the dataset
47
+ dataset = load_dataset("randall-lab/tiny-imagenet", split="train", trust_remote_code=True)
48
+ # dataset = load_dataset("randall-lab/tiny-imagenet", split="validation", trust_remote_code=True)
49
+ # dataset = load_dataset("randall-lab/tiny-imagenet", split="test", trust_remote_code=True)
50
+
51
+ # Access a sample from the dataset
52
+ example = dataset[0]
53
+ image = example["image"]
54
+ label = example["label"]
55
+
56
+ image.show() # Display the image
57
+ print(f"Label: {label}")
58
+ ```
59
+
60
+ ## Citation
61
+
62
+ <!-- If there is a paper or blog post introducing the dataset, the APA and Bibtex information for that should go in this section. -->
63
+
64
+ **BibTeX:**
65
+
66
+ @article{le2015tiny,
67
+ title={Tiny imagenet visual recognition challenge},
68
+ author={Le, Yann and Yang, Xuan},
69
+ journal={CS 231N},
70
+ volume={7},
71
+ number={7},
72
+ pages={3},
73
+ year={2015}
74
+ }