Download README.md from hanbin5/cloth-sim: direct link, hf CLI and curl.
- Browser
- Download file 3.07 kB
-
https://huggingface.co/datasets/hanbin5/cloth-sim/resolve/main/README.md
- Command line
-
hf download hf://datasets/hanbin5/cloth-sim/README.md
-
curl -L -o README.md https://huggingface.co/datasets/hanbin5/cloth-sim/resolve/main/README.md
tags:
- world-model
- dino-wm
Cloth-moving simulation with nine cloth sizes
Videos and actions of a cloth-moving scene simulated with PyFleX. Two gripper balls hold the top corners of a cloth and carry it over a sphere. The scene was rebuilt in PyFleX from the released videos of the Cloth Move task of ACWM-Phys, because the original simulator is not public. There are nine cloth sizes, each with 2,000 training and 100 test episodes. The DINO-WM checkpoints in hanbin5/dino-wm-cloth-size were trained on this data.
Splits
Each size has two splits, <size>_train (2,000 episodes) and <size>_test (100 episodes): 18 splits and 18,900 episodes in all.
The size name gives the visible cloth area relative to ind, measured as cloth pixels in frame 3. ind is the cloth size of the ACWM-Phys in-distribution episodes.
| Size | a026 | a040 | a060 | a080 | ind | a125 | a160 | a200 | a248 |
|---|---|---|---|---|---|---|---|---|---|
| Visible area (× ind) | 0.26 | 0.40 | 0.60 | 0.80 | 1.00 | 1.25 | 1.60 | 2.00 | 2.48 |
| Cloth particles (width × height) | 54 × 51 | 65 × 62 | 79 × 75 | 89 × 86 | 98 × 94 | 108 × 103 | 120 × 115 | 133 × 127 | 146 × 139 |
Files
The format is the one of ACWM-Phys.
<split>/episode_<n>.mp4: 65 frames, 512 × 512, 16 fps, H.264.<split>/metadata.pt: a list with one dict per episode, read withtorch.load(path, weights_only=True). Keys:video_path,actions(64 × 8, float32),length(65),seed,cloth_dimxandcloth_dimy(cloth particles along the width and the height),x0(the x position of the cloth plane at the start),n_attempts(1 for every episode).- An action is
[dx1, dy1, dz1, 1, dx2, dy2, dz2, 1]: the moves of ball 1 (red) and ball 2 (blue), each followed by a pick flag that is always 1.actions[t]takes frametto framet + 1. The first three actions are zero. logs/gen_log_<worker>.jsonl: one line per generated episode, written by the generator: split, episode number, seed, attempt, simulation and rendering times, the largest cloth stretch and the smallest distance between a cloth particle and the sphere centre.SHA256SUMSlists the sha256 of every video,metadata.ptand log file.
Use
Download into a folder named cloth_sim under $DATASET_DIR, the variable that the hydra.yaml files of the checkpoint repository use:
huggingface-cli download --repo-type dataset hanbin5/cloth-sim --local-dir $DATASET_DIR/cloth_sim
Sources
- Scene and data format: ACWM-Phys (paper, dataset
t1an/ACWM-Phys). The camera, light, sphere, ball colours and action scale were measured from its videos. - Simulator: PyFleX (NVIDIA FleX).
- Generation code:
repro/cloth_sim/in the branchhanbin5/ood-pullof the forkjongmin-s-multicore/thread0.