Datasets:
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Error code: DatasetGenerationError
Exception: TypeError
Message: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1539, in _prepare_split_single
for key, record in generator:
^^^^^^^^^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 621, in wrapped
for item in generator(*args, **kwargs):
~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/webdataset/webdataset.py", line 131, in _generate_examples
for example_idx, example in enumerate(self._get_pipeline_from_tar(tar_path, tar_iterator)):
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/webdataset/webdataset.py", line 32, in _get_pipeline_from_tar
for filename, f in tar_iterator:
^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/utils/track.py", line 49, in __iter__
for x in self.generator(*self.args):
~~~~~~~~~~~~~~^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/utils/file_utils.py", line 1419, in _iter_from_urlpath
with xopen(urlpath, "rb", download_config=download_config, block_size=0) as f:
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/utils/file_utils.py", line 976, in xopen
file_obj = fs.open(paths[0], mode)
File "<string>", line 3, in open
File "/usr/local/lib/python3.14/unittest/mock.py", line 1176, in __call__
return self._mock_call(*args, **kwargs)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/unittest/mock.py", line 1180, in _mock_call
return self._execute_mock_call(*args, **kwargs)
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/unittest/mock.py", line 1247, in _execute_mock_call
result = effect(*args, **kwargs)
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 794, in wrapped
tracker.files[urlpath] = {"read": 0, "size": int(f.size)}
~~~^^^^^^^^
TypeError: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1379, in compute_config_parquet_and_info_response
parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
~~~~~~~~~~~~~~~~~~~~~~~~~^
builder, max_dataset_size_bytes=max_dataset_size_bytes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 956, in stream_convert_to_parquet
builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1401, in _prepare_split
for job_id, done, content in self._prepare_split_single(
~~~~~~~~~~~~~~~~~~~~~~~~~~^
gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
):
^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1579, in _prepare_split_single
raise DatasetGenerationError("An error occurred while generating the dataset") from e
datasets.exceptions.DatasetGenerationError: An error occurred while generating the datasetNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
__key__ string | __url__ string | jpg image | json dict |
|---|---|---|---|
syn_20000001 | hf://datasets/darshanvss/cubecheck@a344fbfa587748f3c32ee2d2f61779965f24cde1/data/333/train-busy-v2-0000.tar | {
"id": "syn_20000001",
"image": "images/syn_20000001.jpg",
"set": "333/train-busy-v2",
"version": "0.1.0",
"seed": 20000001,
"mode": "table",
"width": 1024,
"height": 768,
"scramble": "R L2 U' B' L R2 D2 U' B' F2 U2 D' L2 D L2 B' R' L2 F' L U B2 U R U'",
"cube": {
"size": 3,
"finish": "glos... | |
syn_20000002 | hf://datasets/darshanvss/cubecheck@a344fbfa587748f3c32ee2d2f61779965f24cde1/data/333/train-busy-v2-0000.tar | {
"id": "syn_20000002",
"image": "images/syn_20000002.jpg",
"set": "333/train-busy-v2",
"version": "0.1.0",
"seed": 20000002,
"mode": "handheld",
"width": 1024,
"height": 768,
"scramble": "B' U F2 R F' R U' L' R2 B' D U' B' L' U2 R' B' F D2 U' F' D2 F B' D",
"cube": {
"size": 3,
"finish": "g... | |
syn_20000003 | hf://datasets/darshanvss/cubecheck@a344fbfa587748f3c32ee2d2f61779965f24cde1/data/333/train-busy-v2-0000.tar | {
"id": "syn_20000003",
"image": "images/syn_20000003.jpg",
"set": "333/train-busy-v2",
"version": "0.1.0",
"seed": 20000003,
"mode": "handheld",
"width": 1024,
"height": 768,
"scramble": "U B2 L' U2 R L2 D2 B2 L B2 D' B2 F R2 L2 B2 F2 L' R F2 U",
"cube": {
"size": 3,
"finish": "glossy",
... | |
syn_20000004 | hf://datasets/darshanvss/cubecheck@a344fbfa587748f3c32ee2d2f61779965f24cde1/data/333/train-busy-v2-0000.tar | {
"id": "syn_20000004",
"image": "images/syn_20000004.jpg",
"set": "333/train-busy-v2",
"version": "0.1.0",
"seed": 20000004,
"mode": "table",
"width": 1280,
"height": 720,
"scramble": "R B' U2 B L2 R' D2 B D2",
"cube": {
"size": 3,
"finish": "glossy",
"type": "sticker",
"palette": "... | |
syn_20000005 | hf://datasets/darshanvss/cubecheck@a344fbfa587748f3c32ee2d2f61779965f24cde1/data/333/train-busy-v2-0000.tar | {
"id": "syn_20000005",
"image": "images/syn_20000005.jpg",
"set": "333/train-busy-v2",
"version": "0.1.0",
"seed": 20000005,
"mode": "table",
"width": 960,
"height": 720,
"scramble": "U' L F R D2 U2 L2 B' D' B D U2 B U R2 U' F2 B' L R' D2 L",
"cube": {
"size": 3,
"finish": "glossy",
"ty... | |
syn_20000006 | hf://datasets/darshanvss/cubecheck@a344fbfa587748f3c32ee2d2f61779965f24cde1/data/333/train-busy-v2-0000.tar | {
"id": "syn_20000006",
"image": "images/syn_20000006.jpg",
"set": "333/train-busy-v2",
"version": "0.1.0",
"seed": 20000006,
"mode": "handheld",
"width": 1024,
"height": 768,
"scramble": "U F' U B U' L' D' U R2 L D2 F2 B L2 U' D' B2 U' D2 R' U' F' R2 U' R2",
"cube": {
"size": 3,
"finish": "... | |
syn_20000007 | hf://datasets/darshanvss/cubecheck@a344fbfa587748f3c32ee2d2f61779965f24cde1/data/333/train-busy-v2-0000.tar | {
"id": "syn_20000007",
"image": "images/syn_20000007.jpg",
"set": "333/train-busy-v2",
"version": "0.1.0",
"seed": 20000007,
"mode": "handheld",
"width": 960,
"height": 720,
"scramble": "D' R F D B' R' U2 B' D2 U F' B R2 L'",
"cube": {
"size": 3,
"finish": "glossy",
"type": "stickerless... | |
syn_20000008 | hf://datasets/darshanvss/cubecheck@a344fbfa587748f3c32ee2d2f61779965f24cde1/data/333/train-busy-v2-0000.tar | {
"id": "syn_20000008",
"image": "images/syn_20000008.jpg",
"set": "333/train-busy-v2",
"version": "0.1.0",
"seed": 20000008,
"mode": "handheld",
"width": 720,
"height": 720,
"scramble": "R2 L2 B' R' U2 B U D2 B2 U R D' U2 F U L B' L' F' B U L D' F2 B",
"cube": {
"size": 3,
"finish": "glossy... | |
syn_20000009 | hf://datasets/darshanvss/cubecheck@a344fbfa587748f3c32ee2d2f61779965f24cde1/data/333/train-busy-v2-0000.tar | {
"id": "syn_20000009",
"image": "images/syn_20000009.jpg",
"set": "333/train-busy-v2",
"version": "0.1.0",
"seed": 20000009,
"mode": "table",
"width": 960,
"height": 720,
"scramble": "",
"cube": {
"size": 3,
"finish": "matte",
"type": "sticker",
"palette": "classic",
"bevelRadiu... | |
syn_20000010 | hf://datasets/darshanvss/cubecheck@a344fbfa587748f3c32ee2d2f61779965f24cde1/data/333/train-busy-v2-0000.tar | {
"id": "syn_20000010",
"image": "images/syn_20000010.jpg",
"set": "333/train-busy-v2",
"version": "0.1.0",
"seed": 20000010,
"mode": "table",
"width": 1280,
"height": 720,
"scramble": "D R' U' R F2 D U2 R2 L2 U D' B U2 F' D2 R F D2 R U' L' F2 L2 D R2",
"cube": {
"size": 3,
"finish": "glossy... | |
syn_20000011 | hf://datasets/darshanvss/cubecheck@a344fbfa587748f3c32ee2d2f61779965f24cde1/data/333/train-busy-v2-0000.tar | {
"id": "syn_20000011",
"image": "images/syn_20000011.jpg",
"set": "333/train-busy-v2",
"version": "0.1.0",
"seed": 20000011,
"mode": "handheld",
"width": 1280,
"height": 720,
"scramble": "U' F2 R' F2 L D' F' D2 B R2 B' D' B' L' D2 L F2 B2 L U' R' B2 F' L' D2",
"cube": {
"size": 3,
"finish":... | |
syn_20000012 | hf://datasets/darshanvss/cubecheck@a344fbfa587748f3c32ee2d2f61779965f24cde1/data/333/train-busy-v2-0000.tar | {
"id": "syn_20000012",
"image": "images/syn_20000012.jpg",
"set": "333/train-busy-v2",
"version": "0.1.0",
"seed": 20000012,
"mode": "table",
"width": 1024,
"height": 768,
"scramble": "",
"cube": {
"size": 3,
"finish": "glossy",
"type": "stickerless",
"palette": "bright",
"bevel... | |
syn_20000013 | hf://datasets/darshanvss/cubecheck@a344fbfa587748f3c32ee2d2f61779965f24cde1/data/333/train-busy-v2-0000.tar | {
"id": "syn_20000013",
"image": "images/syn_20000013.jpg",
"set": "333/train-busy-v2",
"version": "0.1.0",
"seed": 20000013,
"mode": "handheld",
"width": 1024,
"height": 768,
"scramble": "F B' D' U' B' R U2 F' D2 R' B2 L U F B2 R2 B' F2 L2 B L R' F2 B2 R2",
"cube": {
"size": 3,
"finish": "g... | |
syn_20000014 | hf://datasets/darshanvss/cubecheck@a344fbfa587748f3c32ee2d2f61779965f24cde1/data/333/train-busy-v2-0000.tar | {
"id": "syn_20000014",
"image": "images/syn_20000014.jpg",
"set": "333/train-busy-v2",
"version": "0.1.0",
"seed": 20000014,
"mode": "table",
"width": 720,
"height": 720,
"scramble": "F2 D2 L' F B2 R U2 R' L' F D F D2 L B F' L' R D2 B2 L2 B D R2 L'",
"cube": {
"size": 3,
"finish": "glossy",... | |
syn_20000015 | hf://datasets/darshanvss/cubecheck@a344fbfa587748f3c32ee2d2f61779965f24cde1/data/333/train-busy-v2-0000.tar | {
"id": "syn_20000015",
"image": "images/syn_20000015.jpg",
"set": "333/train-busy-v2",
"version": "0.1.0",
"seed": 20000015,
"mode": "handheld",
"width": 1024,
"height": 768,
"scramble": "B2 U' F2 R' U2 B U2 L2 F' L' U' R L2 F2 L U F2 B' L2 F2",
"cube": {
"size": 3,
"finish": "matte",
"... | |
syn_20000016 | hf://datasets/darshanvss/cubecheck@a344fbfa587748f3c32ee2d2f61779965f24cde1/data/333/train-busy-v2-0000.tar | {
"id": "syn_20000016",
"image": "images/syn_20000016.jpg",
"set": "333/train-busy-v2",
"version": "0.1.0",
"seed": 20000016,
"mode": "handheld",
"width": 1280,
"height": 720,
"scramble": "R' L2 D U' R B' L F2 B' L B R F' U2 R F2 B R L2 U' D R U2 F2 L'",
"cube": {
"size": 3,
"finish": "gloss... | |
syn_20000017 | hf://datasets/darshanvss/cubecheck@a344fbfa587748f3c32ee2d2f61779965f24cde1/data/333/train-busy-v2-0000.tar | {
"id": "syn_20000017",
"image": "images/syn_20000017.jpg",
"set": "333/train-busy-v2",
"version": "0.1.0",
"seed": 20000017,
"mode": "table",
"width": 1280,
"height": 720,
"scramble": "D2 L2 F2 U2 R2 D L' D' R' F D2 L2 F2 U L2 B2 D2 B2 D2 B' L2 D' U2 B2 R2",
"cube": {
"size": 3,
"finish": "... | |
syn_20000018 | hf://datasets/darshanvss/cubecheck@a344fbfa587748f3c32ee2d2f61779965f24cde1/data/333/train-busy-v2-0000.tar | {
"id": "syn_20000018",
"image": "images/syn_20000018.jpg",
"set": "333/train-busy-v2",
"version": "0.1.0",
"seed": 20000018,
"mode": "table",
"width": 1024,
"height": 768,
"scramble": "D'",
"cube": {
"size": 3,
"finish": "glossy",
"type": "sticker",
"palette": "classic",
"bevelR... | |
syn_20000019 | hf://datasets/darshanvss/cubecheck@a344fbfa587748f3c32ee2d2f61779965f24cde1/data/333/train-busy-v2-0000.tar | {
"id": "syn_20000019",
"image": "images/syn_20000019.jpg",
"set": "333/train-busy-v2",
"version": "0.1.0",
"seed": 20000019,
"mode": "handheld",
"width": 1024,
"height": 768,
"scramble": "D2 B L' B2 F D' B2 U' L' B' L2 R' F' U F U' R F B R' U2 F' R F2 U'",
"cube": {
"size": 3,
"finish": "gl... | |
syn_20000020 | hf://datasets/darshanvss/cubecheck@a344fbfa587748f3c32ee2d2f61779965f24cde1/data/333/train-busy-v2-0000.tar | {
"id": "syn_20000020",
"image": "images/syn_20000020.jpg",
"set": "333/train-busy-v2",
"version": "0.1.0",
"seed": 20000020,
"mode": "table",
"width": 1280,
"height": 720,
"scramble": "R2 F' U' F",
"cube": {
"size": 3,
"finish": "glossy",
"type": "sticker",
"palette": "muted",
"... | |
syn_20000021 | hf://datasets/darshanvss/cubecheck@a344fbfa587748f3c32ee2d2f61779965f24cde1/data/333/train-busy-v2-0000.tar | {
"id": "syn_20000021",
"image": "images/syn_20000021.jpg",
"set": "333/train-busy-v2",
"version": "0.1.0",
"seed": 20000021,
"mode": "table",
"width": 1280,
"height": 720,
"scramble": "F B2 D B' D2 L' B' R L F' U' B' U R2 U' R B2 D' L' R U2 L2 U' D' F2",
"cube": {
"size": 3,
"finish": "glos... | |
syn_20000022 | hf://datasets/darshanvss/cubecheck@a344fbfa587748f3c32ee2d2f61779965f24cde1/data/333/train-busy-v2-0000.tar | {
"id": "syn_20000022",
"image": "images/syn_20000022.jpg",
"set": "333/train-busy-v2",
"version": "0.1.0",
"seed": 20000022,
"mode": "table",
"width": 720,
"height": 720,
"scramble": "",
"cube": {
"size": 3,
"finish": "matte",
"type": "stickerless",
"palette": "muted",
"bevelRad... | |
syn_20000023 | hf://datasets/darshanvss/cubecheck@a344fbfa587748f3c32ee2d2f61779965f24cde1/data/333/train-busy-v2-0000.tar | {
"id": "syn_20000023",
"image": "images/syn_20000023.jpg",
"set": "333/train-busy-v2",
"version": "0.1.0",
"seed": 20000023,
"mode": "handheld",
"width": 1280,
"height": 720,
"scramble": "R2 F' D B L B' L2 B2 D' U2 R' D F2 B' L2 U' F' U2 F' U2 D R2 F2 U2 D",
"cube": {
"size": 3,
"finish": "... |
CubeCheck renders
180,200 synthetic 3D renders of scrambled 2×2 to 7×7 cubes, and of rooms with no cube, each with exact labels: the cube's seven visible corners, every sticker's colour and position, and the scramble. They trained the CubeCheck models, which check a scrambled cube from one camera view at check.cubing.in.
- Models: darshanvss/cubecheck (c7 corners and the r4 sticker reader were trained on this data)
- Code, training and evaluation: github.com/darshanvss/cubecheck
Subsets and splits
One subset per puzzle, each with a train and a test split. Test sets never share a scene with train sets: a random seed fixes a whole scene, and no two sets share seeds, except none/train-v1, which is the first 5,000 rooms of 333/train-full-v1 with the cube hidden (both train).
| Subset | Train | Test | Image sizes |
|---|---|---|---|
2x2 |
20,000 | 1,900 | 720×720, 960×720, 1024×768, 1280×720 |
3x3 |
51,000 | 3,400 | 720×720, 960×720, 1024×768, 1280×720 |
4x4 |
20,000 | 1,900 | 720×720, 960×720, 1024×768, 1280×720 |
5x5 |
20,000 | 1,900 | 720×720, 960×720, 1024×768, 1280×720 |
6x6 |
20,000 | 1,900 | 720×720, 960×720, 1024×768, 1280×720 |
7x7 |
20,000 | 1,900 | 720×720, 960×720, 1024×768, 1280×720 |
no-cube |
15,000 | 1,300 | 720×720, 960×720, 1024×768, 1280×720 |
from datasets import load_dataset
ds = load_dataset("darshanvss/cubecheck", "4x4", split="test")
ds[0]["jpg"] # a PIL image
ds[0]["json"]["set"] # "444/test-mixed-v2"
# One kind of view only, e.g. the 4x4's two-face test views:
two_faces = load_dataset("darshanvss/cubecheck", data_files="data/444/test-shallow-v2-*.tar", split="train")
Each subset mixes several kinds of view; the set field in every label (and the file name of its shard) says which:
| Kind | What's in it |
|---|---|
mixed |
three faces toward the camera, scrambles of every length (solved to a full scramble) |
full, easy (3×3) |
full 25-move scrambles; solved or nearly solved cubes |
shallow |
two faces and a sliver of the third, the cube held toward the scrambler |
edgeon |
exactly two faces, an edge toward the camera |
small |
the cube far away, few pixels a sticker |
busy (3×3) |
cluttered scenes |
no-cube |
rooms, tables, hands and other objects with no cube: for learning to say "no cube here" |
v2/v3 are later rounds of the same kind with new seeds. Each set's settings (seeds, JPEG quality, how many are handheld) are in manifests/<puzzle>/<set>.json.
Files
data/<puzzle>/<set>-NNNN.tar WebDataset shards of about 1 GB: syn_0000001.jpg next to syn_0000001.json
manifests/<puzzle>/<set>.json each set's settings
sources.json the 117 Poly Haven assets the scenes use, with their authors
<puzzle> is the WCA event id (222 … 777), none for no cube. To get the files back as folders of images and labels, as CubeCheck's training code reads them:
mkdir -p 444/test-mixed-v2/images 444/test-mixed-v2/labels
tar -xf data/444/test-mixed-v2-0000.tar -C 444/test-mixed-v2/images --wildcards '*.jpg'
tar -xf data/444/test-mixed-v2-0000.tar -C 444/test-mixed-v2/labels --wildcards '*.json'
Labels
One JSON per render (abridged; a 3×3 has 54 stickers, an N×N 6N²):
{
"id": "syn_68000284", "image": "images/syn_68000284.jpg", "set": "777/train-edgeon-v3",
"seed": 68000284, "mode": "handheld", "width": 1024, "height": 768,
"scramble": "3Lw Rw' 3Dw' 3Lw' 3Uw U' Bw2 ...",
"cube": {"size": 7, "finish": "glossy", "type": "sticker", "palette": "vibrant", "logo": false, "orientation": [...]},
"camera": {"fov": 45.65, "distance": 29.07, "roll": -1.78, "position": [...], "quaternion": [...]},
"lighting": {"keyKelvin": 3241, "environment": "panorama", "exposure": 1.09, "shadows": false, ...},
"background": {"kind": "panorama", "source": "pav_studio_02.jpg", "table": null},
"occluders": {"fingers": 2, "frontFingers": 1, "palm": false},
"labels": {
"facelets": "DURRBDURBURBFF...",
"keypoints": [[563.81, 401.23, 2], ...],
"visibleFaces": ["D", "L", "F"],
"bbox": [390.5, 379.77, 702.1, 655.0],
"corners": [{"name": "UFR", "x": 394.11, "y": 611.13, "inFrame": true, "occluded": true}, ...],
"stickers": [{"facelet": 0, "color": "D", "x": 681.06, "y": 611.63, "facing": -0.14, "inFrame": true, "visibleFraction": 0, "visible": false}, ...]
}
}
facelets: the whole cube's sticker colours, face by face in U R F D L B order, row by row (WCA colours: U white, R red, F green, D yellow, L orange, B blue). It's the state the scramble gives, in the cube's own orientation.keypoints: the seven visible corners as[x, y, v]in pixels, the six around the outside clockwise and then the one in the middle (v: 2 in view, 1 covered, 0 outside the frame, with x and y 0). In an exactly-two-face view both ends of the shared edge are fair answers for the middle one.corners: all eight corners by name (UFR, …), in pixels, with whether each is in the frame and whether it's covered.stickers: every sticker's centre in pixels, whether it faces the camera, and how much of it is visible (fingers and the cube's own edges hide some).mode:handheld(held in rendered fingers) ortable.- No-cube renders have
"empty": trueand emptycornersandstickers.
How it was made
Scenes were built and rendered with a 3D renderer of our own (not published): a cube of a random size, finish, sticker style and colour shades; a random scramble; a camera of random lens, distance and roll; lights of random colour temperature; and a background from 60 panoramas and 57 table textures, all CC0 photos from Poly Haven (sources.json). Some cubes are held in rendered fingers. The images contain no photographs of people.
The renders are clean: camera effects (blur, noise, compression, colour casts) and painted fingers over the corners and edges are added at training time by CubeCheck's training code, not baked into the images.
Limits
- Synthetic only. Models trained on it need checking on real camera frames.
- Standard WCA colour scheme, sticker and stickerless-style cubes; no other colour schemes, no other puzzles yet (pyraminx, skewb and the rest are planned as new subsets).
Licence
The renders and labels are CC BY 4.0: use them for anything, crediting CubeCheck (link to this page or to github.com/darshanvss/cubecheck). The background photos are CC0 from Poly Haven; their authors are listed in sources.json. The CubeCheck code and models are AGPL-3.0.
Versions
Each release is a tag. v1.0: the 2×2 to 7×7 renders and the no-cube scenes that trained c7 and r4.
- Downloads last month
- 114