Document dataset sources, licenses, and SHA-256 digests
Browse files- LICENSE +21 -0
- README.md +66 -10
- datasets/LeWM-MIT-LICENSE.txt +21 -0
- datasets/SHA256SUMS +4 -0
LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
MIT License
|
| 2 |
+
|
| 3 |
+
Copyright (c) 2026 Junhan Sun, Hao Zhao, and Guofeng Zhang
|
| 4 |
+
|
| 5 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
| 6 |
+
of this software and associated documentation files (the "Software"), to deal
|
| 7 |
+
in the Software without restriction, including without limitation the rights
|
| 8 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
| 9 |
+
copies of the Software, and to permit persons to whom the Software is
|
| 10 |
+
furnished to do so, subject to the following conditions:
|
| 11 |
+
|
| 12 |
+
The above copyright notice and this permission notice shall be included in all
|
| 13 |
+
copies or substantial portions of the Software.
|
| 14 |
+
|
| 15 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 16 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 17 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 18 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
| 19 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
| 20 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
| 21 |
+
SOFTWARE.
|
README.md
CHANGED
|
@@ -1,17 +1,73 @@
|
|
| 1 |
---
|
|
|
|
| 2 |
tags:
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
|
|
|
|
|
|
|
|
|
| 6 |
---
|
| 7 |
|
| 8 |
-
# SADL
|
| 9 |
|
| 10 |
-
|
| 11 |
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
| `ckpt/` | Model checkpoints |
|
| 15 |
-
| `data/` | Accompanying data |
|
| 16 |
|
| 17 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
license: mit
|
| 3 |
tags:
|
| 4 |
+
- self-supervised-learning
|
| 5 |
+
- representation-learning
|
| 6 |
+
- world-model
|
| 7 |
+
- jepa
|
| 8 |
+
- robotics
|
| 9 |
+
- planning
|
| 10 |
---
|
| 11 |
|
| 12 |
+
# SADL world models with shared BatchNorm
|
| 13 |
|
| 14 |
+
Checkpoints and datasets for *SADL: On the Demand-Supply Geometry of Representation Collapse*. [Project page](https://zju3dv.github.io/SADL/).
|
| 15 |
|
| 16 |
+
Checkpoints and training data for [the SADL training and evaluation code](https://github.com/zju3dv/SADL). Models are trained on PushT, Cube,
|
| 17 |
+
Reacher and TwoRoom with one BatchNorm population shared by all tasks and GPUs, for two objectives:
|
|
|
|
|
|
|
| 18 |
|
| 19 |
+
- **INTACT**: latent prediction and goal-conditioned action (planners: Direct, Guarded A);
|
| 20 |
+
- **LeWM**: latent prediction only (planner: CEM).
|
| 21 |
+
|
| 22 |
+
## Contents
|
| 23 |
+
|
| 24 |
+
```
|
| 25 |
+
checkpoints/<model>/<training>/seed<seed>/<task>/
|
| 26 |
+
weights_epoch_1.pt model weights and BatchNorm statistics
|
| 27 |
+
config.yaml model configuration
|
| 28 |
+
action_stats.json action normalization of the task
|
| 29 |
+
training_config.json training configuration of the run
|
| 30 |
+
datasets/
|
| 31 |
+
pusht_expert_train.h5 cube_single_expert.h5 reacher.h5 tworoom.h5
|
| 32 |
+
SHA256SUMS
|
| 33 |
+
CHECKPOINTS_SHA256.txt
|
| 34 |
+
```
|
| 35 |
+
|
| 36 |
+
`<model>` is `intact` or `lewm`; `<training>` is `four_task` (one model trained on all four tasks; the four task
|
| 37 |
+
folders share every weight and normalization statistic and differ only in action dimension and action scaling) or
|
| 38 |
+
`single_task` (one model per task); seeds are 3072, 3073 and 3074. Every checkpoint is trained for one epoch.
|
| 39 |
+
|
| 40 |
+
## Usage
|
| 41 |
+
|
| 42 |
+
```bash
|
| 43 |
+
git clone https://github.com/zju3dv/SADL.git && cd SADL
|
| 44 |
+
pip install -r requirements.txt
|
| 45 |
+
hf download DavidSunok/SADL --local-dir hf
|
| 46 |
+
python evaluate.py --checkpoint hf/checkpoints/intact/four_task/seed3072/reacher --task reacher \
|
| 47 |
+
--data-dir hf/datasets --planner direct
|
| 48 |
+
python evaluate.py --checkpoint hf/checkpoints/lewm/single_task/seed3072/pusht --task pusht \
|
| 49 |
+
--data-dir hf/datasets --planner cem
|
| 50 |
+
```
|
| 51 |
+
|
| 52 |
+
## Results
|
| 53 |
+
|
| 54 |
+
Success rate (%), mean +- SD over the three training seeds; each seed is evaluated with seeds 0, 1 and 42, 100
|
| 55 |
+
episodes each, on an NVIDIA RTX 4090 (goal 25 steps ahead, at most 50 actions, horizon 5, replanning every 5 actions).
|
| 56 |
+
|
| 57 |
+
| Model | Training | Planner | PushT | Cube | Reacher | TwoRoom | Mean |
|
| 58 |
+
|---|---|---|---|---|---|---|---|
|
| 59 |
+
| INTACT | four tasks | Direct | 85.7 +- 0.9 | 100.0 +- 0.0 | 93.4 +- 1.7 | 100.0 +- 0.0 | 94.8 +- 0.4 |
|
| 60 |
+
| INTACT | four tasks | Guarded A | 88.1 +- 0.8 | 99.6 +- 0.4 | 93.1 +- 0.7 | 99.8 +- 0.4 | 95.1 +- 0.3 |
|
| 61 |
+
| INTACT | single task | Direct | 85.1 +- 0.4 | 100.0 +- 0.0 | 94.9 +- 2.0 | 99.7 +- 0.6 | 94.9 +- 0.5 |
|
| 62 |
+
| INTACT | single task | Guarded A | 89.8 +- 0.2 | 99.6 +- 0.2 | 93.7 +- 3.2 | 99.3 +- 0.9 | 95.6 +- 0.9 |
|
| 63 |
+
| LeWM | four tasks | CEM | 64.7 +- 18.5 | 59.6 +- 1.3 | 46.7 +- 26.1 | 94.4 +- 1.0 | 66.3 +- 9.2 |
|
| 64 |
+
| LeWM | single task | CEM | 83.1 +- 1.6 | 58.9 +- 1.4 | 81.0 +- 4.3 | 91.3 +- 1.5 | 78.6 +- 1.9 |
|
| 65 |
+
|
| 66 |
+
## Datasets
|
| 67 |
+
|
| 68 |
+
The HDF5 files hold expert demonstrations with uint8 RGB frames (224 x 224) and actions. PushT, Cube, Reacher and
|
| 69 |
+
TwoRoom come from the LeWorldModel benchmark. The original dataset cards specify the MIT license: [PushT](https://huggingface.co/datasets/quentinll/lewm-pusht), [Cube](https://huggingface.co/datasets/quentinll/lewm-cube), [Reacher](https://huggingface.co/datasets/quentinll/lewm-reacher), and [TwoRoom](https://huggingface.co/datasets/quentinll/lewm-tworooms). The upstream copyright and permission notice is included in [datasets/LeWM-MIT-LICENSE.txt](datasets/LeWM-MIT-LICENSE.txt).
|
| 70 |
+
|
| 71 |
+
## License
|
| 72 |
+
|
| 73 |
+
The [MIT license](LICENSE) applies to the released weights. The upstream dataset license is linked above.
|
datasets/LeWM-MIT-LICENSE.txt
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
MIT License
|
| 2 |
+
|
| 3 |
+
Copyright (c) 2026 Lucas Maes
|
| 4 |
+
|
| 5 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
| 6 |
+
of this software and associated documentation files (the "Software"), to deal
|
| 7 |
+
in the Software without restriction, including without limitation the rights
|
| 8 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
| 9 |
+
copies of the Software, and to permit persons to whom the Software is
|
| 10 |
+
furnished to do so, subject to the following conditions:
|
| 11 |
+
|
| 12 |
+
The above copyright notice and this permission notice shall be included in all
|
| 13 |
+
copies or substantial portions of the Software.
|
| 14 |
+
|
| 15 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 16 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 17 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 18 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
| 19 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
| 20 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
| 21 |
+
SOFTWARE.
|
datasets/SHA256SUMS
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
129a36aa93ea0de488d2bcc876e396de9e3907bf66c6aae6394e542ef6a6d623 tworoom.h5
|
| 2 |
+
b6ebd9ac94bbe9e383f6e7a9cd92d74e9aa665ea57b758ed3717b0ee7df8d4fb pusht_expert_train.h5
|
| 3 |
+
85a7dddfa1801302abcb175a80a23bb69c78291dd977ce40d69aedcb9123da06 reacher.h5
|
| 4 |
+
0664d507c4ff12009010644c9ae950836f954e700c172ccf22e7423af1a55625 cube_single_expert.h5
|