Dataset Viewer
Auto-converted to Parquet Duplicate
batch
int16
0
0
body
stringclasses
1 value
element
stringlengths
15
15
kind
stringclasses
8 values
data
unknown
sha256
stringlengths
64
64
0
default
rand_00YONAPXZE
body_measurements
[ 98, 111, 100, 121, 58, 10, 32, 32, 95, 97, 114, 109, 115, 99, 121, 101, 95, 100, 101, 112, 116, 104, 58, 32, 49, 53, 46, 51, 54, 55, 57, 10, 32, 32, 95, 98, 97, 115, 101, 95, 115, 108, 101, 101, 118, 101, 95, 98, 97, 1...
5cd011d9cf90918533a6dcc12337d1ee722055b4b14de6650c9ed942791405b3
0
default
rand_00YONAPXZE
box_mesh
"cGx5CmZvcm1hdCBiaW5hcnlfbGl0dGxlX2VuZGlhbiAxLjAKY29tbWVudCBodHRwczovL2dpdGh1Yi5jb20vbWlrZWRoL3RyaW1(...TRUNCATED)
97a1a8489fd69c20c716d080feb8b285ddc23b309897f6c9092e92efc885f243
0
default
rand_00YONAPXZE
design_params
"ZGVzaWduOgogIG1ldGE6CiAgICB1cHBlcjoKICAgICAgdjogRml0dGVkU2hpcnQKICAgICAgcmFuZ2U6CiAgICAgIC0gRml0dGV(...TRUNCATED)
5f07cd3674291927804e0510e0bafb7c6bcedeb562a5fd2eada79ff8360e9f85
0
default
rand_00YONAPXZE
pattern_svg
"PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiID8+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDA(...TRUNCATED)
2390303589656eed31db01e594af72ace32af06bca1effac61a1a777b171c351
0
default
rand_00YONAPXZE
sim_mesh
"cGx5CmZvcm1hdCBiaW5hcnlfbGl0dGxlX2VuZGlhbiAxLjAKY29tbWVudCBodHRwczovL2dpdGh1Yi5jb20vbWlrZWRoL3RyaW1(...TRUNCATED)
c40c8d74baa701c36cd26545fc926daab298f4652b450afc20f51aa63f68e54e
0
default
rand_00YONAPXZE
segmentation
"c3RpdGNoXzAKc3RpdGNoXzAKc3RpdGNoXzAKc3RpdGNoXzAKc3RpdGNoXzAKc3RpdGNoXzAKc3RpdGNoXzAKc3RpdGNoXzAKc3R(...TRUNCATED)
2b83888cb250e1d00c7fc357c29dc3627060c0f5bde3e62e2b63a7475704ebbb
0
default
rand_00YONAPXZE
specification
"ewogICJwYXR0ZXJuIjogewogICAgInBhbmVscyI6IHsKICAgICAgInNraXJ0X2Zyb250IjogewogICAgICAgICJ0cmFuc2xhdGl(...TRUNCATED)
e52045a067c786eda5db3125beed16bd557afd8df2e3f283a2dbea4919489249
0
default
rand_00YONAPXZE
vertex_labels
"bG93ZXJfaW50ZXJmYWNlOgotIDE2MwotIDI2NQotIDI3OQotIDM2OAotIDQxNQotIDQxNgotIDQyOAotIDYxOQotIDY1NQotIDY(...TRUNCATED)
47d55dc456feca27caf04b5d2c957f4316f1184bf0d12ff063f7a6b9aff243f0
0
default
rand_023FMIGQK0
body_measurements
"Ym9keToKICBfYXJtc2N5ZV9kZXB0aDogMTUuMzY3OQogIF9iYXNlX3NsZWV2ZV9iYWxhbmNlOiAzNC40NTY4CiAgX2J1c3RfbGl(...TRUNCATED)
5cd011d9cf90918533a6dcc12337d1ee722055b4b14de6650c9ed942791405b3
0
default
rand_023FMIGQK0
box_mesh
"cGx5CmZvcm1hdCBiaW5hcnlfbGl0dGxlX2VuZGlhbiAxLjAKY29tbWVudCBodHRwczovL2dpdGh1Yi5jb20vbWlrZWRoL3RyaW1(...TRUNCATED)
d9e9f0dae2f791628f74e0977299579dfa7d75ad09a36238140c36aca6fc85e9
End of preview. Expand in Data Studio

GarmentCodeData v2: patterns, meshes and labels

Sewing patterns, draped garment meshes and panel labels from GarmentCodeData v2, repacked as ZSTD Parquet. Each garment design is fitted to and draped on a neutral body and on a sampled body.

What it is for

A sewing pattern paired with the shape it takes when sewn and draped. Use it to start a garment from a real pattern, and to compare a cloth solver's drape against the upstream simulator on the same pattern.

Provenance

Upstream: GarmentCodeData v2, Korosteleva et al., ETH Zurich, 2024 (doi 10.3929/ethz-b-000690432), CC BY 4.0, read from the ETH libdrive share named in that record. Each batch's data.tar.gz was streamed and its files were copied byte for byte. The sha256 column is the hash of each file as read from the tar.

Kept per garment (kind column, upstream file suffix):

  • design_params (_design_params.yaml): the design parameters that made the pattern.
  • body_measurements (_body_measurements.yaml): the measurements the pattern was cut for.
  • specification (_specification.json): the sewing pattern.
  • pattern_svg (_pattern.svg): the pattern panels as vector art.
  • box_mesh (_boxmesh.ply): the panels placed around the body before draping.
  • sim_mesh (_sim.ply): the draped garment.
  • segmentation (_sim_segmentation.txt): the panel label of each vertex.
  • vertex_labels (_vertex_labels.yaml): waist, collar and strapless-top vertex labels.

Not kept: the PNG renders, the PNG pattern, the texture, the rest edge-length pickle, and the 5,000 sampled body shapes. upstream/ holds the official split, the documentation, the neutral body and each batch's dataset_properties file, unchanged.

Fabric per batch, from the upstream documentation: batches 0-6 and 21-25 use bending 1.0, 7-13 and 26-30 use 100, 14-20 and 31-35 use 500.

Use

One row per file: batch, body (default or random), element, kind, data, sha256. A garment is the set of rows sharing batch, body and element.

import pyarrow.parquet as pq
t = pq.read_table("default_body/batch-00.parquet", filters=[("kind", "=", "specification")])

The official split lists garments_5000_<batch>/<body>_body/<element> paths in upstream/GarmentCodeData_v2_official_train_valid_test_data_split.json.

PLY meshes keep their UVs; per the upstream documentation, load them with trimesh.load_mesh(path, process=False). trimesh inserts a duplicate vertex at each UV seam right after the original, so map ids back before reading the segmentation or vertex labels.

Licence

CC BY 4.0, as the upstream record states. Cite the upstream paper and dataset (see CITATION.cff). The upstream body model was fitted to the European subset of CAESAR; its authors state it covers healthy European and North American adults.

Downloads last month
1,091