Carlyn2015 commited on
Commit
833fd8a
·
1 Parent(s): 46f8312

updated README file structure with new data and how to load

Browse files
Files changed (1) hide show
  1. README.md +39 -3
README.md CHANGED
@@ -167,10 +167,22 @@ Leaderboard is available on the [Codabench Challenge page](https://www.codabench
167
  ...
168
  scalebar_<scalebarid k>.png
169
  data/
 
 
 
 
 
 
170
  train-00000-of-00029.parquet
171
  train-00001-of-00029.parquet
172
  ...
173
  train-00028-of-00029.parquet
 
 
 
 
 
 
174
  validation-00000-of-00004.parquet
175
  ...
176
  validation-00003-of-00004.parquet
@@ -179,7 +191,11 @@ Leaderboard is available on the [Codabench Challenge page](https://www.codabench
179
  <img_id 2>.png
180
  ...
181
  <img_id n>.png
 
 
182
  train.csv
 
 
183
  val.csv
184
  ```
185
 
@@ -227,13 +243,33 @@ All domains were split into two sets: one for out-of-distribution (OOD) testing
227
  #### Training v. Testing (ID)
228
  All domains contain up to three sites where collection events of beetles took place. Each collection event is defined by when it took place (`collectDate`) and where (`siteID`). All ID domains were split based on their sites into training and testing (ID). If a domain only contained one site, then all events from that site were placed in training. If a domain contained more than one, then one site was held out for testing (ID) and all others were placed in training.
229
 
230
- #### Training v. Validation
231
- During our preliminary experiments we extract a validation set out of the training set for early stopping in training. This split is what is made publicly available in the `train.csv` and `val.csv` files for training and validation respectively.
232
 
233
- #### Initial phase v. Challenge phase
 
 
 
234
 
 
235
  The testing sets currently contain two subsets: an ID set (images from sites whose domain was seen in training), and an OOD set which has images from domains unique to the test set. Both the ID and OOD sets were split in half for the two phases of our competition. The initial (development) phase of the competition will evaluate all submitted models on one half only. These will be represented by the private files `seen_domain.csv` and `unseen_domain.csv` for ID and OOD, respectively. Around the end of the competition, we will also evaluate all submitted models on the other half, which is contained in the private files `seen_domain_challenge.csv` and `seen_domain_challenge.csv`.
236
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
237
  The most metadata will be provided for the training dataset; `siteID`, `collectDate` and the target variables values will be redacted for the challenge dataset. Only images and unredacted metadata will be provided. The challenge will be to recover the target variable values for given collections of beetle images from given site-date combinations. All data will be released at the end of the challenge.
238
 
239
  ## Dataset Creation
 
167
  ...
168
  scalebar_<scalebarid k>.png
169
  data/
170
+ seen-00000-of-00006.parquet
171
+ ...
172
+ seen-00005-of-00006.parquet
173
+ seen_challenge-00000-of-00007.parquet
174
+ ...
175
+ seen_challenge-00006-of-00007.parquet
176
  train-00000-of-00029.parquet
177
  train-00001-of-00029.parquet
178
  ...
179
  train-00028-of-00029.parquet
180
+ unseen-00000-of-00003.parquet
181
+ ...
182
+ unseen-00002-of-00003.parquet
183
+ unseen_challenge-00000-of-00003.parquet
184
+ ...
185
+ unseen_challenge-00002-of-00003.parquet
186
  validation-00000-of-00004.parquet
187
  ...
188
  validation-00003-of-00004.parquet
 
191
  <img_id 2>.png
192
  ...
193
  <img_id n>.png
194
+ seen_domain.csv
195
+ seen_domain_challenge.csv
196
  train.csv
197
+ unseen_domain.csv
198
+ unseen_domain_challenge.csv
199
  val.csv
200
  ```
201
 
 
243
  #### Training v. Testing (ID)
244
  All domains contain up to three sites where collection events of beetles took place. Each collection event is defined by when it took place (`collectDate`) and where (`siteID`). All ID domains were split based on their sites into training and testing (ID). If a domain only contained one site, then all events from that site were placed in training. If a domain contained more than one, then one site was held out for testing (ID) and all others were placed in training.
245
 
246
+ ##### Loading Development Phase Data
247
+ Development files for training and validation can be loaded with:
248
 
249
+ ```
250
+ training = load_dataset("imageomics/sentinel-beetles", split="train")
251
+ validation = load_dataset("imageomics/sentinel-beetles", split="validation")
252
+ ```
253
 
254
+ #### Initial phase (Private Validation) v. Challenge phase (Final Challenge)
255
  The testing sets currently contain two subsets: an ID set (images from sites whose domain was seen in training), and an OOD set which has images from domains unique to the test set. Both the ID and OOD sets were split in half for the two phases of our competition. The initial (development) phase of the competition will evaluate all submitted models on one half only. These will be represented by the private files `seen_domain.csv` and `unseen_domain.csv` for ID and OOD, respectively. Around the end of the competition, we will also evaluate all submitted models on the other half, which is contained in the private files `seen_domain_challenge.csv` and `seen_domain_challenge.csv`.
256
 
257
+ ##### Loading Intial Phase Data
258
+ Files used for validation during the intial phase of the challenge for seen domains and unseen domains from those available in the development files can be loaded with:
259
+
260
+ ```
261
+ seen_initial = load_dataset("imageomics/sentinel-beetles", split="seen")
262
+ unseen_initial = load_dataset("imageomics/sentinel-beetles", split="unseen")
263
+ ```
264
+
265
+ ##### Loading Challenge Phase Data
266
+ Files used for final evaluation during the challenge phase for seen domains and unseen domains from those available in the development files can be loaded with:
267
+
268
+ ```
269
+ seen_challenge = load_dataset("imageomics/sentinel-beetles", split="seen_challenge")
270
+ unseen_challenge = load_dataset("imageomics/sentinel-beetles", split="unseen_challenge")
271
+ ```
272
+
273
  The most metadata will be provided for the training dataset; `siteID`, `collectDate` and the target variables values will be redacted for the challenge dataset. Only images and unredacted metadata will be provided. The challenge will be to recover the target variable values for given collections of beetle images from given site-date combinations. All data will be released at the end of the challenge.
274
 
275
  ## Dataset Creation