egrace479 commited on
Commit
b85e80b
1 Parent(s): f7d5536

standardize filenames for master CSVs

Browse files
Jiggins_Heliconius_Master.csv → Heliconius_img_master.csv RENAMED
File without changes
README-supplemental.md CHANGED
@@ -1,4 +1,4 @@
1
- # Summary of Deduplication of Jiggins Data
2
 
3
  We explored our downloaded images in `notebooks/EDA-DL-0-3.ipynb`, and established the following causes of duplication along with remedies:
4
  1. The "patch" record (record 3477891) which required alignment in `notebooks/Data-gen-1-1.ipynb`, resulting in `metadata/Jiggins_Zenodo_Img_Master_3477891Patch.csv` used for download, is a duplication of all listed records. Additionally, it introduced extra copies of 4 images with incorrect labels for their views (i.e., dorsal vs ventral).
 
1
+ # Summary of Deduplication
2
 
3
  We explored our downloaded images in `notebooks/EDA-DL-0-3.ipynb`, and established the following causes of duplication along with remedies:
4
  1. The "patch" record (record 3477891) which required alignment in `notebooks/Data-gen-1-1.ipynb`, resulting in `metadata/Jiggins_Zenodo_Img_Master_3477891Patch.csv` used for download, is a duplication of all listed records. Additionally, it introduced extra copies of 4 images with incorrect labels for their views (i.e., dorsal vs ventral).
README.md CHANGED
@@ -27,15 +27,15 @@ configs:
27
  - config_name: full_master
28
  data_files:
29
  - split: train
30
- path: Jiggins_Zenodo_Img_Master.csv
31
  - config_name: heliconius
32
  data_files:
33
  - split: train
34
- path: Jiggins_Heliconius_Master.csv
35
  - config_name: dorsal
36
  data_files:
37
  - split: train
38
- path: Jiggins_Zenodo_dorsal_Img_Master.csv
39
  ---
40
  # Dataset Card for Heliconius Collection (Cambridge Butterfly)
41
 
@@ -77,11 +77,11 @@ English, Latin
77
 
78
  ## Dataset Structure
79
 
80
- * **Jiggins_Zenodo_Img_Master.csv:** Information for the approximately 36,000 unprocessed image files included in the Jiggins Heliconius Collection. Image types are `jpg`, `raw` (.CR2) and `tif`. `genus`, `species`, and `subspecies` are included columns.
81
 
82
- * **Jiggins_Zenodo_dorsal_Img_Master.csv:** Subset of 17,748 images from `Jiggins_Zenodo_Img_Master.csv` with a dorsal view of the butterflies (note that some have both dorsal and ventral). This subset includes 11,746 unique specimens. Image types and columns are the same as for the Master file.
83
 
84
- * **Jiggins_Heliconius_Master.csv:** The 29,134-image subset of all Heliconius images from `Jiggins_Zenodo_Img_Master.csv`. This subset includes 10,086 unique specimens. Image types and columns are the same as for the Master file.
85
 
86
 
87
  **Notes:**
@@ -98,7 +98,7 @@ English, Latin
98
 
99
  ### Data Instances
100
 
101
- `Jiggins_Heliconius_Master.csv` contains multiple species of Heliconius (including erato and melpomene), most are labeled down to the subspecies level. The `Jiggins_Zenodo_Img_Master.csv` also contains species from other genera, with just over half labeled to the subspecies level (these are predominantly Heliconius subspecies).
102
 
103
  Detached wings in four quadrants (generally). Many include a label indicating the specimen ID (`CAMID`). There is variation in formatting both across and within records, but overall setup is relatively consistent.
104
  Some subspecies may be photographed differently, needs segmentation preprocessing.
@@ -156,7 +156,7 @@ CSV Columns are as follows:
156
  - `mimic_group`: Mimicry group of the subspecies; only included for Heliconius subspecies. Polymorphic subspecies (_Heliconius doris ssp. doris_ and _Heliconius melpomene ssp. martinae_) are labeled based on the specimen images.
157
 
158
  **Note:**
