Upload folder using huggingface_hub
Browse files- README.md +16 -16
- validation/generate_index.py +7 -7
- validation/validation_grid.md +16 -16
README.md
CHANGED
|
@@ -290,22 +290,22 @@ Below is a compact thumbnail-based preview of a subset of the published validati
|
|
| 290 |
|
| 291 |
# Validation set — visual grid
|
| 292 |
|
| 293 |
-
A compact birds-eye preview. Columns:
|
| 294 |
-
|
| 295 |
-
|
|
| 296 |
-
|
| 297 |
-
|
|
| 298 |
-
|
|
| 299 |
-
|
|
| 300 |
-
|
|
| 301 |
-
|
|
| 302 |
-
|
|
| 303 |
-
|
|
| 304 |
-
|
|
| 305 |
-
|
|
| 306 |
-
|
|
| 307 |
-
|
|
| 308 |
-
|
|
| 309 |
|
| 310 |
<!-- END VALIDATION GRID -->
|
| 311 |
|
|
|
|
| 290 |
|
| 291 |
# Validation set — visual grid
|
| 292 |
|
| 293 |
+
A compact birds-eye preview. Columns: Modern | Painterly | Retro | Moe | Flat | Dark
|
| 294 |
+
|
| 295 |
+
| Modern | Painterly | Retro | Moe | Flat | Dark |
|
| 296 |
+
|---|---|---|---|---|---|
|
| 297 |
+
| | | <a href="validation/images/retro/retro_02.png"><img src="validation/thumbs/retro_02.png" alt="retro_02.png" style="width:150px;height:auto;margin:2px;"/></a> | | | |
|
| 298 |
+
| | | | <a href="validation/images/moe/moe_04.png"><img src="validation/thumbs/moe_04.png" alt="moe_04.png" style="width:150px;height:auto;margin:2px;"/></a> | | |
|
| 299 |
+
| | | | <a href="validation/images/moe/moe_07.png"><img src="validation/thumbs/moe_07.png" alt="moe_07.png" style="width:150px;height:auto;margin:2px;"/></a> | | |
|
| 300 |
+
| | <a href="validation/images/painterly/painterly_07.png"><img src="validation/thumbs/painterly_07.png" alt="painterly_07.png" style="width:150px;height:auto;margin:2px;"/></a> | | | | |
|
| 301 |
+
| | | | | <a href="validation/images/flat/flat_10.png"><img src="validation/thumbs/flat_10.png" alt="flat_10.png" style="width:150px;height:auto;margin:2px;"/></a> | |
|
| 302 |
+
| | <a href="validation/images/painterly/painterly_08.png"><img src="validation/thumbs/painterly_08.png" alt="painterly_08.png" style="width:150px;height:auto;margin:2px;"/></a> | | | | |
|
| 303 |
+
| | | <a href="validation/images/retro/retro_10.png"><img src="validation/thumbs/retro_10.png" alt="retro_10.png" style="width:150px;height:auto;margin:2px;"/></a> | | | |
|
| 304 |
+
| | | | | | <a href="validation/images/dark/dark_11.png"><img src="validation/thumbs/dark_11.png" alt="dark_11.png" style="width:150px;height:auto;margin:2px;"/></a> |
|
| 305 |
+
| | | | | | <a href="validation/images/dark/dark_15.png"><img src="validation/thumbs/dark_15.png" alt="dark_15.png" style="width:150px;height:auto;margin:2px;"/></a> |
|
| 306 |
+
| <a href="validation/images/modern/modern_16.png"><img src="validation/thumbs/modern_16.png" alt="modern_16.png" style="width:150px;height:auto;margin:2px;"/></a> | | | | | |
|
| 307 |
+
| | | | | <a href="validation/images/flat/flat_19.png"><img src="validation/thumbs/flat_19.png" alt="flat_19.png" style="width:150px;height:auto;margin:2px;"/></a> | |
|
| 308 |
+
| <a href="validation/images/modern/modern_20.png"><img src="validation/thumbs/modern_20.png" alt="modern_20.png" style="width:150px;height:auto;margin:2px;"/></a> | | | | | |
|
| 309 |
|
| 310 |
<!-- END VALIDATION GRID -->
|
| 311 |
|
validation/generate_index.py
CHANGED
|
@@ -10,9 +10,9 @@ import argparse
|
|
| 10 |
STYLES = ['modern', 'painterly', 'retro', 'moe', 'flat', 'dark']
|
| 11 |
|
| 12 |
MD_HEADER = """
|
| 13 |
-
# Validation set
|
| 14 |
|
| 15 |
-
A compact birds-eye preview. Columns:
|
| 16 |
|
| 17 |
"""
|
| 18 |
|
|
@@ -33,9 +33,9 @@ def build_scene_map(annotations):
|
|
| 33 |
|
| 34 |
def render_grid(scene_map, images_dir, thumbs_dir=None):
|
| 35 |
lines = [MD_HEADER]
|
| 36 |
-
# header row with style labels
|
| 37 |
-
header = '|
|
| 38 |
-
sep = '
|
| 39 |
lines.append(header)
|
| 40 |
lines.append(sep)
|
| 41 |
|
|
@@ -65,8 +65,8 @@ def render_grid(scene_map, images_dir, thumbs_dir=None):
|
|
| 65 |
cells.append(CELL_HTML.format(img=thumb_path, full=full_path, alt=fn))
|
| 66 |
else:
|
| 67 |
cells.append('')
|
| 68 |
-
|
| 69 |
-
lines.append('| ' +
|
| 70 |
|
| 71 |
return '\n'.join(lines)
|
| 72 |
|
|
|
|
| 10 |
STYLES = ['modern', 'painterly', 'retro', 'moe', 'flat', 'dark']
|
| 11 |
|
| 12 |
MD_HEADER = """
|
| 13 |
+
# Validation set visual grid
|
| 14 |
|
| 15 |
+
A compact birds-eye preview. Columns: Modern | Painterly | Retro | Moe | Flat | Dark
|
| 16 |
|
| 17 |
"""
|
| 18 |
|
|
|
|
| 33 |
|
| 34 |
def render_grid(scene_map, images_dir, thumbs_dir=None):
|
| 35 |
lines = [MD_HEADER]
|
| 36 |
+
# header row with style labels (no scene column)
|
| 37 |
+
header = '| ' + ' | '.join(s.capitalize() for s in STYLES) + ' |'
|
| 38 |
+
sep = '|' + ('---|' * len(STYLES))
|
| 39 |
lines.append(header)
|
| 40 |
lines.append(sep)
|
| 41 |
|
|
|
|
| 65 |
cells.append(CELL_HTML.format(img=thumb_path, full=full_path, alt=fn))
|
| 66 |
else:
|
| 67 |
cells.append('')
|
| 68 |
+
# render only the style cells (no scene name column)
|
| 69 |
+
lines.append('| ' + ' | '.join(cells) + ' |')
|
| 70 |
|
| 71 |
return '\n'.join(lines)
|
| 72 |
|
validation/validation_grid.md
CHANGED
|
@@ -1,20 +1,20 @@
|
|
| 1 |
|
| 2 |
-
# Validation set
|
| 3 |
|
| 4 |
-
A compact birds-eye preview. Columns:
|
| 5 |
|
| 6 |
|
| 7 |
-
|
|
| 8 |
-
|
| 9 |
-
|
|
| 10 |
-
|
|
| 11 |
-
|
|
| 12 |
-
|
|
| 13 |
-
|
|
| 14 |
-
|
|
| 15 |
-
|
|
| 16 |
-
|
|
| 17 |
-
|
|
| 18 |
-
|
|
| 19 |
-
|
|
| 20 |
-
|
|
|
|
|
| 1 |
|
| 2 |
+
# Validation set visual grid
|
| 3 |
|
| 4 |
+
A compact birds-eye preview. Columns: Modern | Painterly | Retro | Moe | Flat | Dark
|
| 5 |
|
| 6 |
|
| 7 |
+
| Modern | Painterly | Retro | Moe | Flat | Dark |
|
| 8 |
+
|---|---|---|---|---|---|
|
| 9 |
+
| | | <a href="validation/images/retro/retro_02.png"><img src="validation/thumbs/retro_02.png" alt="retro_02.png" style="width:150px;height:auto;margin:2px;"/></a> | | | |
|
| 10 |
+
| | | | <a href="validation/images/moe/moe_04.png"><img src="validation/thumbs/moe_04.png" alt="moe_04.png" style="width:150px;height:auto;margin:2px;"/></a> | | |
|
| 11 |
+
| | | | <a href="validation/images/moe/moe_07.png"><img src="validation/thumbs/moe_07.png" alt="moe_07.png" style="width:150px;height:auto;margin:2px;"/></a> | | |
|
| 12 |
+
| | <a href="validation/images/painterly/painterly_07.png"><img src="validation/thumbs/painterly_07.png" alt="painterly_07.png" style="width:150px;height:auto;margin:2px;"/></a> | | | | |
|
| 13 |
+
| | | | | <a href="validation/images/flat/flat_10.png"><img src="validation/thumbs/flat_10.png" alt="flat_10.png" style="width:150px;height:auto;margin:2px;"/></a> | |
|
| 14 |
+
| | <a href="validation/images/painterly/painterly_08.png"><img src="validation/thumbs/painterly_08.png" alt="painterly_08.png" style="width:150px;height:auto;margin:2px;"/></a> | | | | |
|
| 15 |
+
| | | <a href="validation/images/retro/retro_10.png"><img src="validation/thumbs/retro_10.png" alt="retro_10.png" style="width:150px;height:auto;margin:2px;"/></a> | | | |
|
| 16 |
+
| | | | | | <a href="validation/images/dark/dark_11.png"><img src="validation/thumbs/dark_11.png" alt="dark_11.png" style="width:150px;height:auto;margin:2px;"/></a> |
|
| 17 |
+
| | | | | | <a href="validation/images/dark/dark_15.png"><img src="validation/thumbs/dark_15.png" alt="dark_15.png" style="width:150px;height:auto;margin:2px;"/></a> |
|
| 18 |
+
| <a href="validation/images/modern/modern_16.png"><img src="validation/thumbs/modern_16.png" alt="modern_16.png" style="width:150px;height:auto;margin:2px;"/></a> | | | | | |
|
| 19 |
+
| | | | | <a href="validation/images/flat/flat_19.png"><img src="validation/thumbs/flat_19.png" alt="flat_19.png" style="width:150px;height:auto;margin:2px;"/></a> | |
|
| 20 |
+
| <a href="validation/images/modern/modern_20.png"><img src="validation/thumbs/modern_20.png" alt="modern_20.png" style="width:150px;height:auto;margin:2px;"/></a> | | | | | |
|