leonleyang commited on
Commit
f24c2fa
·
verified ·
1 Parent(s): 1a8365b

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +68 -0
README.md ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ {}
3
+ ---
4
+
5
+ # Dataset Card for Linnaeus 5
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
+ Linnaeus 5 dataset contains RGB images (256x256) for classification across 5 categories: berry, bird, dog, flower, and other (negative set). It includes 1200 training images and 400 test images per class.
15
+
16
+ ### Dataset Sources
17
+
18
+ <!-- Provide the basic links for the dataset. -->
19
+
20
+ - **Homepage:** https://chaladze.com/l5/
21
+ - **Paper:** Chaladze, G., & Kalatozishvili, L. (2017). Linnaeus 5 dataset for machine learning. arXiv preprint arXiv:1707.06677.
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: 8,000
28
+
29
+ Classes: 5 categories
30
+
31
+ Splits:
32
+
33
+ - **Train:** 6,000 images
34
+
35
+ - **Test:** 2,000 images
36
+
37
+ Image specs: JPEG format, 256×256 pixels, RGB
38
+
39
+ ## Example Usage
40
+ Below is a quick example of how to load this dataset via the Hugging Face Datasets library.
41
+ ```
42
+ from datasets import load_dataset
43
+
44
+ # Load the dataset
45
+ dataset = load_dataset("randall-lab/linnaeus5", split="train", trust_remote_code=True)
46
+ # dataset = load_dataset("randall-lab/linnaeus5", split="test", trust_remote_code=True)
47
+
48
+ # Access a sample from the dataset
49
+ example = dataset[0]
50
+ image = example["image"]
51
+ label = example["label"]
52
+
53
+ image.show() # Display the image
54
+ print(f"Label: {label}")
55
+ ```
56
+
57
+ ## Citation
58
+
59
+ <!-- If there is a paper or blog post introducing the dataset, the APA and Bibtex information for that should go in this section. -->
60
+
61
+ **BibTeX:**
62
+
63
+ @article{chaladze2017linnaeus,
64
+ title={Linnaeus 5 dataset for machine learning},
65
+ author={Chaladze, G and Kalatozishvili, L},
66
+ journal={arXiv preprint arXiv:1707.06677},
67
+ year={2017}
68
+ }