--- 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](https://huggingface.co/datasets/t1an/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`](https://huggingface.co/hanbin5/dino-wm-cloth-size) were trained on this data. ## Splits Each size has two splits, `_train` (2,000 episodes) and `_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. - `/episode_.mp4`: 65 frames, 512 × 512, 16 fps, H.264. - `/metadata.pt`: a list with one dict per episode, read with `torch.load(path, weights_only=True)`. Keys: `video_path`, `actions` (64 × 8, float32), `length` (65), `seed`, `cloth_dimx` and `cloth_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 frame `t` to frame `t + 1`. The first three actions are zero. - `logs/gen_log_.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. - `SHA256SUMS` lists the sha256 of every video, `metadata.pt` and 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: ```bash huggingface-cli download --repo-type dataset hanbin5/cloth-sim --local-dir $DATASET_DIR/cloth_sim ``` ## Sources - Scene and data format: ACWM-Phys ([paper](https://arxiv.org/abs/2605.08567), dataset [`t1an/ACWM-Phys`](https://huggingface.co/datasets/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/`](https://github.com/jongmin-s-multicore/thread0/tree/hanbin5/ood-pull/repro/cloth_sim) in the branch `hanbin5/ood-pull` of the fork `jongmin-s-multicore/thread0`.