Datasets:
The dataset viewer is not available for this split.
Error code: StreamingRowsError
Exception: CastError
Message: Couldn't cast
image: struct<bytes: binary, path: string>
child 0, bytes: binary
child 1, path: string
time: string
minutes: double
hour_hand_deg: double
minute_hand_deg: double
dial_cx: double
dial_cy: double
dial_r: double
dial_up_deg: double
roll_deg: double
numerals: string
lighting: string
off_axis_deg: double
fill: double
index: int64
seed: int64
-- schema metadata --
huggingface: '{"info": {"features": {"image": {"_type": "Image"}, "time":' + 766
to
{'image': Image(mode=None, decode=True), 'time': Value('string'), 'minutes': Value('float64'), 'hour_hand_deg': Value('float64'), 'minute_hand_deg': Value('float64'), 'index': Value('int64'), 'seed': Value('int64')}
because column names don't match
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/utils.py", line 147, in get_rows_or_raise
return get_rows(
dataset=dataset,
...<4 lines>...
column_names=column_names,
)
File "/src/libs/libcommon/src/libcommon/utils.py", line 272, in decorator
return func(*args, **kwargs)
File "/src/services/worker/src/worker/utils.py", line 127, in get_rows
rows_plus_one = list(itertools.islice(safe_iter(ds, dataset=dataset), rows_max_number + 1))
File "/src/services/worker/src/worker/utils.py", line 483, in safe_iter
yield from ds.decode(False) if ds.features else ds
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2840, in __iter__
for key, example in ex_iterable:
^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2373, in __iter__
for key, pa_table in self._iter_arrow():
~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2398, in _iter_arrow
for key, pa_table in self.ex_iterable._iter_arrow():
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 536, in _iter_arrow
for key, pa_table in iterator:
^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 419, in _iter_arrow
for key, pa_table in self.generate_tables_fn(**gen_kwags):
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/parquet/parquet.py", line 220, in _generate_tables
yield Key(file_idx, batch_idx), self._cast_table(pa_table)
~~~~~~~~~~~~~~~~^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/parquet/parquet.py", line 156, in _cast_table
pa_table = table_cast(pa_table, self.info.features.arrow_schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2378, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2306, in cast_table_to_schema
raise CastError(
...<3 lines>...
)
datasets.table.CastError: Couldn't cast
image: struct<bytes: binary, path: string>
child 0, bytes: binary
child 1, path: string
time: string
minutes: double
hour_hand_deg: double
minute_hand_deg: double
dial_cx: double
dial_cy: double
dial_r: double
dial_up_deg: double
roll_deg: double
numerals: string
lighting: string
off_axis_deg: double
fill: double
index: int64
seed: int64
-- schema metadata --
huggingface: '{"info": {"features": {"image": {"_type": "Image"}, "time":' + 766
to
{'image': Image(mode=None, decode=True), 'time': Value('string'), 'minutes': Value('float64'), 'hour_hand_deg': Value('float64'), 'minute_hand_deg': Value('float64'), 'index': Value('int64'), 'seed': Value('int64')}
because column names don't matchNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
clockface-synth
Rendered analog clocks with exact times. Training data for clockface, a small model that reads a clock face and returns the time.
The label is exact by construction. Blender is told where to put the hands, so the time is known to arbitrary precision and there is no annotation step and no annotation error. That property is the reason this project is tractable.
These are renders, not photographs. A score measured on this data is training telemetry, never a result. The model card reports on real photographs only.
Current release: v2 (11,998 images)
| Images | 11,998 renders, 384x384 JPEG |
| Engine | Blender 5.2 EEVEE, 2 samples |
| Seed | 22 |
| Camera roll | +/-25 degrees, clock upright |
| Off-axis view | 0-45 degrees |
| Dial size | 16%-43% of image width (p10-p90) |
| Numerals | arabic 5539, ticks 3656, roman 1861, bare 944 |
Each row carries the time, both hand angles, and the dial's projected geometry
(dial_cx, dial_cy, dial_r, dial_up_deg) so a model can be trained to
locate the face before reading it.
Randomised over numeral style and font, hand shape, colours, case material, glass, four lighting regimes, camera angle, depth of field, glare and motion blur.
v1 is on the v1 branch, and it is defective
The original 10,000-image release had a geometry bug. Aiming the camera aligns its up-vector with world +Y, so as the camera orbited the dial spun in the frame: 12 o'clock landed at 147, 319, 232, 233, 295 and 242 degrees across six samples that were all generated with the same nominal roll setting.
Under an arbitrary in-image rotation, a tick-only or bare dial has no cue for where 12 is, so its label stops being a function of the pixels. That is 38% of v1 carrying labels that cannot be learned. A model trained on it does not converge.
v1 is kept on its own branch for reproducibility. Do not train on it.
load_dataset("lyte-codes/clockface-synth-dataset-10k") # v2
load_dataset("lyte-codes/clockface-synth-dataset-10k", revision="v1") # defective
(The repository name says 10k; v2 holds 11,998.)
Fonts
Numerals are rendered with 89 system fonts, of which 86 are Apple/Monotype proprietary faces (Arial, Apple Chancery, AppleGothic and similar) and 3 are open-licensed. What is distributed here is rendered pixels, not font software, and typeface designs are not copyrightable in the US -- the same basis on which any PDF is distributed. Stated explicitly so anyone building on it can make their own call.
Reproducing
Fully reproducible from the generator and the seed; the images are a convenience, not the source of truth.
python3 clockface-synth/generate_parallel.py --n 12000 --workers 3 \
--out data-v2 --res 384 --samples 2 --seed 22 --synth-version 2 \
--max-roll 25 --fill-min 0.30 --fill-max 0.90 --max-off-axis 45
Two of the 12,000 renders had an orientation solve that did not converge (residual > 0.1 degrees) and were dropped, leaving 11,998.
Licence
CC BY 4.0. The generator is Apache 2.0.
- Downloads last month
- 39