rinkrinkrink commited on
Commit
3aeb4ce
·
verified ·
1 Parent(s): bcbb154

Add session S04 (wheat-w, test split), replace unlabelled S04 upload

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. README.md +31 -29
  2. data/{train/S04/PXL_20261015_110711637.jpg → test/S04/S04-000_pixel-9_PXL_20261015_110711637.jpg} +0 -0
  3. data/{train/S04/PXL_20261015_110731025.jpg → test/S04/S04-000_pixel-9_PXL_20261015_110731025.jpg} +0 -0
  4. data/{train/S04/PXL_20261015_110803598.jpg → test/S04/S04-000_pixel-9_PXL_20261015_110803598.jpg} +0 -0
  5. data/{train/S04/PXL_20261015_110806661.jpg → test/S04/S04-000_pixel-9_PXL_20261015_110806661.jpg} +0 -0
  6. data/{train/S04/PXL_20261015_110814851.jpg → test/S04/S04-000_pixel-9_PXL_20261015_110814851.jpg} +0 -0
  7. data/{train/S04/PXL_20261015_110818536.jpg → test/S04/S04-000_pixel-9_PXL_20261015_110818536.jpg} +0 -0
  8. data/{train/S04/PXL_20261015_111538770.jpg → test/S04/S04-001_pixel-9_PXL_20261015_111538770.jpg} +0 -0
  9. data/{train/S04/PXL_20261015_111540653.jpg → test/S04/S04-001_pixel-9_PXL_20261015_111540653.jpg} +0 -0
  10. data/{train/S04/PXL_20261015_112342937.jpg → test/S04/S04-002_pixel-9_PXL_20261015_112342937.jpg} +0 -0
  11. data/{train/S04/PXL_20261015_112344737.jpg → test/S04/S04-002_pixel-9_PXL_20261015_112344737.jpg} +0 -0
  12. data/{train/S04/PXL_20261015_112540269.jpg → test/S04/S04-003_pixel-9_PXL_20261015_112540269.jpg} +0 -0
  13. data/{train/S04/PXL_20261015_112541878.jpg → test/S04/S04-003_pixel-9_PXL_20261015_112541878.jpg} +0 -0
  14. data/{train/S04/PXL_20261015_113401048.jpg → test/S04/S04-004_pixel-9_PXL_20261015_113401048.jpg} +0 -0
  15. data/{train/S04/PXL_20261015_113404084.jpg → test/S04/S04-004_pixel-9_PXL_20261015_113404084.jpg} +0 -0
  16. data/{train/S04/PXL_20261015_113811422.jpg → test/S04/S04-005_pixel-9_PXL_20261015_113811422.jpg} +0 -0
  17. data/{train/S04/PXL_20261015_113814728.jpg → test/S04/S04-005_pixel-9_PXL_20261015_113814728.jpg} +0 -0
  18. data/{train/S04/PXL_20261015_113839131.jpg → test/S04/S04-005_pixel-9_PXL_20261015_113839131.jpg} +0 -0
  19. data/{train/S04/PXL_20261015_113843550.jpg → test/S04/S04-005_pixel-9_PXL_20261015_113843550.jpg} +0 -0
  20. data/{train/S04/PXL_20261015_114129212.jpg → test/S04/S04-006_pixel-9_PXL_20261015_114129212.jpg} +0 -0
  21. data/{train/S04/PXL_20261015_114133490.jpg → test/S04/S04-006_pixel-9_PXL_20261015_114133490.jpg} +0 -0
  22. data/{train/S04/PXL_20261015_114206875.jpg → test/S04/S04-006_pixel-9_PXL_20261015_114206875.jpg} +0 -0
  23. data/{train/S04/PXL_20261015_114209966.jpg → test/S04/S04-006_pixel-9_PXL_20261015_114209966.jpg} +0 -0
  24. data/{train/S04/PXL_20261015_114332361.jpg → test/S04/S04-007_pixel-9_PXL_20261015_114332361.jpg} +0 -0
  25. data/{train/S04/PXL_20261015_114334983.jpg → test/S04/S04-007_pixel-9_PXL_20261015_114334983.jpg} +0 -0
  26. data/{train/S04/PXL_20261015_114337993.jpg → test/S04/S04-007_pixel-9_PXL_20261015_114337993.jpg} +0 -0
  27. data/{train/S04/PXL_20261015_114341113.jpg → test/S04/S04-007_pixel-9_PXL_20261015_114341113.jpg} +0 -0
  28. data/{train/S04/PXL_20261015_114834119.jpg → test/S04/S04-008-2_pixel-9_PXL_20261015_114834119.jpg} +0 -0
  29. data/{train/S04/PXL_20261015_114835837.jpg → test/S04/S04-008-2_pixel-9_PXL_20261015_114835837.jpg} +0 -0
  30. data/{train/S04/PXL_20261015_115411381.jpg → test/S04/S04-009_pixel-9_PXL_20261015_115411381.jpg} +0 -0
  31. data/{train/S04/PXL_20261015_115412767.jpg → test/S04/S04-009_pixel-9_PXL_20261015_115412767.jpg} +0 -0
  32. data/{train/S04/PXL_20261015_115529047.jpg → test/S04/S04-010_pixel-9_PXL_20261015_115529047.jpg} +0 -0
  33. data/{train/S04/PXL_20261015_115530745.jpg → test/S04/S04-010_pixel-9_PXL_20261015_115530745.jpg} +0 -0
  34. data/{train/S04/PXL_20261015_115725809.jpg → test/S04/S04-011_pixel-9_PXL_20261015_115725809.jpg} +0 -0
  35. data/{train/S04/PXL_20261015_115728484.jpg → test/S04/S04-011_pixel-9_PXL_20261015_115728484.jpg} +0 -0
  36. data/{train/S04/PXL_20261015_120120718.jpg → test/S04/S04-012_pixel-9_PXL_20261015_120120718.jpg} +0 -0
  37. data/{train/S04/PXL_20261015_120123050.jpg → test/S04/S04-012_pixel-9_PXL_20261015_120123050.jpg} +0 -0
  38. data/{train/S04/PXL_20261015_120525139.jpg → test/S04/S04-013_pixel-9_PXL_20261015_120525139.jpg} +0 -0
  39. data/{train/S04/PXL_20261015_120530357.jpg → test/S04/S04-013_pixel-9_PXL_20261015_120530357.jpg} +0 -0
  40. data/{train/S04/PXL_20261015_120919656.NIGHT.jpg → test/S04/S04-014_pixel-9_PXL_20261015_120919656.NIGHT.jpg} +0 -0
  41. data/{train/S04/PXL_20261015_120924394.NIGHT.jpg → test/S04/S04-014_pixel-9_PXL_20261015_120924394.NIGHT.jpg} +0 -0
  42. data/{train/S04/PXL_20261015_121033145.NIGHT.jpg → test/S04/S04-015_pixel-9_PXL_20261015_121033145.NIGHT.jpg} +0 -0
  43. data/{train/S04/PXL_20261015_121036167.NIGHT.jpg → test/S04/S04-015_pixel-9_PXL_20261015_121036167.NIGHT.jpg} +0 -0
  44. data/{train/S04/PXL_20261015_121452221.jpg → test/S04/S04-016_pixel-9_PXL_20261015_121452221.jpg} +0 -0
  45. data/{train/S04/PXL_20261015_121455035.jpg → test/S04/S04-016_pixel-9_PXL_20261015_121455035.jpg} +0 -0
  46. data/{train/S04/PXL_20261015_121708304.jpg → test/S04/S04-017_pixel-9_PXL_20261015_121708304.jpg} +0 -0
  47. data/{train/S04/PXL_20261015_121711067.jpg → test/S04/S04-017_pixel-9_PXL_20261015_121711067.jpg} +0 -0
  48. data/{train/S04/PXL_20261015_121952363.jpg → test/S04/S04-018_pixel-9_PXL_20261015_121952363.jpg} +0 -0
  49. data/{train/S04/PXL_20261015_121953972.jpg → test/S04/S04-018_pixel-9_PXL_20261015_121953972.jpg} +0 -0
  50. data/{train/S04/PXL_20261015_122202387.jpg → test/S04/S04-019_pixel-9_PXL_20261015_122202387.jpg} +0 -0
