rainyliu commited on
Commit
5ccdb66
·
verified ·
1 Parent(s): c79a9e7

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +31 -0
README.md CHANGED
@@ -29,6 +29,37 @@ This is the dataset of OpenSeed project created by HuLab-LZU
29
  │   └── images_with_bg # images with background
30
  ```
31
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
32
  ## Citation
33
 
34
  TODO
 
29
  │   └── images_with_bg # images with background
30
  ```
31
 
32
+ ## Schema
33
+
34
+ All three files share the same fields:
35
+
36
+ | Field | Type | Description |
37
+ |---|---|---|
38
+ | `version` | `str` | `"0.1"` |
39
+ | `author` | `str` | |
40
+ | `images` | `list[str]` | Image file names (basename, not a path), `.png` |
41
+ | `labels` | `list[int]` | Class index aligned element-wise with `images` |
42
+ | `classes` | `list[str]` | 656 Latin species names, indexed by `labels` |
43
+
44
+ Constraints:
45
+
46
+ - `len(images) == len(labels)`
47
+ - `labels[i] ∈ [0, len(classes) - 1]`
48
+ - The `classes` list is identical across all three files
49
+ - Field order is positionally bound; do not reorder
50
+
51
+ Example:
52
+
53
+ ```json
54
+ {
55
+ "version": "0.1",
56
+ "author": "Z&Z@LZU",
57
+ "images": ["0002_000187059.png", "0133_000032045.png"],
58
+ "labels": [0, 0],
59
+ "classes": ["Atriplex centralasiatica", "Festuca sinensis"]
60
+ }
61
+ ```
62
+
63
  ## Citation
64
 
65
  TODO