Datasets:
The dataset viewer is not available for this split.
Error code: StreamingRowsError
Exception: CastError
Message: Couldn't cast
video_id: string
title: string
duration_s: double
before_t: int64
after_t: int64
identity_distance: double
before_face_w: int64
before_det: double
after_face_w: int64
after_det: double
ts: timestamp[s]
detail: string
reason: string
to
{'video_id': Value('string'), 'reason': Value('string'), 'detail': Value('string'), 'ts': Value('timestamp[s]')}
because column names don't match
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/utils.py", line 150, 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 274, in decorator
return func(*args, **kwargs)
File "/src/services/worker/src/worker/utils.py", line 130, 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 579, 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 3074, in __iter__
for key, example in ex_iterable:
^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2578, in __iter__
for key, pa_table in self._iter_arrow():
~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2603, 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 577, in _iter_arrow
for key, pa_table in iterator:
^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 459, 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/json/json.py", line 373, in _generate_tables
self._cast_table(pa_table, json_field_paths=json_field_paths),
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, 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 2394, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2322, in cast_table_to_schema
raise CastError(
...<3 lines>...
)
datasets.table.CastError: Couldn't cast
video_id: string
title: string
duration_s: double
before_t: int64
after_t: int64
identity_distance: double
before_face_w: int64
before_det: double
after_face_w: int64
after_det: double
ts: timestamp[s]
detail: string
reason: string
to
{'video_id': Value('string'), 'reason': Value('string'), 'detail': Value('string'), 'ts': Value('timestamp[s]')}
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.
Makeup Pairs — YouTube Makeup Before/After Metadata Dataset
A recipe-style dataset of YouTube makeup-tutorial before/after face pairs, following the precedent of YMU (YouTube Makeup Dataset, Dantcheva/Chen/Ross, 2012).
This dataset contains NO face images and NO videos. It contains only:
data/pairs.jsonl— 23 verified pairs: YouTube video ID, before/after timestamps (seconds), identity-verification distance, face widths and detection scores.data/failures.jsonl— 15 rejected candidates with reasons (mostly identity distance 0.506–0.704; preserved for threshold research).videos.txt— 59 candidate tutorial video IDs (300–1500 s, deduped).pipeline.py— the open-source extraction pipeline (MIT) that rebuilds the pairs locally.LICENSE— MIT for the code; metadata CC BY 4.0.
Why metadata only?
Tutorial creators hold copyright in their videos, and faces are biometric data. Like YMU and Kinetics, this release shares the recipe — video IDs + timestamps + verification code — so anyone can rebuild the pairs from the original public videos without redistributing anyone's face.
How pairs were verified
Per video: frames every 8 s → InsightFace buffalo_s face scan → identity clustering → "before" = earliest clean face after the intro-glam-shot window (8–40% of duration), "after" = best face in the last 12% → buffalo_l verification, requiring identity distance < 0.5 (distance = 1 − cosine similarity).
Verified pairs: identity distance min 0.195, median 0.382, max 0.489. Note the 0.5 cutoff slices a continuum — rejected candidates start at 0.506, and several in the 0.5–0.65 band are plausibly the same person under heavy makeup.
Rebuild
Requires Python 3.11+, yt-dlp, InsightFace, ffmpeg. See the pipeline docstring for exact steps; the batch is resumable and skips completed video IDs.
Credits
This work stands on other people's tools, datasets, and videos:
- YMU — YouTube Makeup Dataset (Antitza Dantcheva, Hu Han, Shiguang Shan, Xilin Chen, Arun Ross; 2012–2013) — the precedent for building makeup before/after pairs from YouTube tutorials and sharing them as a recipe. https://www-sop.inria.fr/members/Antitza.Dantcheva/makeup-datasets.html
- FFHQ-Makeup (CyberAgent) — paired bare/makeup faces used in the companion embedding-shift test. https://huggingface.co/datasets/cyberagent/FFHQ-Makeup
- LayerBeauty / IrisMix (ming0531) — layered synthetic makeup dataset used locally for comparison testing (not redistributed here). https://huggingface.co/datasets/ming0531/LayerBeauty
- InsightFace (deepinsight) — buffalo_s/buffalo_l detection and ArcFace embeddings used for pair verification. https://github.com/deepinsight/insightface
- yt-dlp — video metadata and download tooling. https://github.com/yt-dlp/yt-dlp
- The tutorial creators — the 23 verified pairs come from their public YouTube makeup tutorials; each record in
pairs.jsonlkeeps the original video ID and title so credit stays with the source.
Related
- Archive.org mirror: https://archive.org/details/makeup-pairs-youtube-makeup-metadata
- Finding from the companion experiments: synthetic makeup (FFHQ-Makeup) moves face embeddings ~0.72 on average, while real tutorial makeup here measures a median of 0.382.
Built December 2026. Metadata CC BY 4.0; code MIT.
- Downloads last month
- 16