AI Pre-Production Toolkit
Collection
Open-source tools for AI film pre-production. By STORYLINER. • 3 items • Updated
Error code: DatasetGenerationCastError
Exception: DatasetGenerationCastError
Message: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 2 new columns ({'abbreviation', 'name'}) and 3 missing columns ({'ratio', 'value', 'common_for'}).
This happened while the json dataset builder was generating data using
hf://datasets/Rattata/storyboard-shot-types-reference/camera_movements.json (at revision 56b53039f13e8a10b48f7835e55693f80a99682d), [/tmp/hf-datasets-cache/medium/datasets/71865517679643-config-parquet-and-info-Rattata-storyboard-shot-t-60bb0b99/hub/datasets--Rattata--storyboard-shot-types-reference/snapshots/56b53039f13e8a10b48f7835e55693f80a99682d/aspect_ratios.json (origin=hf://datasets/Rattata/storyboard-shot-types-reference@56b53039f13e8a10b48f7835e55693f80a99682d/aspect_ratios.json), /tmp/hf-datasets-cache/medium/datasets/71865517679643-config-parquet-and-info-Rattata-storyboard-shot-t-60bb0b99/hub/datasets--Rattata--storyboard-shot-types-reference/snapshots/56b53039f13e8a10b48f7835e55693f80a99682d/camera_movements.json (origin=hf://datasets/Rattata/storyboard-shot-types-reference@56b53039f13e8a10b48f7835e55693f80a99682d/camera_movements.json), /tmp/hf-datasets-cache/medium/datasets/71865517679643-config-parquet-and-info-Rattata-storyboard-shot-t-60bb0b99/hub/datasets--Rattata--storyboard-shot-types-reference/snapshots/56b53039f13e8a10b48f7835e55693f80a99682d/shot_types.json (origin=hf://datasets/Rattata/storyboard-shot-types-reference@56b53039f13e8a10b48f7835e55693f80a99682d/shot_types.json), /tmp/hf-datasets-cache/medium/datasets/71865517679643-config-parquet-and-info-Rattata-storyboard-shot-t-60bb0b99/hub/datasets--Rattata--storyboard-shot-types-reference/snapshots/56b53039f13e8a10b48f7835e55693f80a99682d/transitions.json (origin=hf://datasets/Rattata/storyboard-shot-types-reference@56b53039f13e8a10b48f7835e55693f80a99682d/transitions.json)], ['hf://datasets/Rattata/storyboard-shot-types-reference@56b53039f13e8a10b48f7835e55693f80a99682d/aspect_ratios.json', 'hf://datasets/Rattata/storyboard-shot-types-reference@56b53039f13e8a10b48f7835e55693f80a99682d/camera_movements.json', 'hf://datasets/Rattata/storyboard-shot-types-reference@56b53039f13e8a10b48f7835e55693f80a99682d/shot_types.json', 'hf://datasets/Rattata/storyboard-shot-types-reference@56b53039f13e8a10b48f7835e55693f80a99682d/transitions.json']
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1800, in _prepare_split_single
writer.write_table(table)
File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 765, in write_table
self._write_table(pa_table, writer_batch_size=writer_batch_size)
File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 773, in _write_table
pa_table = table_cast(pa_table, self._schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2321, in table_cast
return cast_table_to_schema(table, schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2249, in cast_table_to_schema
raise CastError(
datasets.table.CastError: Couldn't cast
abbreviation: string
name: string
description: string
to
{'ratio': Value('string'), 'value': Value('float64'), 'description': Value('string'), 'common_for': List(Value('string'))}
because column names don't match
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1347, in compute_config_parquet_and_info_response
parquet_operations = convert_to_parquet(builder)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 980, in convert_to_parquet
builder.download_and_prepare(
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 882, in download_and_prepare
self._download_and_prepare(
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 943, in _download_and_prepare
self._prepare_split(split_generator, **prepare_split_kwargs)
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1646, in _prepare_split
for job_id, done, content in self._prepare_split_single(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1802, in _prepare_split_single
raise DatasetGenerationCastError.from_cast_error(
datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 2 new columns ({'abbreviation', 'name'}) and 3 missing columns ({'ratio', 'value', 'common_for'}).
This happened while the json dataset builder was generating data using
hf://datasets/Rattata/storyboard-shot-types-reference/camera_movements.json (at revision 56b53039f13e8a10b48f7835e55693f80a99682d), [/tmp/hf-datasets-cache/medium/datasets/71865517679643-config-parquet-and-info-Rattata-storyboard-shot-t-60bb0b99/hub/datasets--Rattata--storyboard-shot-types-reference/snapshots/56b53039f13e8a10b48f7835e55693f80a99682d/aspect_ratios.json (origin=hf://datasets/Rattata/storyboard-shot-types-reference@56b53039f13e8a10b48f7835e55693f80a99682d/aspect_ratios.json), /tmp/hf-datasets-cache/medium/datasets/71865517679643-config-parquet-and-info-Rattata-storyboard-shot-t-60bb0b99/hub/datasets--Rattata--storyboard-shot-types-reference/snapshots/56b53039f13e8a10b48f7835e55693f80a99682d/camera_movements.json (origin=hf://datasets/Rattata/storyboard-shot-types-reference@56b53039f13e8a10b48f7835e55693f80a99682d/camera_movements.json), /tmp/hf-datasets-cache/medium/datasets/71865517679643-config-parquet-and-info-Rattata-storyboard-shot-t-60bb0b99/hub/datasets--Rattata--storyboard-shot-types-reference/snapshots/56b53039f13e8a10b48f7835e55693f80a99682d/shot_types.json (origin=hf://datasets/Rattata/storyboard-shot-types-reference@56b53039f13e8a10b48f7835e55693f80a99682d/shot_types.json), /tmp/hf-datasets-cache/medium/datasets/71865517679643-config-parquet-and-info-Rattata-storyboard-shot-t-60bb0b99/hub/datasets--Rattata--storyboard-shot-types-reference/snapshots/56b53039f13e8a10b48f7835e55693f80a99682d/transitions.json (origin=hf://datasets/Rattata/storyboard-shot-types-reference@56b53039f13e8a10b48f7835e55693f80a99682d/transitions.json)], ['hf://datasets/Rattata/storyboard-shot-types-reference@56b53039f13e8a10b48f7835e55693f80a99682d/aspect_ratios.json', 'hf://datasets/Rattata/storyboard-shot-types-reference@56b53039f13e8a10b48f7835e55693f80a99682d/camera_movements.json', 'hf://datasets/Rattata/storyboard-shot-types-reference@56b53039f13e8a10b48f7835e55693f80a99682d/shot_types.json', 'hf://datasets/Rattata/storyboard-shot-types-reference@56b53039f13e8a10b48f7835e55693f80a99682d/transitions.json']
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
ratio string | value float64 | description string | common_for list |
|---|---|---|---|
16:9 | 1.778 | Modern productions, HD/4K broadcast and streaming | [
"TV",
"online video",
"most films post-2000"
] |
2.39:1 | 2.39 | Anamorphic widescreen | [
"feature films",
"epic scope"
] |
1.85:1 | 1.85 | Standard widescreen theatrical | [
"dramatic features",
"indie cinema"
] |
9:16 | 0.563 | Vertical / mobile-first | [
"TikTok",
"Instagram Reels",
"YouTube Shorts",
"Stories"
] |
4:3 | 1.333 | Legacy academy ratio | [
"pre-1953 films",
"stylized retro projects"
] |
1:1 | 1 | Square | [
"Instagram feed",
"stylized choices"
] |
null | null | Camera moves toward subject (dolly or zoom) | null |
null | null | Camera moves away from subject | null |
null | null | Rotate camera horizontally on its axis | null |
null | null | Rotate camera vertically on its axis | null |
null | null | Camera body moves on tracks | null |
null | null | Vertical movement via crane or jib | null |
null | null | Intentional unsteadiness, operator-carried | null |
null | null | Locked-off tripod, no movement | null |
null | null | null | null |
null | null | null | null |
null | null | null | null |
null | null | null | null |
null | null | null | null |
null | null | null | null |
null | null | null | null |
null | null | Hard instant transition (default) | null |
null | null | Soft cross-fade between shots | null |
null | null | From black to image, scene start | null |
null | null | From image to black, scene end | null |
null | null | Specific transition style; direction matters | null |
null | null | Cut between shots sharing composition or motion | null |
A structured reference dataset of storyboard shot types, camera movements, transition marks, and annotation conventions used in film and ad pre-production.
This dataset is useful for:
shot_types.json — All standard shot types (WS, MS, CU, OTS, POV, 2S, INS) with usage notescamera_movements.json — PUSH, PULL, PAN, TILT, DOLLY, CRANE, HANDHELD, STATICtransitions.json — CUT, DISSOLVE, FADE, WIPE, MATCH CUTaspect_ratios.json — Common production aspect ratios with use casesCC0 — public domain. Use freely for any purpose.
STORYLINER team — AI storyboard generator for film and ad pre-production. Full guide at storyliner.online/learn/shot-types.