egrace479 commited on
Commit
0c7b138
1 Parent(s): 38041de

Initialize README

Browse files
Files changed (1) hide show
  1. README.md +305 -0
README.md ADDED
@@ -0,0 +1,305 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ #license: ??
3
+ language:
4
+ - en
5
+ pretty_name: Beetlepalooza Dataset
6
+ task_categories:
7
+ - image-classification
8
+ - image-segmentation
9
+ tags:
10
+ - biology
11
+ - image
12
+ - animals
13
+ - CV
14
+ - beetles
15
+ - elytra
16
+ - elytra width
17
+ - elytra length
18
+ - size
19
+ size_categories:
20
+ - n<1K
21
+ - 10K<n<100K
22
+ configs:
23
+ - config_name: group_images
24
+ data_files:
25
+ - "BeetleMeasurements.csv"
26
+ - "group_images/*.jpg"
27
+ - config_name: individual_images
28
+ data_files:
29
+ - "individual_metadata.csv"
30
+ - "individual_images/*.jpg"
31
+ ---
32
+
33
+ <!--
34
+
35
+ NOTE: Add more tags (your particular animal, type of model and use-case, etc.).
36
+
37
+ See more options for the above information by clicking "edit dataset card" on your repo.
38
+
39
+ Fill in as much information as you can at each location that says "More information needed".
40
+ -->
41
+
42
+ <!--
43
+ Image with caption (jpg or png):
44
+ |![Figure #](https://huggingface.co/datasets/imageomics/<data-repo>/resolve/main/<filepath>)|
45
+ |:--|
46
+ |**Figure #.** [Image of <>](https://huggingface.co/datasets/imageomics/<data-repo>/raw/main/<filepath>) <caption description>.|
47
+ -->
48
+
49
+ <!--
50
+ Notes on styling:
51
+
52
+ To render LaTex in your README, wrap the code in `\\(` and `\\)`. Example: \\(\frac{1}{2}\\)
53
+
54
+ Escape underscores ("_") with a "\". Example: image\_RGB
55
+ -->
56
+
57
+ # Dataset Card for Beetlepalooza Dataset
58
+
59
+ <!-- Provide a quick summary of what the dataset is or can be used for. -->
60
+
61
+ ## Dataset Details
62
+
63
+ ### Dataset Description
64
+
65
+ - **Curated by:** list curators (authors for _data_ citation, moved up)
66
+ <!-- Provide the basic links for the dataset. These will show up on the sidebar to the right of your dataset card ("Curated by" too). -->
67
+ - **Homepage:**
68
+ - **Repository:** [related project repo]
69
+ - **Paper:**
70
+
71
+
72
+ <!-- Provide a longer summary of what this dataset is. -->
73
+ [More Information Needed]
74
+
75
+ <!--This dataset card aims to be a base template for new datasets. It has been generated using [this raw template](https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/templates/datasetcard_template.md?plain=1), and further altered to suit Imageomics Institute needs.-->
76
+
77
+
78
+ ### Supported Tasks and Leaderboards
79
+ [More Information Needed]
80
+
81
+ <!-- Provide benchmarking results -->
82
+
83
+
84
+ ## Dataset Structure
85
+
86
+ <!-- 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. -->
87
+
88
+ In `group_images` we have 577 images of multiple beetles in a reasonably regular pattern (see sample image below). Each of these images contains a centimeter-based scalebar and a barcode representing the sample (collection of beetles in the image). Each row in `BeetleMeasurements.csv` corresponds to a measurement of the elytra (length or width) of an individual beetle.
89
+
90
+ The `individual_images` directory contains images of each individual segmented from the group images. These connect back to their group image based on the `individualID`.
91
+
92
+
93
+ ```
94
+ /dataset/
95
+ group_images/
96
+ <pictureID 1>.png
97
+ <pictureID 2>.png
98
+ ...
99
+ <pictureID 577>.png
100
+ individual_images/
101
+ <individualID 1>.png
102
+ <individualID 2>.png
103
+ ...
104
+ <individualID n>.png
105
+ BeetleMeasurements.csv
106
+ individual_metadata.csv
107
+ ```
108
+
109
+
110
+
111
+ ### Data Instances
112
+ [More Information Needed]
113
+
114
+ <!--
115
+ Describe data files
116
+
117
+ Ex: All images are named <img_id>.png, each within a folder named for the species. They are 1024 x 1024, and the color has been standardized using <link to color standardization package>.
118
+ -->
119
+
120
+ ### Data Fields
121
+ [More Information Needed]
122
+
123
+ **BeetleMeasurements.csv**:
124
+ - `PictureID`: Name of the image (`<sample-barcode>.jpg`, though sometimes it's `<NEON_sampleID_>`.jpg). Unique identifier for the 577 _group_ images, not for dataset. There are 11,104 individual beetles?
125
+ - `scalebar`: Pixel coordinates of the ruler/scalebar in the image.
126
+ - `scale_dist_pix`: Integer. The length in pixels of the scalebar.
127
+ - `individual`: Integer. The beetle in the image to whom the measurements refer. Awaiting confirmation of how they are counted.
128
+ - `structure`: Whether the measurement applies to the length or width of the elytra (`ElytraLength` or `ElytraWidth`, respectively).
129
+ - `lyingstraight`: Whether or not the beetle is "straight" in the image (`Yes` or `No`). Further guidance on this term's meaning would be helpful.
130
+ - `coords_pix`: Pixel coordinates of the line marking the length or width of the elytra (green or purple --confirm which is which). Note that the lines are more than one pixel wide, which is why these coordinates form a rectangle.
131
+ - `dist_pix`: Float. The length or width of the elytra (indicated by `structure`) as measured in pixels.
132
+ - `dist_cm`: Float. The length or width of the elytra (indicated by `structure`) as measured in centimeters using the scalebar (the red line in the reference image denotes the pixel count for 1cm).
133
+ - `scientificName`: Scientific name of the specimen (`<Genus> <species>`). There are 85 different species among 36 genera.
134
+ - `siteID`: String. Identifier for the site from which the specimens were collected. There 30 different site IDs.
135
+ - `field_site_name`: Name of site from which the specimens were collected. There are 43 different field site names.
136
+ - `plotID`: Identifier for the plot from which the specimens were collected (`<siteID>_<plot number>`). There are 144 different plots from which specimens were collected.
137
+ - `user_name`: Name of person inputting the information? (`<first><Last>`) or just their username in the system? Only 3 of them. --looks like username
138
+ - `workflow_id`: Integer identifier for the workflow used...?? There are 5.
139
+ - `genus`: Genus of the individual (generated by taking the first word in the `scientificName`).
140
+ - `individualID`: Unique identifier for the beetles (based on the assumed uniqueness of the `PictureID`, generated from `PictureID` (minus the `.jpg`) plus `_<individual>`.
141
+ - `file_name`: Relative path to image from the root of the directory (`<group_images>/<pictureID>.jpg`); allows for image to be displayed in the dataset viewer alongside its associated metadata.
142
+
143
+
144
+ **TODO:* Make metadata file for viewer once we have segmented images too:
145
+ **individual_metadata.csv**:
146
+ - `individualID`: ID of beetle in the individual image (matches `individualID` in `BeetleMeasurements.csv`). This is a unique identifier for this CSV.
147
+ - `pictureID`: Name of the group image (`<sample-barcode>.jpg`, though sometimes it's `<NEON_sampleID_>`.jpg). Unique identifier for the 577 _group_ images, not for dataset. (Matches `pictureID` in `BeetleMeasurements.csv`.)
148
+ - `scientificName`: Scientific name of the specimen (`<Genus> <species>`). There are 85 different species among 36 genera.
149
+ - `elytraLength`: Length of the elytra in centimeters.
150
+ - `elytraWidth`: Width of the elytra in centimeters.
151
+ - `file_name`: Relative path to image from the root of the directory (`<individual_images>/<individualID>.jpg`); allows for image to be displayed in the dataset viewer alongside its associated metadata.
152
+
153
+
154
+ ### Data Splits
155
+ [More Information Needed]
156
+ <!--
157
+ Give your train-test splits for benchmarking; could be as simple as "split is indicated by the `split` column in the metadata file: `train`, `val`, or `test`." Or perhaps this is just the training dataset and other datasets were used for testing (you may indicate which were used).
158
+ -->
159
+
160
+ ## Dataset Creation
161
+
162
+ ### Curation Rationale
163
+ [More Information Needed]
164
+ <!-- Motivation for the creation of this dataset. For instance, what you intended to study and why that required curation of a new dataset (or if it's newly collected data and why the data was collected (intended use)), etc. -->
165
+
166
+ This dataset was curated for use at [BeetlePalooza 2024](https://github.com/Imageomics/BeetlePalooza-2024/wiki) to help drive scientific discovery through machine learning and computer vision.
167
+
168
+
169
+ ### Source Data
170
+
171
+ <!-- This section describes the source data (e.g., news text and headlines, social media posts, translated sentences, ...). As well as an original source it was created from (e.g., sampling from Zenodo records, compiling images from different aggregators, etc.) -->
172
+
173
+ The specimens come from [NEON sites](https://www.neonscience.org/), as indicated in the `BeetleMeasurements` CSV.
174
+
175
+ #### Data Collection and Processing
176
+ [More Information Needed]
177
+ <!-- This section describes the data collection and processing process such as data selection criteria, filtering and normalization methods, re-sizing of images, tools and libraries used, etc.
178
+ This is what _you_ did to it following collection from the original source; it will be overall processing if you collected the data initially.
179
+ -->
180
+
181
+ #### Who are the source data producers?
182
+ [More Information Needed]
183
+ <!-- This section describes the people or systems who originally created the data.
184
+
185
+ Ex: This dataset is a collection of images taken of the butterfly collection housed at the Ohio State University Museum of Biological Diversity. The associated labels and metadata are the information provided with the collection from biologists that study butterflies and supplied the specimens to the museum.
186
+ -->
187
+
188
+
189
+ ### Annotations
190
+ <!--
191
+ If the dataset contains annotations which are not part of the initial data collection, use this section to describe them.
192
+
193
+ Ex: We standardized the taxonomic labels provided by the various data sources to conform to a uniform 7-rank Linnean structure. (Then, under annotation process, describe how this was done: Our sources used different names for the same kingdom (both _Animalia_ and _Metazoa_), so we chose one for all (_Animalia_). -->
194
+
195
+ Annotations were completed by 3 individuals (indicated by their NEON system usernames in the `BeetleMeasurements` CSV).
196
+
197
+ #### Annotation process
198
+ [More Information Needed]
199
+ <!-- This section describes the annotation process such as annotation tools used, the amount of data annotated, annotation guidelines provided to the annotators, interannotator statistics, annotation validation, etc. -->
200
+
201
+ #### Who are the annotators?
202
+ [More Information Needed]
203
+ <!-- This section describes the people or systems who created the annotations. -->
204
+
205
+ ### Personal and Sensitive Information
206
+ [More Information Needed]
207
+ <!--
208
+ For instance, if your data includes people or endangered species. -->
209
+
210
+
211
+ ## Considerations for Using the Data
212
+ [More Information Needed]
213
+ <!--
214
+ Things to consider while working with the dataset. For instance, maybe there are hybrids and they are labeled in the `hybrid_stat` column, so to get a subset without hybrids, subset to all instances in the metadata file such that `hybrid_stat` is _not_ "hybrid".
215
+ -->
216
+
217
+ ### Bias, Risks, and Limitations
218
+ [More Information Needed]
219
+ <!-- This section is meant to convey both technical and sociotechnical limitations. Could also address misuse, malicious use, and uses that the dataset will not work well for.-->
220
+
221
+ <!-- For instance, if your data exhibits a long-tailed distribution (and why). -->
222
+
223
+ ### Recommendations
224
+ [More Information Needed]
225
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
226
+
227
+ ## Licensing Information
228
+ [More Information Needed]
229
+
230
+ <!-- See notes at top of file about selecting a license.
231
+ If you choose CC0: This dataset is dedicated to the public domain for the benefit of scientific pursuits. We ask that you cite the dataset and journal paper using the below citations if you make use of it in your research.
232
+
233
+ Be sure to note different licensing of images if they have a different license from the compilation.
234
+ ex:
235
+ The data (images and text) contain a variety of licensing restrictions mostly within the CC family. Each image and text in this dataset is provided under the least restrictive terms allowed by its licensing requirements as provided to us (i.e, we impose no additional restrictions past those specified by licenses in the license file).
236
+
237
+ EOL images contain a variety of licenses ranging from [CC0](https://creativecommons.org/publicdomain/zero/1.0/) to [CC BY-NC-SA](https://creativecommons.org/licenses/by-nc-sa/4.0/).
238
+ For license and citation information by image, see our [license file](https://huggingface.co/datasets/imageomics/treeoflife-10m/blob/main/metadata/licenses.csv).
239
+
240
+ This dataset (the compilation) has been marked as dedicated to the public domain by applying the [CC0 Public Domain Waiver](https://creativecommons.org/publicdomain/zero/1.0/). However, images may be licensed under different terms (as noted above).
241
+ -->
242
+
243
+ ## Citation
244
+ [More Information Needed]
245
+
246
+ **BibTeX:**
247
+ <!--
248
+ If you want to include BibTex, replace "<>"s with your info
249
+
250
+ **Data**
251
+ ```
252
+ @misc{<ref_code>,
253
+ author = {<author1 and author2>},
254
+ title = {<title>},
255
+ year = {<year>},
256
+ url = {https://huggingface.co/datasets/imageomics/<dataset_name>},
257
+ doi = {<doi once generated>},
258
+ publisher = {Hugging Face}
259
+ }
260
+ ```
261
+
262
+ -for an associated paper:
263
+ **Paper**
264
+ ```
265
+ @article{<ref_code>,
266
+ title = {<title>},
267
+ author = {<author1 and author2>},
268
+ journal = {<journal_name>},
269
+ year = <year>,
270
+ url = {<DOI_URL>},
271
+ doi = {<DOI>}
272
+ }
273
+ ```
274
+ -->
275
+
276
+ <!---
277
+ If the data is modified from another source, add the following.
278
+
279
+ Please be sure to also cite the original data source(s):
280
+ <citation>
281
+ -->
282
+
283
+
284
+ ## Acknowledgements
285
+
286
+ The National Ecological Observatory Network is a program sponsored by the National Science Foundation and operated under cooperative agreement by Battelle. This material uses specimens and/or samples collected as part of the NEON Program. Additionally, this material is based upon work supported by the National Science Foundation under [Award No. 2118240](https://www.nsf.gov/awardsearch/showAward?AWD_ID=2118240) ([Imageomics](https://imageomics.org): A New Frontier of Biological Information Powered by Knowledge-Guided Machine Learning), and under Award Numbers [2301322](https://www.nsf.gov/awardsearch/showAward?AWD_ID=2301322&HistoricalAwards=false) and [2242803]() and the USDA National Institute of Food and Agriculture, Hatch Project [Number ME0-22425]() through the Maine Agricultural and Forest Experiment Station. Any opinions, findings and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation.
287
+
288
+
289
+ ## Glossary
290
+
291
+ <!-- [optional] If relevant, include terms and calculations in this section that can help readers understand the dataset or dataset card. -->
292
+
293
+ ## More Information
294
+
295
+ <!-- [optional] Any other relevant information that doesn't fit elsewhere. -->
296
+
297
+ ## Dataset Card Authors
298
+
299
+ [More Information Needed]
300
+
301
+ ## Dataset Card Contact
302
+
303
+ [More Information Needed--optional]
304
+ <!-- Could include who to contact with questions, but this is also what the "Discussions" tab is for. -->
305
+