README.md CHANGED
@@ -15,6 +15,8 @@ tags:
15
  configs:
16
  - config_name: default
17
  data_files:
 
 
18
  - split: train
19
  path: data/train/**
20
  ---
@@ -27,34 +29,22 @@ single phone photo, as the first step of estimating the thousand-kernel weight
27
  (TKW = mass ÷ count × 1000). A 1 % count error is a 1 % TKW error, so the collection
28
  protocol is built around label correctness.
29
 
30
- > **Status: work in progress.** Collection is ongoing; species, lots and the test split
31
- > will be added. Built 2026-10-05 from 3 sessions.
32
- >
33
- > **Preliminary release, label review pending.** A cross-check against weights and point
34
- > annotations found count errors in S03 cards 20–23. Cards 21 and 22 are excluded for good;
35
- > cards 20 and 23 are held back until recounted. Point annotations cover only a few photos
36
- > so far. Counts may still change.
37
- >
38
- > **Known open issue:** on S01 cards 19–30, every annotated photo has 5–8 fewer kernel
39
- > points than `count`, while no missed kernel shows up in them. `count` there may be about
40
- > 6 too high, which would affect every S01 photo from card 17 on except the recounted CHECK
41
- > card 24. This is being checked by annotating a CHECK photo.
42
-
43
  ## Contents
44
 
45
  | | |
46
  |---|---|
47
- | Images | 457 |
48
- | Arrangements (distinct kernel layouts) | 86 |
49
- | Kernels per image | 225 – 798 |
50
  | Images with point annotations | 28 |
51
- | Splits | train: 457 |
52
 
53
  | Session | Species | Lot | Light | Chaff | Cameras | Images | Arrangements | Kernels |
54
  |---|---|---|---|---|---|---|---|---|
55
  | S01 | rye-w | rye-w-A | desk | light | Galaxy S23, iPhone 8 | 108 | 27 | 274–787 |
56
  | S02 | oats-s | oats-s-A | desk | none | Galaxy S23, iPhone 8 | 124 | 31 | 240–798 |
57
  | S03 | barley-w | barley-w-A | desk | light | Galaxy S23, SM-P610, iPhone 8 | 225 | 28 | 225–733 |
 
58
 
59
  ## Fields
60
 
@@ -133,22 +123,19 @@ A script decodes the card photos and assigns their total to the photos that foll
133
  It checks that every total follows from the previous one and the card's delta. A group
134
  whose chain breaks (a skipped or unread card) stays *suspect* until the next CHECK, and
135
  groups before an INVALIDATE are *invalidated*. **Only groups whose chain validated are in
136
- this dataset**, after a review of every group by eye. One exception: S01 cards 9–11 were
137
- invalidated by the chain but are included, because their point annotations match `count`
138
- exactly. In S02 the Galaxy S23 missed the card photos of cards 6 and 22; its photos of
139
- those two layouts are placed on the card by hand, because they show the same layout as the
140
- iPhone 8 photos of that card, and the chain validates with them. Card photos and scale
141
- photos are not included.
142
 
143
  ## Splitting
144
 
145
- Images are **not independent**: every arrangement appears in 2–22 photos (several phones,
146
  several angles), and consecutive arrangements of a session share most of their kernels.
147
  Split by `lot`, or at least by `session`; never by image, and never by `arrangement_id`
148
  alone.
149
 
150
  The intended evaluation holds out winter soft wheat (`wheat-w`) entirely, plus at least one
151
- lot of every training species. There is no `test` split yet: no held-out lot or species has been collected so far, so everything is in `train`.
152
 
153
  ## Loading
154
 
@@ -180,10 +167,25 @@ a kernel was missed or lies at the edge of the frame. `count` stays the label.
180
  - Only the species and lots in the table above so far.
181
  - Some sessions contain chaff and broken kernels (`chaff` ≠ `none`). They are visible in the
182
  photos and deliberately not part of the count.
183
- - The background around the sheet, paper, lighting and phones vary between sessions, but not
184
- systematically; some photos show printed square markers or paper clips on the sheet.
185
- - `weight_g` is only filled in for weighed CHECK groups and is typed in by hand from a photo
186
- of the scale display.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
187
 
188
  ## License
189
 
 
15
  configs:
16
  - config_name: default
17
  data_files:
18
+ - split: test
19
+ path: data/test/**
20
  - split: train
21
  path: data/train/**
22
  ---
 
29
  (TKW = mass ÷ count × 1000). A 1 % count error is a 1 % TKW error, so the collection
30
  protocol is built around label correctness.
31
 
 
 
 
 
 
 
 
 
 
 
 
 
 
32
  ## Contents
33
 
34
  | | |
35
  |---|---|
36
+ | Images | 531 |
37
+ | Arrangements (distinct kernel layouts) | 117 |
38
+ | Kernels per image | 170 – 800 |
39
  | Images with point annotations | 28 |
40
+ | Splits | test: 74, train: 457 |
41
 
42
  | Session | Species | Lot | Light | Chaff | Cameras | Images | Arrangements | Kernels |
43
  |---|---|---|---|---|---|---|---|---|
44
  | S01 | rye-w | rye-w-A | desk | light | Galaxy S23, iPhone 8 | 108 | 27 | 274–787 |
45
  | S02 | oats-s | oats-s-A | desk | none | Galaxy S23, iPhone 8 | 124 | 31 | 240–798 |
46
  | S03 | barley-w | barley-w-A | desk | light | Galaxy S23, SM-P610, iPhone 8 | 225 | 28 | 225–733 |
47
+ | S04 | wheat-w | wheat-w-A | desk | light | Pixel 9 | 74 | 31 | 170–800 |
48
 
49
  ## Fields
50
 
 
123
  It checks that every total follows from the previous one and the card's delta. A group
124
  whose chain breaks (a skipped or unread card) stays *suspect* until the next CHECK, and
125
  groups before an INVALIDATE are *invalidated*. **Only groups whose chain validated are in
126
+ this dataset**, after a review of every group by eye.
127
+
128
+ Card photos and scale photos are not included.
 
 
 
129
 
130
  ## Splitting
131
 
132
+ Images are **not independent**: every arrangement appears in 1–22 photos (several phones,
133
  several angles), and consecutive arrangements of a session share most of their kernels.
134
  Split by `lot`, or at least by `session`; never by image, and never by `arrangement_id`
135
  alone.
136
 
137
  The intended evaluation holds out winter soft wheat (`wheat-w`) entirely, plus at least one
138
+ lot of every training species. The `test` split follows that rule.
139
 
140
  ## Loading
141
 
 
167
  - Only the species and lots in the table above so far.
168
  - Some sessions contain chaff and broken kernels (`chaff` ≠ `none`). They are visible in the
169
  photos and deliberately not part of the count.
170
+
171
+ ## Contributing
172
+
173
+ New sessions are welcome. **Do not upload photos to this repository directly.** Every file
174
+ here is generated by the export script from reviewed labels; photos without a
175
+ `metadata.jsonl` row have no count and are useless for training. The tools are in the
176
+ [project repository](https://github.com/SmartFarmingLab/corn1000) (private, access on
177
+ request from the Smart Farming Lab).
178
+
179
+ 1. **Plan:** `tools/plan_session.py <SESSION> --species … --lot … --light … --chaff …`
180
+ writes `sessions/<SESSION>/plan.json` and the cards to print. Keep `plan.json`: it is
181
+ the reference the labels are checked against.
182
+ 2. **Shoot** the session as described under [Procedure](#procedure).
183
+ 3. **Label:** copy the original files (not via a messenger) to `sessions/<SESSION>/` and run
184
+ `tools/sort_photos.py sessions/<SESSION> --out labels/<SESSION>`.
185
+ 4. **Review** every group in `labels/<SESSION>/review.html` and mark the checked rows
186
+ `review=done` in `labels.csv`.
187
+ 5. **Hand in** `plan.json`, `labels/<SESSION>/` and the original photos to the maintainers
188
+ (the photos are too large for git). They run the export and upload the session here.
189
 
190
  ## License
191
 
data/{train/S04/PXL_20261015_110711637.jpg → test/S04/S04-000_pixel-9_PXL_20261015_110711637.jpg} RENAMED
File without changes
data/{train/S04/PXL_20261015_110731025.jpg → test/S04/S04-000_pixel-9_PXL_20261015_110731025.jpg} RENAMED
File without changes
data/{train/S04/PXL_20261015_110803598.jpg → test/S04/S04-000_pixel-9_PXL_20261015_110803598.jpg} RENAMED
File without changes
data/{train/S04/PXL_20261015_110806661.jpg → test/S04/S04-000_pixel-9_PXL_20261015_110806661.jpg} RENAMED
File without changes
data/{train/S04/PXL_20261015_110814851.jpg → test/S04/S04-000_pixel-9_PXL_20261015_110814851.jpg} RENAMED
File without changes
data/{train/S04/PXL_20261015_110818536.jpg → test/S04/S04-000_pixel-9_PXL_20261015_110818536.jpg} RENAMED
File without changes
data/{train/S04/PXL_20261015_111538770.jpg → test/S04/S04-001_pixel-9_PXL_20261015_111538770.jpg} RENAMED
File without changes
data/{train/S04/PXL_20261015_111540653.jpg → test/S04/S04-001_pixel-9_PXL_20261015_111540653.jpg} RENAMED
File without changes
data/{train/S04/PXL_20261015_112342937.jpg → test/S04/S04-002_pixel-9_PXL_20261015_112342937.jpg} RENAMED
File without changes
data/{train/S04/PXL_20261015_112344737.jpg → test/S04/S04-002_pixel-9_PXL_20261015_112344737.jpg} RENAMED
File without changes
data/{train/S04/PXL_20261015_112540269.jpg → test/S04/S04-003_pixel-9_PXL_20261015_112540269.jpg} RENAMED
File without changes
data/{train/S04/PXL_20261015_112541878.jpg → test/S04/S04-003_pixel-9_PXL_20261015_112541878.jpg} RENAMED
File without changes
data/{train/S04/PXL_20261015_113401048.jpg → test/S04/S04-004_pixel-9_PXL_20261015_113401048.jpg} RENAMED
File without changes
data/{train/S04/PXL_20261015_113404084.jpg → test/S04/S04-004_pixel-9_PXL_20261015_113404084.jpg} RENAMED
File without changes
data/{train/S04/PXL_20261015_113811422.jpg → test/S04/S04-005_pixel-9_PXL_20261015_113811422.jpg} RENAMED
File without changes
data/{train/S04/PXL_20261015_113814728.jpg → test/S04/S04-005_pixel-9_PXL_20261015_113814728.jpg} RENAMED
File without changes
data/{train/S04/PXL_20261015_113839131.jpg → test/S04/S04-005_pixel-9_PXL_20261015_113839131.jpg} RENAMED
File without changes
data/{train/S04/PXL_20261015_113843550.jpg → test/S04/S04-005_pixel-9_PXL_20261015_113843550.jpg} RENAMED
File without changes
data/{train/S04/PXL_20261015_114129212.jpg → test/S04/S04-006_pixel-9_PXL_20261015_114129212.jpg} RENAMED
File without changes
data/{train/S04/PXL_20261015_114133490.jpg → test/S04/S04-006_pixel-9_PXL_20261015_114133490.jpg} RENAMED
File without changes
data/{train/S04/PXL_20261015_114206875.jpg → test/S04/S04-006_pixel-9_PXL_20261015_114206875.jpg} RENAMED
File without changes
data/{train/S04/PXL_20261015_114209966.jpg → test/S04/S04-006_pixel-9_PXL_20261015_114209966.jpg} RENAMED
File without changes
data/{train/S04/PXL_20261015_114332361.jpg → test/S04/S04-007_pixel-9_PXL_20261015_114332361.jpg} RENAMED
File without changes
data/{train/S04/PXL_20261015_114334983.jpg → test/S04/S04-007_pixel-9_PXL_20261015_114334983.jpg} RENAMED
File without changes
data/{train/S04/PXL_20261015_114337993.jpg → test/S04/S04-007_pixel-9_PXL_20261015_114337993.jpg} RENAMED
File without changes
data/{train/S04/PXL_20261015_114341113.jpg → test/S04/S04-007_pixel-9_PXL_20261015_114341113.jpg} RENAMED
File without changes
data/{train/S04/PXL_20261015_114834119.jpg → test/S04/S04-008-2_pixel-9_PXL_20261015_114834119.jpg} RENAMED
File without changes
data/{train/S04/PXL_20261015_114835837.jpg → test/S04/S04-008-2_pixel-9_PXL_20261015_114835837.jpg} RENAMED
File without changes
data/{train/S04/PXL_20261015_115411381.jpg → test/S04/S04-009_pixel-9_PXL_20261015_115411381.jpg} RENAMED
File without changes
data/{train/S04/PXL_20261015_115412767.jpg → test/S04/S04-009_pixel-9_PXL_20261015_115412767.jpg} RENAMED
File without changes
data/{train/S04/PXL_20261015_115529047.jpg → test/S04/S04-010_pixel-9_PXL_20261015_115529047.jpg} RENAMED
File without changes
data/{train/S04/PXL_20261015_115530745.jpg → test/S04/S04-010_pixel-9_PXL_20261015_115530745.jpg} RENAMED
File without changes
data/{train/S04/PXL_20261015_115725809.jpg → test/S04/S04-011_pixel-9_PXL_20261015_115725809.jpg} RENAMED
File without changes
data/{train/S04/PXL_20261015_115728484.jpg → test/S04/S04-011_pixel-9_PXL_20261015_115728484.jpg} RENAMED
File without changes
data/{train/S04/PXL_20261015_120120718.jpg → test/S04/S04-012_pixel-9_PXL_20261015_120120718.jpg} RENAMED
File without changes
data/{train/S04/PXL_20261015_120123050.jpg → test/S04/S04-012_pixel-9_PXL_20261015_120123050.jpg} RENAMED
File without changes
data/{train/S04/PXL_20261015_120525139.jpg → test/S04/S04-013_pixel-9_PXL_20261015_120525139.jpg} RENAMED
File without changes
data/{train/S04/PXL_20261015_120530357.jpg → test/S04/S04-013_pixel-9_PXL_20261015_120530357.jpg} RENAMED
File without changes
data/{train/S04/PXL_20261015_120919656.NIGHT.jpg → test/S04/S04-014_pixel-9_PXL_20261015_120919656.NIGHT.jpg} RENAMED
File without changes
data/{train/S04/PXL_20261015_120924394.NIGHT.jpg → test/S04/S04-014_pixel-9_PXL_20261015_120924394.NIGHT.jpg} RENAMED
File without changes
data/{train/S04/PXL_20261015_121033145.NIGHT.jpg → test/S04/S04-015_pixel-9_PXL_20261015_121033145.NIGHT.jpg} RENAMED
File without changes
data/{train/S04/PXL_20261015_121036167.NIGHT.jpg → test/S04/S04-015_pixel-9_PXL_20261015_121036167.NIGHT.jpg} RENAMED
File without changes
data/{train/S04/PXL_20261015_121452221.jpg → test/S04/S04-016_pixel-9_PXL_20261015_121452221.jpg} RENAMED
File without changes
data/{train/S04/PXL_20261015_121455035.jpg → test/S04/S04-016_pixel-9_PXL_20261015_121455035.jpg} RENAMED
File without changes
data/{train/S04/PXL_20261015_121708304.jpg → test/S04/S04-017_pixel-9_PXL_20261015_121708304.jpg} RENAMED
File without changes
data/{train/S04/PXL_20261015_121711067.jpg → test/S04/S04-017_pixel-9_PXL_20261015_121711067.jpg} RENAMED
File without changes
data/{train/S04/PXL_20261015_121952363.jpg → test/S04/S04-018_pixel-9_PXL_20261015_121952363.jpg} RENAMED
File without changes
data/{train/S04/PXL_20261015_121953972.jpg → test/S04/S04-018_pixel-9_PXL_20261015_121953972.jpg} RENAMED
File without changes
data/{train/S04/PXL_20261015_122202387.jpg → test/S04/S04-019_pixel-9_PXL_20261015_122202387.jpg} RENAMED
File without changes