faixanKhan commited on
Commit
95bf0b5
·
verified ·
1 Parent(s): 86a5836

Upload croissant.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. croissant.json +197 -46
croissant.json CHANGED
@@ -1,68 +1,219 @@
1
  {
2
- "@context": "https://mlcommons.org/croissant/context/v0.9.json",
3
- "@type": "Dataset",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  "name": "FishNet2",
5
- "description": "FishNet2 is a large-scale dataset for marine species recognition. It contains fish images with bounding boxes, keypoints, segmentation masks, and species-level descriptions.",
 
 
6
  "version": "1.0.0",
7
- "datePublished": "2025-05-15",
8
- "license": "https://creativecommons.org/licenses/by/4.0/",
9
- "identifier": "https://huggingface.co/datasets/faixanKhan/FishNet2",
10
- "creator": [
11
  {
12
- "name": "Faizan Farooq Khan",
13
- "affiliation": "King Abdullah University of Science and Technology (KAUST)"
14
- }
15
- ],
16
- "distributions": [
 
 
 
17
  {
 
 
18
  "name": "Specie-level Images",
19
- "contentUrl": "https://huggingface.co/datasets/faixanKhan/FishNet2/resolve/main/specie_level.zip",
20
- "encodingFormat": "application/zip"
 
 
21
  },
22
  {
23
- "name": "Bounding Boxes",
24
- "contentUrl": "https://huggingface.co/datasets/faixanKhan/FishNet2/resolve/main/bounding_boxes.zip",
25
- "encodingFormat": "application/zip"
 
 
 
 
26
  },
27
  {
28
- "name": "Keypoints",
29
- "contentUrl": "https://huggingface.co/datasets/faixanKhan/FishNet2/resolve/main/kp_annotations.zip",
30
- "encodingFormat": "application/zip"
 
 
 
 
31
  },
32
  {
 
 
33
  "name": "Segmentation Masks",
34
- "contentUrl": "https://huggingface.co/datasets/faixanKhan/FishNet2/resolve/main/masks.zip",
35
- "encodingFormat": "application/zip"
 
 
36
  },
37
  {
 
 
38
  "name": "Species Descriptions",
 
 
39
  "contentUrl": "https://huggingface.co/datasets/faixanKhan/FishNet2/resolve/main/descriptions.json",
40
  "encodingFormat": "application/json"
41
  }
42
  ],
43
- "dataStructure": {
44
- "tables": [
45
- {
46
- "name": "species_descriptions",
47
- "description": "Descriptions of 35,133 marine species.",
48
- "columns": [
49
- {
50
- "name": "species",
51
- "description": "Scientific name of the species.",
52
- "dataType": "string"
53
- },
54
- {
55
- "name": "description",
56
- "description": "Textual description of the species.",
57
- "dataType": "string"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
58
  }
59
- ],
60
- "file": {
61
- "url": "https://huggingface.co/datasets/faixanKhan/FishNet2/resolve/main/descriptions.json",
62
- "encodingFormat": "application/json"
63
  }
64
- }
65
- ]
66
- }
67
- }
68
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  {
2
+ "@context": {
3
+ "@language": "en",
4
+ "@vocab": "https://schema.org/",
5
+ "citeAs": "cr:citeAs",
6
+ "column": "cr:column",
7
+ "conformsTo": "dct:conformsTo",
8
+ "cr": "http://mlcommons.org/croissant/",
9
+ "rai": "http://mlcommons.org/croissant/RAI/",
10
+ "data": {
11
+ "@id": "cr:data",
12
+ "@type": "@json"
13
+ },
14
+ "dataType": {
15
+ "@id": "cr:dataType",
16
+ "@type": "@vocab"
17
+ },
18
+ "dct": "http://purl.org/dc/terms/",
19
+ "examples": {
20
+ "@id": "cr:examples",
21
+ "@type": "@json"
22
+ },
23
+ "extract": "cr:extract",
24
+ "field": "cr:field",
25
+ "fileObject": "cr:fileObject",
26
+ "fileSet": "cr:fileSet",
27
+ "format": "cr:format",
28
+ "includes": "cr:includes",
29
+ "isLiveDataset": "cr:isLiveDataset",
30
+ "jsonPath": "cr:jsonPath",
31
+ "key": "cr:key",
32
+ "md5": "cr:md5",
33
+ "parentField": "cr:parentField",
34
+ "path": "cr:path",
35
+ "recordSet": "cr:recordSet",
36
+ "references": "cr:references",
37
+ "separator": "cr:separator",
38
+ "source": "cr:source",
39
+ "subField": "cr:subField",
40
+ "transform": "cr:transform",
41
+ "sc": "https://schema.org/"
42
+ },
43
+ "@type": "sc:Dataset",
44
  "name": "FishNet2",
45
+ "description": "FishNet2 is a large-scale dataset for marine species recognition. It contains fish specimen images (at species level), bounding boxes, keypoint annotations, segmentation masks, and textual species descriptions.",
46
+ "conformsTo": "http://mlcommons.org/croissant/1.0",
47
+ "url": "https://huggingface.co/datasets/faixanKhan/FishNet2",
48
  "version": "1.0.0",
49
+ "distribution": [
 
 
 
50
  {
51
+ "@type": "cr:FileObject",
52
+ "@id": "hf-repo",
53
+ "name": "HF Repository",
54
+ "description": "FishNet2 dataset repository on Hugging Face",
55
+ "contentUrl": "https://huggingface.co/datasets/faixanKhan/FishNet2",
56
+ "encodingFormat": "git+https",
57
+ "md5": "main"
58
+ },
59
  {
60
+ "@type": "cr:FileSet",
61
+ "@id": "fs-specie-images",
62
  "name": "Specie-level Images",
63
+ "description": "Folder of fish images organized by species",
64
+ "containedIn": { "@id": "hf-repo" },
65
+ "encodingFormat": "application/zip",
66
+ "includes": "specie_level.zip"
67
  },
68
  {
69
+ "@type": "cr:FileSet",
70
+ "@id": "fs-bboxes",
71
+ "name": "Bounding-Box Annotations",
72
+ "description": "Per-image bounding box annotation files",
73
+ "containedIn": { "@id": "hf-repo" },
74
+ "encodingFormat": "application/zip",
75
+ "includes": "bounding_boxes.zip"
76
  },
77
  {
78
+ "@type": "cr:FileSet",
79
+ "@id": "fs-keypoints",
80
+ "name": "Keypoint Annotations",
81
+ "description": "Per-image fish keypoint annotation files",
82
+ "containedIn": { "@id": "hf-repo" },
83
+ "encodingFormat": "application/zip",
84
+ "includes": "kp_annotations.zip"
85
  },
86
  {
87
+ "@type": "cr:FileSet",
88
+ "@id": "fs-masks",
89
  "name": "Segmentation Masks",
90
+ "description": "Per-image segmentation mask files",
91
+ "containedIn": { "@id": "hf-repo" },
92
+ "encodingFormat": "application/zip",
93
+ "includes": "masks.zip"
94
  },
95
  {
96
+ "@type": "cr:FileObject",
97
+ "@id": "fs-descriptions",
98
  "name": "Species Descriptions",
99
+ "description": "JSON file containing descriptions for 35,133 species",
100
+ "containedIn": { "@id": "hf-repo" },
101
  "contentUrl": "https://huggingface.co/datasets/faixanKhan/FishNet2/resolve/main/descriptions.json",
102
  "encodingFormat": "application/json"
103
  }
104
  ],
105
+ "recordSet": [
106
+ {
107
+ "@type": "cr:RecordSet",
108
+ "@id": "rs-descriptions",
109
+ "name": "Species Descriptions",
110
+ "field": [
111
+ {
112
+ "@type": "cr:Field",
113
+ "@id": "rs-despecies/species",
114
+ "name": "species",
115
+ "description": "Scientific name of the fish species",
116
+ "dataType": "sc:Text",
117
+ "source": {
118
+ "fileObject": { "@id": "fs-descriptions" },
119
+ "extract": { "jsonPath": "$.species" }
120
+ }
121
+ },
122
+ {
123
+ "@type": "cr:Field",
124
+ "@id": "rs-despecies/description",
125
+ "name": "description",
126
+ "description": "Textual description of the species",
127
+ "dataType": "sc:Text",
128
+ "source": {
129
+ "fileObject": { "@id": "fs-descriptions" },
130
+ "extract": { "jsonPath": "$.description" }
131
+ }
132
+ }
133
+ ]
134
+ },
135
+ {
136
+ "@type": "cr:RecordSet",
137
+ "@id": "rs-bboxes",
138
+ "name": "Bounding Boxes",
139
+ "field": [
140
+ {
141
+ "@type": "cr:Field",
142
+ "@id": "rs-bboxes/file",
143
+ "name": "bbox_file",
144
+ "description": "Path to a bounding-box annotation file for an image",
145
+ "dataType": "sc:Text",
146
+ "source": {
147
+ "fileSet": { "@id": "fs-bboxes" },
148
+ "extract": { "column": "filename" }
149
  }
 
 
 
 
150
  }
151
+ ]
152
+ },
153
+ {
154
+ "@type": "cr:RecordSet",
155
+ "@id": "rs-keypoints",
156
+ "name": "Keypoint Annotations",
157
+ "field": [
158
+ {
159
+ "@type": "cr:Field",
160
+ "@id": "rs-keypoints/file",
161
+ "name": "kp_file",
162
+ "description": "Path to a keypoint annotation file",
163
+ "dataType": "sc:Text",
164
+ "source": {
165
+ "fileSet": { "@id": "fs-keypoints" },
166
+ "extract": { "column": "filename" }
167
+ }
168
+ }
169
+ ]
170
+ },
171
+ {
172
+ "@type": "cr:RecordSet",
173
+ "@id": "rs-masks",
174
+ "name": "Segmentation Masks",
175
+ "field": [
176
+ {
177
+ "@type": "cr:Field",
178
+ "@id": "rs-masks/file",
179
+ "name": "mask_file",
180
+ "description": "Path to a segmentation mask file",
181
+ "dataType": "sc:Text",
182
+ "source": {
183
+ "fileSet": { "@id": "fs-masks" },
184
+ "extract": { "column": "filename" }
185
+ }
186
+ }
187
+ ]
188
+ },
189
+ {
190
+ "@type": "cr:RecordSet",
191
+ "@id": "rs-specie-images",
192
+ "name": "Specimen Images",
193
+ "field": [
194
+ {
195
+ "@type": "cr:Field",
196
+ "@id": "rs-specie-images/file",
197
+ "name": "image_file",
198
+ "description": "Path to a specimen-level image file",
199
+ "dataType": "sc:ImageObject",
200
+ "source": {
201
+ "fileSet": { "@id": "fs-specie-images" },
202
+ "extract": { "column": "filename" }
203
+ }
204
+ },
205
+ {
206
+ "@type": "cr:Field",
207
+ "@id": "rs-specie-images/species",
208
+ "name": "species_folder",
209
+ "description": "Species name (folder) containing the image",
210
+ "dataType": "sc:Text",
211
+ "source": {
212
+ "fileSet": { "@id": "fs-specie-images" },
213
+ "extract": { "column": "folder" }
214
+ }
215
+ }
216
+ ]
217
+ }
218
+ ]
219
+ }