Kanzoet97 zh-plus commited on
Commit
a3fb650
·
verified ·
0 Parent(s):

Duplicate from zh-plus/tiny-imagenet

Browse files

Co-authored-by: Hao Zheng <zh-plus@users.noreply.huggingface.co>

.gitattributes ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
5
+ *.ftz filter=lfs diff=lfs merge=lfs -text
6
+ *.gz filter=lfs diff=lfs merge=lfs -text
7
+ *.h5 filter=lfs diff=lfs merge=lfs -text
8
+ *.joblib filter=lfs diff=lfs merge=lfs -text
9
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
10
+ *.model filter=lfs diff=lfs merge=lfs -text
11
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
12
+ *.onnx filter=lfs diff=lfs merge=lfs -text
13
+ *.ot filter=lfs diff=lfs merge=lfs -text
14
+ *.parquet filter=lfs diff=lfs merge=lfs -text
15
+ *.pb filter=lfs diff=lfs merge=lfs -text
16
+ *.pt filter=lfs diff=lfs merge=lfs -text
17
+ *.pth filter=lfs diff=lfs merge=lfs -text
18
+ *.rar filter=lfs diff=lfs merge=lfs -text
19
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
20
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
21
+ *.tflite filter=lfs diff=lfs merge=lfs -text
22
+ *.tgz filter=lfs diff=lfs merge=lfs -text
23
+ *.wasm filter=lfs diff=lfs merge=lfs -text
24
+ *.xz filter=lfs diff=lfs merge=lfs -text
25
+ *.zip filter=lfs diff=lfs merge=lfs -text
26
+ *.zstandard filter=lfs diff=lfs merge=lfs -text
27
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
28
+ # Audio files - uncompressed
29
+ *.pcm filter=lfs diff=lfs merge=lfs -text
30
+ *.sam filter=lfs diff=lfs merge=lfs -text
31
+ *.raw filter=lfs diff=lfs merge=lfs -text
32
+ # Audio files - compressed
33
+ *.aac filter=lfs diff=lfs merge=lfs -text
34
+ *.flac filter=lfs diff=lfs merge=lfs -text
35
+ *.mp3 filter=lfs diff=lfs merge=lfs -text
36
+ *.ogg filter=lfs diff=lfs merge=lfs -text
37
+ *.wav filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,96 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ annotations_creators:
3
+ - crowdsourced
4
+ extra_gated_prompt: "By clicking on \u201CAccess repository\u201D below, you also\
5
+ \ agree to ImageNet Terms of Access:\n[RESEARCHER_FULLNAME] (the \"Researcher\"\
6
+ ) has requested permission to use the ImageNet database (the \"Database\") at Princeton\
7
+ \ University and Stanford University. In exchange for such permission, Researcher\
8
+ \ hereby agrees to the following terms and conditions:\n1. Researcher shall use\
9
+ \ the Database only for non-commercial research and educational purposes.\n2. Princeton\
10
+ \ University, Stanford University and Hugging Face make no representations or warranties\
11
+ \ regarding the Database, including but not limited to warranties of non-infringement\
12
+ \ or fitness for a particular purpose.\n3. Researcher accepts full responsibility\
13
+ \ for his or her use of the Database and shall defend and indemnify the ImageNet\
14
+ \ team, Princeton University, Stanford University and Hugging Face, including their\
15
+ \ employees, Trustees, officers and agents, against any and all claims arising from\
16
+ \ Researcher's use of the Database, including but not limited to Researcher's use\
17
+ \ of any copies of copyrighted images that he or she may create from the Database.\n\
18
+ 4. Researcher may provide research associates and colleagues with access to the\
19
+ \ Database provided that they first agree to be bound by these terms and conditions.\n\
20
+ 5. Princeton University, Stanford University and Hugging Face reserve the right\
21
+ \ to terminate Researcher's access to the Database at any time.\n6. If Researcher\
22
+ \ is employed by a for-profit, commercial entity, Researcher's employer shall also\
23
+ \ be bound by these terms and conditions, and Researcher hereby represents that\
24
+ \ he or she is fully authorized to enter into this agreement on behalf of such employer.\n\
25
+ 7. The law of the State of New Jersey shall apply to all disputes under this agreement."
26
+ language:
27
+ - en
28
+ language_creators:
29
+ - crowdsourced
30
+ license: []
31
+ multilinguality:
32
+ - monolingual
33
+ paperswithcode_id: imagenet
34
+ pretty_name: Tiny-ImageNet
35
+ size_categories:
36
+ - 100K<n<1M
37
+ source_datasets:
38
+ - extended|imagenet-1k
39
+ task_categories:
40
+ - image-classification
41
+ task_ids:
42
+ - multi-class-image-classification
43
+ ---
44
+
45
+ # Dataset Card for tiny-imagenet
46
+
47
+ ## Dataset Description
48
+
49
+ - **Homepage:** https://www.kaggle.com/c/tiny-imagenet
50
+ - **Repository:** [Needs More Information]
51
+ - **Paper:** http://cs231n.stanford.edu/reports/2017/pdfs/930.pdf
52
+ - **Leaderboard:** https://paperswithcode.com/sota/image-classification-on-tiny-imagenet-1
53
+
54
+ ### Dataset Summary
55
+
56
+ Tiny ImageNet contains 100000 images of 200 classes (500 for each class) downsized to 64×64 colored images. Each class has 500 training images, 50 validation images, and 50 test images.
57
+
58
+ ### Languages
59
+
60
+ The class labels in the dataset are in English.
61
+
62
+ ## Dataset Structure
63
+
64
+ ### Data Instances
65
+
66
+ ```json
67
+ {
68
+ 'image': <PIL.JpegImagePlugin.JpegImageFile image mode=RGB size=64x64 at 0x1A800E8E190,
69
+ 'label': 15
70
+ }
71
+ ```
72
+
73
+ ### Data Fields
74
+
75
+ - image: A PIL.Image.Image object containing the image. Note that when accessing the image column: dataset[0]["image"] the image file is automatically decoded. Decoding of a large number of image files might take a significant amount of time. Thus it is important to first query the sample index before the "image" column, i.e. dataset[0]["image"] should always be preferred over dataset["image"][0].
76
+ - label: an int classification label. -1 for test set as the labels are missing. Check `classes.py` for the map of numbers & labels.
77
+
78
+ ### Data Splits
79
+
80
+ | | Train | Valid |
81
+ | ------------ | ------ | ----- |
82
+ | # of samples | 100000 | 10000 |
83
+
84
+ ## Usage
85
+
86
+ ### Example
87
+
88
+ #### Load Dataset
89
+ ```python
90
+ def example_usage():
91
+ tiny_imagenet = load_dataset('Maysee/tiny-imagenet', split='train')
92
+ print(tiny_imagenet[0])
93
+
94
+ if __name__ == '__main__':
95
+ example_usage()
96
+ ```
classes.py ADDED
The diff for this file is too large to render. See raw diff
 
data/train-00000-of-00001-1359597a978bc4fa.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:220fde5ae5e6ad267b513b5cb1442aa97d69bf535da8f4d16910c59a70388cd3
3
+ size 146480414
data/valid-00000-of-00001-70d52db3c749a935.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fc85b521b6ee9506df978a65ba46cf869133ae27a3f63e029ffabd78ce268640
3
+ size 14587497
dataset_infos.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"Maysee--tiny-imagenet": {"description": "", "citation": "", "homepage": "", "license": "", "features": {"image": {"decode": true, "id": null, "_type": "Image"}, "label": {"num_classes": 200, "names": ["n01443537", "n01629819", "n01641577", "n01644900", "n01698640", "n01742172", "n01768244", "n01770393", "n01774384", "n01774750", "n01784675", "n01882714", "n01910747", "n01917289", "n01944390", "n01950731", "n01983481", "n01984695", "n02002724", "n02056570", "n02058221", "n02074367", "n02094433", "n02099601", "n02099712", "n02106662", "n02113799", "n02123045", "n02123394", "n02124075", "n02125311", "n02129165", "n02132136", "n02165456", "n02226429", "n02231487", "n02233338", "n02236044", "n02268443", "n02279972", "n02281406", "n02321529", "n02364673", "n02395406", "n02403003", "n02410509", "n02415577", "n02423022", "n02437312", "n02480495", "n02481823", "n02486410", "n02504458", "n02509815", "n02666347", "n02669723", "n02699494", "n02769748", "n02788148", "n02791270", "n02793495", "n02795169", "n02802426", "n02808440", "n02814533", "n02814860", "n02815834", "n02823428", "n02837789", "n02841315", "n02843684", "n02883205", "n02892201", "n02909870", "n02917067", "n02927161", "n02948072", "n02950826", "n02963159", "n02977058", "n02988304", "n03014705", "n03026506", "n03042490", "n03085013", "n03089624", "n03100240", "n03126707", "n03160309", "n03179701", "n03201208", "n03255030", "n03355925", "n03373237", "n03388043", "n03393912", "n03400231", "n03404251", "n03424325", "n03444034", "n03447447", "n03544143", "n03584254", "n03599486", "n03617480", "n03637318", "n03649909", "n03662601", "n03670208", "n03706229", "n03733131", "n03763968", "n03770439", "n03796401", "n03814639", "n03837869", "n03838899", "n03854065", "n03891332", "n03902125", "n03930313", "n03937543", "n03970156", "n03977966", "n03980874", "n03983396", "n03992509", "n04008634", "n04023962", "n04070727", "n04074963", "n04099969", "n04118538", "n04133789", "n04146614", "n04149813", "n04179913", "n04251144", "n04254777", "n04259630", "n04265275", "n04275548", "n04285008", "n04311004", "n04328186", "n04356056", "n04366367", "n04371430", "n04376876", "n04398044", "n04399382", "n04417672", "n04456115", "n04465666", "n04486054", "n04487081", "n04501370", "n04507155", "n04532106", "n04532670", "n04540053", "n04560804", "n04562935", "n04596742", "n04598010", "n06596364", "n07056680", "n07583066", "n07614500", "n07615774", "n07646821", "n07647870", "n07657664", "n07695742", "n07711569", "n07715103", "n07720875", "n07749582", "n07753592", "n07768694", "n07871810", "n07873807", "n07875152", "n07920052", "n07975909", "n08496334", "n08620881", "n08742578", "n09193705", "n09246464", "n09256479", "n09332890", "n09428293", "n12267677", "n12520864", "n13001041", "n13652335", "n13652994", "n13719102", "n14991210"], "id": null, "_type": "ClassLabel"}}, "post_processed": null, "supervised_keys": null, "task_templates": [{"task": "image-classification", "image_column": "image", "label_column": "label"}], "builder_name": "imagefolder", "config_name": "default", "version": {"version_str": "0.0.0", "description": null, "major": 0, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 202516100.0, "num_examples": 100000, "dataset_name": "tiny-imagenet"}, "valid": {"name": "valid", "num_bytes": 20162050.0, "num_examples": 10000, "dataset_name": "tiny-imagenet"}}, "download_checksums": null, "download_size": 161067911, "post_processing_size": null, "dataset_size": 222678150.0, "size_in_bytes": 383746061.0}}