159
- - `Jiggins_Zenodo_dorsal_Img_Master.csv` also has a column `CAM_dupe` indicating whether the `CAMID` has multiple images of the same file type within this subset. Most (11,446) specimens have only one dorsal image per file type.
160
  - `CAMID`s are necessarily duplicated for the images that are of just a dorsal forewing or hindwing, so we label those as `single_wing`. There are one RAW and one JPG image for each single wing. None of these are Heliconius butterflies.
161
  - Instances of both dorsal and ventral wings in the same image are labeled `both-wings`; there are 18 such images, all of Heliconius butterflies.
162
  - There are multiple JPG images with the same `CAMID`. Note that this does not necessarily mean these are duplicates of the same images; check the views to confirm. There are also JPG copies provided alongside RAW images. Generally, RAW images will be unique up to `View`, as there is only one CAMID with two RAW images that aren't of just a single wing.
 
27
  - config_name: full_master
28
  data_files:
29
  - split: train
30
+ path: img_master.csv
31
  - config_name: heliconius
32
  data_files:
33
  - split: train
34
+ path: Heliconius_img_master.csv
35
  - config_name: dorsal
36
  data_files:
37
  - split: train
38
+ path: dorsal_img_master.csv
39
  ---
40
  # Dataset Card for Heliconius Collection (Cambridge Butterfly)
41
 
 
77
 
78
  ## Dataset Structure
79
 
80
+ * **img_master.csv:** Information for the approximately 36,000 unprocessed image files included in the Jiggins Heliconius Collection. Image types are `jpg`, `raw` (.CR2) and `tif`. `genus`, `species`, and `subspecies` are included columns.
81
 
82
+ * **dorsal_img_master.csv:** Subset of 17,748 images from `img_master.csv` with a dorsal view of the butterflies (note that some have both dorsal and ventral). This subset includes 11,746 unique specimens. Image types and columns are the same as for the Master file.
83
 
84
+ * **Heliconius_img_master.csv:** The 29,134-image subset of all Heliconius images from `img_master.csv`. This subset includes 10,086 unique specimens. Image types and columns are the same as for the Master file.
85
 
86
 
87
  **Notes:**
 
98
 
99
  ### Data Instances
100
 
101
+ `Heliconius_img_master.csv` contains multiple species of Heliconius (including erato and melpomene), most are labeled down to the subspecies level. The `img_master.csv` also contains species from other genera, with just over half labeled to the subspecies level (these are predominantly Heliconius subspecies).
102
 
103
  Detached wings in four quadrants (generally). Many include a label indicating the specimen ID (`CAMID`). There is variation in formatting both across and within records, but overall setup is relatively consistent.
104
  Some subspecies may be photographed differently, needs segmentation preprocessing.
 
156
  - `mimic_group`: Mimicry group of the subspecies; only included for Heliconius subspecies. Polymorphic subspecies (_Heliconius doris ssp. doris_ and _Heliconius melpomene ssp. martinae_) are labeled based on the specimen images.
157
 
158
  **Note:**
159
+ - `dorsal_img_master.csv` also has a column `CAM_dupe` indicating whether the `CAMID` has multiple images of the same file type within this subset. Most (11,446) specimens have only one dorsal image per file type.
160
  - `CAMID`s are necessarily duplicated for the images that are of just a dorsal forewing or hindwing, so we label those as `single_wing`. There are one RAW and one JPG image for each single wing. None of these are Heliconius butterflies.
161
  - Instances of both dorsal and ventral wings in the same image are labeled `both-wings`; there are 18 such images, all of Heliconius butterflies.
162
  - There are multiple JPG images with the same `CAMID`. Note that this does not necessarily mean these are duplicates of the same images; check the views to confirm. There are also JPG copies provided alongside RAW images. Generally, RAW images will be unique up to `View`, as there is only one CAMID with two RAW images that aren't of just a single wing.
Jiggins_Zenodo_dorsal_Img_Master.csv → dorsal_img_master.csv RENAMED
File without changes
Jiggins_Zenodo_Img_Master.csv → img_master.csv RENAMED
File without changes