Add background images for list_colours and list_shapes
#4
by aggr8 - opened
- README.md +5 -2
- background_image/bg_1.png +3 -0
- background_image/bg_10.png +3 -0
- background_image/bg_2.png +3 -0
- background_image/bg_3.png +3 -0
- background_image/bg_4.png +3 -0
- background_image/bg_5.png +3 -0
- background_image/bg_6.png +3 -0
- background_image/bg_7.png +3 -0
- background_image/bg_8.png +3 -0
- background_image/bg_9.png +3 -0
README.md
CHANGED
|
@@ -42,6 +42,8 @@ Each task is a self-contained directory:
|
|
| 42 |
|
| 43 |
`colours_present`, `layered_colours` and `list_colours` also contain `swatches.png`, the colour reference strip their generator appends below each image.
|
| 44 |
|
|
|
|
|
|
|
| 45 |
### Prompt construction
|
| 46 |
|
| 47 |
The three prompt files are fragments meant to be concatenated into a single instruction, e.g. for `sort_lines`:
|
|
@@ -217,14 +219,15 @@ python script.py --num_images 10 --num_sizes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
|
|
| 217 |
- **Files the scripts read from the working directory:**
|
| 218 |
- `swatches.png`, for `colours_present`, `layered_colours` and `list_colours`: copy it from the task directory.
|
| 219 |
- An Arial font file, named `arial.ttf` (`grid_path`, `locate_circles_colour`, `locate_circles_shape`) or `ARIAL.ttf` (`sort_lines`). It is not included in this repository. If Pillow finds it neither in the working directory nor in the system font folders, `grid_path` and `sort_lines` stop with an error, and the two `locate_circles` tasks fall back to Pillow's much smaller default font.
|
| 220 |
-
- Background images
|
| 221 |
|
| 222 |
## Changelog
|
| 223 |
|
|
|
|
| 224 |
- **2026-09-11 — Generation scripts added.** Every task directory now includes its `script.py`, plus `swatches.png` where the generator needs it. See "Regenerating the data".
|
| 225 |
|
| 226 |
- **2026-09-11 — `colours_present` ground truth corrected.** In earlier versions of `colours_present/data.json`, the 20 yes/no answers were listed in a different colour order from the one given in `rules.txt`, so 183 of the 200 records had wrong labels. Scores on this task computed before this date are not valid. `colours_present/eval.py` now takes the gold labels from `data.json` (matched on `id`) instead of from the answer file, so re-running it on existing answer files gives corrected scores without repeating inference. It prints a note when an answer file still carries the old labels, and accepts `--gold` to point at a different `data.json`. The task is single-image; the table and loader above are updated accordingly.
|
| 227 |
|
| 228 |
## Licence
|
| 229 |
|
| 230 |
-
Released under CC BY 4.0.
|
|
|
|
| 42 |
|
| 43 |
`colours_present`, `layered_colours` and `list_colours` also contain `swatches.png`, the colour reference strip their generator appends below each image.
|
| 44 |
|
| 45 |
+
Outside the task directories, `background_image/` holds the ten photographs that the `list_colours` and `list_shapes` generators draw over.
|
| 46 |
+
|
| 47 |
### Prompt construction
|
| 48 |
|
| 49 |
The three prompt files are fragments meant to be concatenated into a single instruction, e.g. for `sort_lines`:
|
|
|
|
| 219 |
- **Files the scripts read from the working directory:**
|
| 220 |
- `swatches.png`, for `colours_present`, `layered_colours` and `list_colours`: copy it from the task directory.
|
| 221 |
- An Arial font file, named `arial.ttf` (`grid_path`, `locate_circles_colour`, `locate_circles_shape`) or `ARIAL.ttf` (`sort_lines`). It is not included in this repository. If Pillow finds it neither in the working directory nor in the system font folders, `grid_path` and `sort_lines` stop with an error, and the two `locate_circles` tasks fall back to Pillow's much smaller default font.
|
| 222 |
+
- Background images, for `list_colours` and `list_shapes`. The ten photographs these two generators draw over are in `background_image/` at the repository root; copy the whole folder next to the script. They are a stand-in set: the released images of these two tasks were rendered over different photographs.
|
| 223 |
|
| 224 |
## Changelog
|
| 225 |
|
| 226 |
+
- **2026-10-01 — Background images added.** `background_image/` at the repository root supplies the photographs `list_colours` and `list_shapes` draw over, so both generators can now be run from this repository alone.
|
| 227 |
- **2026-09-11 — Generation scripts added.** Every task directory now includes its `script.py`, plus `swatches.png` where the generator needs it. See "Regenerating the data".
|
| 228 |
|
| 229 |
- **2026-09-11 — `colours_present` ground truth corrected.** In earlier versions of `colours_present/data.json`, the 20 yes/no answers were listed in a different colour order from the one given in `rules.txt`, so 183 of the 200 records had wrong labels. Scores on this task computed before this date are not valid. `colours_present/eval.py` now takes the gold labels from `data.json` (matched on `id`) instead of from the answer file, so re-running it on existing answer files gives corrected scores without repeating inference. It prints a note when an answer file still carries the old labels, and accepts `--gold` to point at a different `data.json`. The task is single-image; the table and loader above are updated accordingly.
|
| 230 |
|
| 231 |
## Licence
|
| 232 |
|
| 233 |
+
Released under CC BY 4.0.
|
background_image/bg_1.png
ADDED
|
Git LFS Details
|
background_image/bg_10.png
ADDED
|
Git LFS Details
|
background_image/bg_2.png
ADDED
|
Git LFS Details
|
background_image/bg_3.png
ADDED
|
Git LFS Details
|
background_image/bg_4.png
ADDED
|
Git LFS Details
|
background_image/bg_5.png
ADDED
|
Git LFS Details
|
background_image/bg_6.png
ADDED
|
Git LFS Details
|
background_image/bg_7.png
ADDED
|
Git LFS Details
|
background_image/bg_8.png
ADDED
|
Git LFS Details
|
background_image/bg_9.png
ADDED
|
Git LFS Details
|