Copy public roots without spaces (44/44)
Browse files- .gitattributes +2 -0
- Assets/PhysicBenchmark/Content/__ExternalObjects__/slope/9/UO/.gitkeep +0 -0
- Assets/PhysicBenchmark/Content/__ExternalObjects__/slope/9/ZM/.gitkeep +0 -0
- Assets/PhysicBenchmark/Content/__ExternalObjects__/slope/B/LB/.gitkeep +0 -0
- Assets/PhysicBenchmark/Content/__ExternalObjects__/slope/D/ZW/.gitkeep +0 -0
- Assets/PhysicBenchmark/DerivedDataCache/.gitkeep +0 -0
- Assets/PhysicBenchmark/PhysInOne.uproject +59 -0
- Utils/3D_ASSETS_DOWNLOAD.md +215 -0
- Utils/3d_assets_lists/summary.json +10 -0
- Utils/3d_assets_lists/validation.txt +0 -0
- Utils/3d_assets_lists/validation_archives.txt +8 -0
- Utils/LEADERBOARD_DOWNLOAD.md +216 -0
- Utils/leaderboard_lists/future-prediction.txt +103 -0
- Utils/leaderboard_lists/motion-transfer.txt +217 -0
- Utils/leaderboard_lists/physical-properties-estimation.txt +74 -0
- Utils/leaderboard_lists/summary.json +30 -0
- Utils/leaderboard_lists/video-generation.txt +3 -0
- Utils/metadata/repo_assignment.txt +3 -0
- Utils/metadata/repo_map.json +18 -0
- Utils/scripts/download.py +188 -0
- Utils/scripts/download_3d_assets.py +444 -0
- Utils/scripts/download_leaderboard.py +435 -0
- Utils/scripts/filter_cases.py +433 -0
.gitattributes
CHANGED
|
@@ -28706,3 +28706,5 @@ Assets/PhysicBenchmark/Content/__ExternalActors__/PhysicsScenario/Levels/buildin
|
|
| 28706 |
Assets/PhysicBenchmark/Content/__ExternalActors__/PhysicsScenario/Levels/building/E/UG/HF2YMAZF89GZ7RY1VIET2I.uasset filter=lfs diff=lfs merge=lfs -text
|
| 28707 |
Assets/PhysicBenchmark/Content/__ExternalActors__/PhysicsScenario/Levels/building/E/YX/MBPW1J1NZHR5LXZZK2W1EL.uasset filter=lfs diff=lfs merge=lfs -text
|
| 28708 |
Assets/PhysicBenchmark/Content/__ExternalActors__/deformable/5/3J/RJQ0J1N13LMCBW5ROJ8M8F.uasset filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
| 28706 |
Assets/PhysicBenchmark/Content/__ExternalActors__/PhysicsScenario/Levels/building/E/UG/HF2YMAZF89GZ7RY1VIET2I.uasset filter=lfs diff=lfs merge=lfs -text
|
| 28707 |
Assets/PhysicBenchmark/Content/__ExternalActors__/PhysicsScenario/Levels/building/E/YX/MBPW1J1NZHR5LXZZK2W1EL.uasset filter=lfs diff=lfs merge=lfs -text
|
| 28708 |
Assets/PhysicBenchmark/Content/__ExternalActors__/deformable/5/3J/RJQ0J1N13LMCBW5ROJ8M8F.uasset filter=lfs diff=lfs merge=lfs -text
|
| 28709 |
+
Utils/leaderboard_lists/video-generation.txt filter=lfs diff=lfs merge=lfs -text
|
| 28710 |
+
Utils/metadata/repo_assignment.txt filter=lfs diff=lfs merge=lfs -text
|
Assets/PhysicBenchmark/Content/__ExternalObjects__/slope/9/UO/.gitkeep
ADDED
|
File without changes
|
Assets/PhysicBenchmark/Content/__ExternalObjects__/slope/9/ZM/.gitkeep
ADDED
|
File without changes
|
Assets/PhysicBenchmark/Content/__ExternalObjects__/slope/B/LB/.gitkeep
ADDED
|
File without changes
|
Assets/PhysicBenchmark/Content/__ExternalObjects__/slope/D/ZW/.gitkeep
ADDED
|
File without changes
|
Assets/PhysicBenchmark/DerivedDataCache/.gitkeep
ADDED
|
File without changes
|
Assets/PhysicBenchmark/PhysInOne.uproject
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"FileVersion": 3,
|
| 3 |
+
"EngineAssociation": "5.5",
|
| 4 |
+
"Category": "",
|
| 5 |
+
"Description": "",
|
| 6 |
+
"Plugins": [
|
| 7 |
+
{
|
| 8 |
+
"Name": "ModelingToolsEditorMode",
|
| 9 |
+
"Enabled": true,
|
| 10 |
+
"TargetAllowList": [
|
| 11 |
+
"Editor"
|
| 12 |
+
]
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"Name": "ChaosModularVehicle",
|
| 16 |
+
"Enabled": true
|
| 17 |
+
},
|
| 18 |
+
{
|
| 19 |
+
"Name": "ChaosModularVehicleExamples",
|
| 20 |
+
"Enabled": true
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"Name": "ChaosVehiclesPlugin",
|
| 24 |
+
"Enabled": true
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"Name": "JsonBlueprintUtilities",
|
| 28 |
+
"Enabled": true
|
| 29 |
+
},
|
| 30 |
+
{
|
| 31 |
+
"Name": "MovieRenderPipeline",
|
| 32 |
+
"Enabled": true
|
| 33 |
+
},
|
| 34 |
+
{
|
| 35 |
+
"Name": "MoviePipelineMaskRenderPass",
|
| 36 |
+
"Enabled": true
|
| 37 |
+
},
|
| 38 |
+
{
|
| 39 |
+
"Name": "GeometryScripting",
|
| 40 |
+
"Enabled": true
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"Name": "PythonFoundationPackages",
|
| 44 |
+
"Enabled": true
|
| 45 |
+
},
|
| 46 |
+
{
|
| 47 |
+
"Name": "PCG",
|
| 48 |
+
"Enabled": true
|
| 49 |
+
},
|
| 50 |
+
{
|
| 51 |
+
"Name": "PCGBiomeCore",
|
| 52 |
+
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# PhysInOne Validation 3D Assets
|
| 2 |
+
|
| 3 |
+
This guide explains how to download, extract, and open the public PhysInOne
|
| 4 |
+
validation 3D asset release. The release contains the Unreal Engine project
|
| 5 |
+
files and validation resources for 1,000 scenes.
|
| 6 |
+
|
| 7 |
+
Repository location:
|
| 8 |
+
|
| 9 |
+
[`3D Assets/PhysicBenchmark`](https://huggingface.co/datasets/vLAR/PhysInOne/tree/main/3D%20Assets/PhysicBenchmark)
|
| 10 |
+
|
| 11 |
+
## Requirements
|
| 12 |
+
|
| 13 |
+
- Unreal Engine **5.5.4**
|
| 14 |
+
- Python 3.9 or newer for the automated downloader
|
| 15 |
+
- `huggingface_hub`; `tqdm` is recommended for progress display
|
| 16 |
+
- At least **50–60 GiB of free disk space** when keeping both ZIP files and
|
| 17 |
+
extracted assets
|
| 18 |
+
|
| 19 |
+
Windows is recommended for the simplest Unreal Engine setup. Linux is also
|
| 20 |
+
supported, but Unreal Engine installation, platform plugins, permissions, and
|
| 21 |
+
case-sensitive paths may require additional configuration.
|
| 22 |
+
|
| 23 |
+
## Automated setup
|
| 24 |
+
|
| 25 |
+
Install the Python dependencies:
|
| 26 |
+
|
| 27 |
+
```bash
|
| 28 |
+
pip install -U huggingface_hub tqdm
|
| 29 |
+
```
|
| 30 |
+
|
| 31 |
+
Download the script, release lists, and this guide:
|
| 32 |
+
|
| 33 |
+
```bash
|
| 34 |
+
hf download vLAR/PhysInOne \
|
| 35 |
+
"PhysInOne Utils/scripts/download_3d_assets.py" \
|
| 36 |
+
"PhysInOne Utils/3d_assets_lists/validation.txt" \
|
| 37 |
+
"PhysInOne Utils/3d_assets_lists/validation_archives.txt" \
|
| 38 |
+
"PhysInOne Utils/3d_assets_lists/summary.json" \
|
| 39 |
+
"PhysInOne Utils/3D_ASSETS_DOWNLOAD.md" \
|
| 40 |
+
--repo-type dataset \
|
| 41 |
+
--local-dir .
|
| 42 |
+
```
|
| 43 |
+
|
| 44 |
+
Run the downloader:
|
| 45 |
+
|
| 46 |
+
```bash
|
| 47 |
+
python "PhysInOne Utils/scripts/download_3d_assets.py" \
|
| 48 |
+
--output-dir ./PhysInOne-3D-Assets
|
| 49 |
+
```
|
| 50 |
+
|
| 51 |
+
The default command performs all of the following:
|
| 52 |
+
|
| 53 |
+
1. Downloads the exact validation release file list.
|
| 54 |
+
2. Preserves the Hugging Face repository hierarchy.
|
| 55 |
+
3. Validates ZIP paths and rejects unsafe archive members.
|
| 56 |
+
4. Extracts all eight ZIP files into their correct parent directories.
|
| 57 |
+
5. Merges scene and trajectory batches without overwriting different files.
|
| 58 |
+
6. Writes resumable extraction markers and detailed success/failure logs.
|
| 59 |
+
|
| 60 |
+
After completion, the Unreal Engine project root is:
|
| 61 |
+
|
| 62 |
+
```text
|
| 63 |
+
PhysInOne-3D-Assets/3D Assets/PhysicBenchmark/
|
| 64 |
+
```
|
| 65 |
+
|
| 66 |
+
Open the project with Unreal Engine 5.5.4 by launching:
|
| 67 |
+
|
| 68 |
+
```text
|
| 69 |
+
PhysInOne-3D-Assets/3D Assets/PhysicBenchmark/PhysInOne.uproject
|
| 70 |
+
```
|
| 71 |
+
|
| 72 |
+
## Download without extraction
|
| 73 |
+
|
| 74 |
+
To download the released files but keep every archive compressed:
|
| 75 |
+
|
| 76 |
+
```bash
|
| 77 |
+
python "PhysInOne Utils/scripts/download_3d_assets.py" \
|
| 78 |
+
--output-dir ./PhysInOne-3D-Assets \
|
| 79 |
+
--no-extract
|
| 80 |
+
```
|
| 81 |
+
|
| 82 |
+
You can run the default command later with the same output directory to extract
|
| 83 |
+
the archives.
|
| 84 |
+
|
| 85 |
+
## Save disk space
|
| 86 |
+
|
| 87 |
+
To delete each ZIP only after it has been completely extracted and verified:
|
| 88 |
+
|
| 89 |
+
```bash
|
| 90 |
+
python "PhysInOne Utils/scripts/download_3d_assets.py" \
|
| 91 |
+
--output-dir ./PhysInOne-3D-Assets \
|
| 92 |
+
--delete-zip-after-extract
|
| 93 |
+
```
|
| 94 |
+
|
| 95 |
+
Completion markers prevent successfully extracted and deleted archives from
|
| 96 |
+
being downloaded again when the same command is resumed. Do not delete the
|
| 97 |
+
`.physinone_extract_status/` directories if this behavior is required.
|
| 98 |
+
|
| 99 |
+
## Release contents
|
| 100 |
+
|
| 101 |
+
The current validation release contains:
|
| 102 |
+
|
| 103 |
+
- 4,299 downloadable files
|
| 104 |
+
- 8 ZIP archives
|
| 105 |
+
- Approximately 22.25 GiB of downloaded data
|
| 106 |
+
- Scene and trajectory resources for 1,000 validation scenes
|
| 107 |
+
- Shared Unreal Engine project content and dependencies required by the release
|
| 108 |
+
|
| 109 |
+
The exact maintained lists are available here:
|
| 110 |
+
|
| 111 |
+
- [`validation.txt`](https://huggingface.co/datasets/vLAR/PhysInOne/blob/main/PhysInOne%20Utils/3d_assets_lists/validation.txt): every released file
|
| 112 |
+
- [`validation_archives.txt`](https://huggingface.co/datasets/vLAR/PhysInOne/blob/main/PhysInOne%20Utils/3d_assets_lists/validation_archives.txt): the eight archives that must be extracted
|
| 113 |
+
- [`summary.json`](https://huggingface.co/datasets/vLAR/PhysInOne/blob/main/PhysInOne%20Utils/3d_assets_lists/summary.json): release counts and byte sizes
|
| 114 |
+
|
| 115 |
+
This is a validation release. The full training asset archives are not included
|
| 116 |
+
in this download list.
|
| 117 |
+
|
| 118 |
+
## Archives and extraction destinations
|
| 119 |
+
|
| 120 |
+
Every ZIP must be extracted **in place**, meaning into the ZIP's current parent
|
| 121 |
+
directory. Do not extract all archives into one common folder.
|
| 122 |
+
|
| 123 |
+
| Archive, relative to `PhysicBenchmark/` | Extract in |
|
| 124 |
+
| --- | --- |
|
| 125 |
+
| `Content/PhysInOne/BackGrounds_raw/Val.zip` | `Content/PhysInOne/BackGrounds_raw/` |
|
| 126 |
+
| `Content/PhysInOne/BreakableObjects/Val.zip` | `Content/PhysInOne/BreakableObjects/` |
|
| 127 |
+
| `Content/PhysInOne/InteractableObjects/Val.zip` | `Content/PhysInOne/InteractableObjects/` |
|
| 128 |
+
| `Content/PhysInOne/MaterialsAppearance/Val.zip` | `Content/PhysInOne/MaterialsAppearance/` |
|
| 129 |
+
| `Content/PhysInOne/MaterialsPhysics/Val.zip` | `Content/PhysInOne/MaterialsPhysics/` |
|
| 130 |
+
| `Content/PhysInOne/SolidObjects/Val.zip` | `Content/PhysInOne/SolidObjects/` |
|
| 131 |
+
| `Content/PhysInOne/Scenes/val_scenes_batch_0000.zip` | `Content/PhysInOne/Scenes/` |
|
| 132 |
+
| `Content/PhysInOne/Trajectories/val_trajectory_batch_0000.zip` | `Content/PhysInOne/Trajectories/` |
|
| 133 |
+
|
| 134 |
+
The six `Val.zip` archives contain a top-level `Val/` folder. The scene and
|
| 135 |
+
trajectory batch archives also contain paths beginning with `Val/`. Extracting
|
| 136 |
+
each archive into its listed parent produces the correct Unreal Engine content
|
| 137 |
+
layout.
|
| 138 |
+
|
| 139 |
+
## Expected project structure
|
| 140 |
+
|
| 141 |
+
After extraction, preserve the directory names and hierarchy exactly. In
|
| 142 |
+
particular, do not rename `BackGrounds_raw`, `__ExternalActors__`, or
|
| 143 |
+
`__ExternalObjects__`.
|
| 144 |
+
|
| 145 |
+
```text
|
| 146 |
+
PhysicBenchmark/
|
| 147 |
+
├── PhysInOne.uproject
|
| 148 |
+
├── Config/
|
| 149 |
+
├── DerivedDataCache/
|
| 150 |
+
└── Content/
|
| 151 |
+
├── Collections/
|
| 152 |
+
├── Ice/
|
| 153 |
+
├── StarterContent/
|
| 154 |
+
├── __ExternalActors__/
|
| 155 |
+
├── __ExternalObjects__/
|
| 156 |
+
└── PhysInOne/
|
| 157 |
+
├── Backgrounds/
|
| 158 |
+
├── BackGrounds_raw/
|
| 159 |
+
│ └── Val/
|
| 160 |
+
├── BreakableObjects/
|
| 161 |
+
│ └── Val/
|
| 162 |
+
├── InteractableObjects/
|
| 163 |
+
│ └── Val/
|
| 164 |
+
├── MaterialsAppearance/
|
| 165 |
+
│ └── Val/
|
| 166 |
+
├── MaterialsPhysics/
|
| 167 |
+
│ └── Val/
|
| 168 |
+
├── Microsoft/
|
| 169 |
+
├── SolidObjects/
|
| 170 |
+
│ └── Val/
|
| 171 |
+
├── Scenes/
|
| 172 |
+
│ └── Val/
|
| 173 |
+
└── Trajectories/
|
| 174 |
+
└── Val/
|
| 175 |
+
```
|
| 176 |
+
|
| 177 |
+
Unreal Engine resolves content by project-relative package paths. Changing this
|
| 178 |
+
layout can cause missing asset references or prevent levels from loading.
|
| 179 |
+
|
| 180 |
+
## Resume and logs
|
| 181 |
+
|
| 182 |
+
The downloader is safe to run again with the same output directory. Completed
|
| 183 |
+
downloads are reused by `huggingface_hub`, existing identical extracted files
|
| 184 |
+
are retained, and archives with complete markers are skipped.
|
| 185 |
+
|
| 186 |
+
Logs are written to:
|
| 187 |
+
|
| 188 |
+
```text
|
| 189 |
+
<output-dir>/_3d_asset_download_logs/YYYYMMDD_HHMMSS/
|
| 190 |
+
├── downloads.tsv
|
| 191 |
+
├── extraction.tsv
|
| 192 |
+
├── failures.tsv
|
| 193 |
+
├── events.jsonl
|
| 194 |
+
└── summary.json
|
| 195 |
+
```
|
| 196 |
+
|
| 197 |
+
If a run is interrupted, execute the same command again and review
|
| 198 |
+
`failures.tsv` and `summary.json` after completion.
|
| 199 |
+
|
| 200 |
+
For a slower or rate-limited network, reduce concurrency:
|
| 201 |
+
|
| 202 |
+
```bash
|
| 203 |
+
python "PhysInOne Utils/scripts/download_3d_assets.py" \
|
| 204 |
+
--output-dir ./PhysInOne-3D-Assets \
|
| 205 |
+
--workers 2
|
| 206 |
+
```
|
| 207 |
+
|
| 208 |
+
Public downloads do not require authentication. Do not place access credentials
|
| 209 |
+
in source code, shared shell scripts, commands, or download logs.
|
| 210 |
+
|
| 211 |
+
## Contact
|
| 212 |
+
|
| 213 |
+
For setup questions, contact Siyuan Zhou at
|
| 214 |
+
`siyuan.zhou@connect.polyu.hk`. WeChat: `aify20001009`.
|
| 215 |
+
|
Utils/3d_assets_lists/summary.json
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bytes": 23895880477,
|
| 3 |
+
"files": 4299,
|
| 4 |
+
"release": "validation",
|
| 5 |
+
"remote_root": "3D Assets/PhysicBenchmark",
|
| 6 |
+
"repo_id": "vLAR/PhysInOne",
|
| 7 |
+
"scenes": 1000,
|
| 8 |
+
"zip_bytes": 21249298639,
|
| 9 |
+
"zip_files": 8
|
| 10 |
+
}
|
Utils/3d_assets_lists/validation.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
Utils/3d_assets_lists/validation_archives.txt
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
3D Assets/PhysicBenchmark/Content/PhysInOne/BackGrounds_raw/Val.zip
|
| 2 |
+
3D Assets/PhysicBenchmark/Content/PhysInOne/BreakableObjects/Val.zip
|
| 3 |
+
3D Assets/PhysicBenchmark/Content/PhysInOne/InteractableObjects/Val.zip
|
| 4 |
+
3D Assets/PhysicBenchmark/Content/PhysInOne/MaterialsAppearance/Val.zip
|
| 5 |
+
3D Assets/PhysicBenchmark/Content/PhysInOne/MaterialsPhysics/Val.zip
|
| 6 |
+
3D Assets/PhysicBenchmark/Content/PhysInOne/Scenes/val_scenes_batch_0000.zip
|
| 7 |
+
3D Assets/PhysicBenchmark/Content/PhysInOne/SolidObjects/Val.zip
|
| 8 |
+
3D Assets/PhysicBenchmark/Content/PhysInOne/Trajectories/val_trajectory_batch_0000.zip
|
Utils/LEADERBOARD_DOWNLOAD.md
ADDED
|
@@ -0,0 +1,216 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# PhysInOne Leaderboard Evaluation Data
|
| 2 |
+
|
| 3 |
+
This guide explains how to download the public evaluation data for all four
|
| 4 |
+
PhysInOne Leaderboard tasks:
|
| 5 |
+
|
| 6 |
+
- Video Generation
|
| 7 |
+
- Future Prediction
|
| 8 |
+
- Physical Properties Estimation
|
| 9 |
+
- Motion Transfer
|
| 10 |
+
|
| 11 |
+
The data is hosted in the public
|
| 12 |
+
[`vLAR/PhysInOne`](https://huggingface.co/datasets/vLAR/PhysInOne) dataset
|
| 13 |
+
repository under [`Leaderboard/`](https://huggingface.co/datasets/vLAR/PhysInOne/tree/main/Leaderboard).
|
| 14 |
+
No Hugging Face access token is required for public downloads.
|
| 15 |
+
|
| 16 |
+
## Install
|
| 17 |
+
|
| 18 |
+
Python 3.9 or newer is recommended.
|
| 19 |
+
|
| 20 |
+
```bash
|
| 21 |
+
pip install -U huggingface_hub tqdm
|
| 22 |
+
```
|
| 23 |
+
|
| 24 |
+
Download the utility script:
|
| 25 |
+
|
| 26 |
+
```bash
|
| 27 |
+
hf download vLAR/PhysInOne \
|
| 28 |
+
"PhysInOne Utils/scripts/download_leaderboard.py" \
|
| 29 |
+
--repo-type dataset \
|
| 30 |
+
--local-dir .
|
| 31 |
+
```
|
| 32 |
+
|
| 33 |
+
The Python script automatically fetches the required task manifest from the
|
| 34 |
+
public Hugging Face repository for the selected `--task` and `--revision`. You
|
| 35 |
+
do not need to download any TXT manifest files manually.
|
| 36 |
+
|
| 37 |
+
## Quick start
|
| 38 |
+
|
| 39 |
+
Run these commands from the directory containing the downloaded
|
| 40 |
+
`PhysInOne Utils/` folder.
|
| 41 |
+
|
| 42 |
+
Download all four tasks:
|
| 43 |
+
|
| 44 |
+
```bash
|
| 45 |
+
python "PhysInOne Utils/scripts/download_leaderboard.py" \
|
| 46 |
+
--task all \
|
| 47 |
+
--output-dir ./PhysInOne-Leaderboard
|
| 48 |
+
```
|
| 49 |
+
|
| 50 |
+
Download one task:
|
| 51 |
+
|
| 52 |
+
```bash
|
| 53 |
+
python "PhysInOne Utils/scripts/download_leaderboard.py" \
|
| 54 |
+
--task future-prediction \
|
| 55 |
+
--output-dir ./PhysInOne-Leaderboard
|
| 56 |
+
```
|
| 57 |
+
|
| 58 |
+
Download multiple tasks in one run:
|
| 59 |
+
|
| 60 |
+
```bash
|
| 61 |
+
python "PhysInOne Utils/scripts/download_leaderboard.py" \
|
| 62 |
+
--task video-generation motion-transfer \
|
| 63 |
+
--output-dir ./PhysInOne-Leaderboard
|
| 64 |
+
```
|
| 65 |
+
|
| 66 |
+
## Task names and file lists
|
| 67 |
+
|
| 68 |
+
For each selected task, the downloader automatically fetches a maintained TXT
|
| 69 |
+
manifest containing one exact repository file path per line. It uses that
|
| 70 |
+
manifest instead of scanning or downloading unrelated parts of the large
|
| 71 |
+
PhysInOne repository. The links below are provided for inspection and
|
| 72 |
+
reproducibility; manual manifest downloads are not required.
|
| 73 |
+
|
| 74 |
+
| `--task` value | Repository directory | Maintained file list |
|
| 75 |
+
| --- | --- | --- |
|
| 76 |
+
| `video-generation` | `Leaderboard/Video Generation/` | [`video-generation.txt`](https://huggingface.co/datasets/vLAR/PhysInOne/blob/main/PhysInOne%20Utils/leaderboard_lists/video-generation.txt) |
|
| 77 |
+
| `future-prediction` | `Leaderboard/Future Prediction/` | [`future-prediction.txt`](https://huggingface.co/datasets/vLAR/PhysInOne/blob/main/PhysInOne%20Utils/leaderboard_lists/future-prediction.txt) |
|
| 78 |
+
| `physical-properties-estimation` | `Leaderboard/Physical Properties Estimation/` | [`physical-properties-estimation.txt`](https://huggingface.co/datasets/vLAR/PhysInOne/blob/main/PhysInOne%20Utils/leaderboard_lists/physical-properties-estimation.txt) |
|
| 79 |
+
| `motion-transfer` | `Leaderboard/Motion Transfer/` | [`motion-transfer.txt`](https://huggingface.co/datasets/vLAR/PhysInOne/blob/main/PhysInOne%20Utils/leaderboard_lists/motion-transfer.txt) |
|
| 80 |
+
|
| 81 |
+
Use `--list-only` to print the selected remote paths without downloading data:
|
| 82 |
+
|
| 83 |
+
```bash
|
| 84 |
+
python "PhysInOne Utils/scripts/download_leaderboard.py" \
|
| 85 |
+
--task motion-transfer \
|
| 86 |
+
--list-only
|
| 87 |
+
```
|
| 88 |
+
|
| 89 |
+
Use `--dry-run` to show the number of selected files:
|
| 90 |
+
|
| 91 |
+
```bash
|
| 92 |
+
python "PhysInOne Utils/scripts/download_leaderboard.py" \
|
| 93 |
+
--task all \
|
| 94 |
+
--dry-run
|
| 95 |
+
```
|
| 96 |
+
|
| 97 |
+
## Download individual scenes
|
| 98 |
+
|
| 99 |
+
`--scene` performs a case-insensitive substring match against repository paths.
|
| 100 |
+
It accepts a complete scene name or the unique six-character scene ID and can
|
| 101 |
+
be repeated.
|
| 102 |
+
|
| 103 |
+
```bash
|
| 104 |
+
python "PhysInOne Utils/scripts/download_leaderboard.py" \
|
| 105 |
+
--task future-prediction \
|
| 106 |
+
--scene yUlWPB \
|
| 107 |
+
--output-dir ./PhysInOne-Leaderboard
|
| 108 |
+
```
|
| 109 |
+
|
| 110 |
+
```bash
|
| 111 |
+
python "PhysInOne Utils/scripts/download_leaderboard.py" \
|
| 112 |
+
--task motion-transfer \
|
| 113 |
+
--scene B15ta6 \
|
| 114 |
+
--scene 7omQio \
|
| 115 |
+
--output-dir ./PhysInOne-Leaderboard
|
| 116 |
+
```
|
| 117 |
+
|
| 118 |
+
## ZIP extraction
|
| 119 |
+
|
| 120 |
+
By default, archives remain compressed. This saves disk space and preserves the
|
| 121 |
+
exact released artifacts. Add `--extract` to validate each ZIP with a CRC check
|
| 122 |
+
and safely extract it next to the archive:
|
| 123 |
+
|
| 124 |
+
```bash
|
| 125 |
+
python "PhysInOne Utils/scripts/download_leaderboard.py" \
|
| 126 |
+
--task physical-properties-estimation \
|
| 127 |
+
--output-dir ./PhysInOne-Leaderboard \
|
| 128 |
+
--extract
|
| 129 |
+
```
|
| 130 |
+
|
| 131 |
+
To remove an archive after successful extraction, explicitly add
|
| 132 |
+
`--delete-zip-after-extract`:
|
| 133 |
+
|
| 134 |
+
```bash
|
| 135 |
+
python "PhysInOne Utils/scripts/download_leaderboard.py" \
|
| 136 |
+
--task future-prediction \
|
| 137 |
+
--output-dir ./PhysInOne-Leaderboard \
|
| 138 |
+
--extract \
|
| 139 |
+
--delete-zip-after-extract
|
| 140 |
+
```
|
| 141 |
+
|
| 142 |
+
Allow enough free space before extracting. Keeping both a ZIP and its extracted
|
| 143 |
+
contents can temporarily require approximately twice the archive's disk space.
|
| 144 |
+
|
| 145 |
+
## Released contents
|
| 146 |
+
|
| 147 |
+
### Video Generation
|
| 148 |
+
|
| 149 |
+
Each scene directory contains the first RGB frame from the selected static
|
| 150 |
+
camera, the first RGB frame from the moving camera, the two corresponding
|
| 151 |
+
Blender camera JSON files, and `caption.txt`.
|
| 152 |
+
|
| 153 |
+
### Future Prediction
|
| 154 |
+
|
| 155 |
+
Each scene ZIP contains only fixed training views. It includes RGB frames
|
| 156 |
+
`0000.jpg` through `0074.jpg` and the three split descriptions
|
| 157 |
+
`transforms_train.json`, `transforms_val.json`, and `transforms_test.json`.
|
| 158 |
+
Novel views and `CineCamera_Moving` are excluded from these public inputs.
|
| 159 |
+
|
| 160 |
+
### Physical Properties Estimation
|
| 161 |
+
|
| 162 |
+
Each scene ZIP contains background images for novel views; background, RGB, and
|
| 163 |
+
segmentation data for training views; camera JSON files for cameras 0 through
|
| 164 |
+
14; `particle_materials.json`; and `recorder_stats.json`. Novel views are
|
| 165 |
+
selected from each scene's transform metadata rather than assumed to have fixed
|
| 166 |
+
camera indices. Shared supplementary resources are stored under
|
| 167 |
+
`test_supp_info/`.
|
| 168 |
+
|
| 169 |
+
### Motion Transfer
|
| 170 |
+
|
| 171 |
+
Each scene ZIP contains source-video RGB frames, the first reference frame for
|
| 172 |
+
the target/origin scene, and `caption.txt`, organized by the two selected camera
|
| 173 |
+
views.
|
| 174 |
+
|
| 175 |
+
## Output layout
|
| 176 |
+
|
| 177 |
+
The downloader preserves the repository hierarchy:
|
| 178 |
+
|
| 179 |
+
```text
|
| 180 |
+
PhysInOne-Leaderboard/
|
| 181 |
+
├── Leaderboard/
|
| 182 |
+
│ ├── Video Generation/
|
| 183 |
+
│ ├── Future Prediction/
|
| 184 |
+
│ ├── Physical Properties Estimation/
|
| 185 |
+
│ └── Motion Transfer/
|
| 186 |
+
└── _download_logs/
|
| 187 |
+
└── YYYYMMDD_HHMMSS/
|
| 188 |
+
├── success.tsv
|
| 189 |
+
├── failures.tsv
|
| 190 |
+
├── events.jsonl
|
| 191 |
+
└── summary.json
|
| 192 |
+
```
|
| 193 |
+
|
| 194 |
+
Hugging Face may also create a hidden local cache/metadata directory inside the
|
| 195 |
+
output root. It is used to resume and avoid redundant transfers.
|
| 196 |
+
|
| 197 |
+
## Resume and troubleshooting
|
| 198 |
+
|
| 199 |
+
Downloads are handled by `huggingface_hub`. Re-running the same command reuses
|
| 200 |
+
the local Hugging Face metadata and cache, so completed files are not downloaded
|
| 201 |
+
again unnecessarily. Review `failures.tsv` after each run and repeat the same
|
| 202 |
+
command to retry failed files.
|
| 203 |
+
|
| 204 |
+
The default is four concurrent downloads. For a slow or rate-limited network,
|
| 205 |
+
reduce concurrency:
|
| 206 |
+
|
| 207 |
+
```bash
|
| 208 |
+
python "PhysInOne Utils/scripts/download_leaderboard.py" \
|
| 209 |
+
--task all \
|
| 210 |
+
--output-dir ./PhysInOne-Leaderboard \
|
| 211 |
+
--workers 2
|
| 212 |
+
```
|
| 213 |
+
|
| 214 |
+
Public downloads do not require authentication. Do not place access tokens in
|
| 215 |
+
source code, shared shell scripts, commands, or download logs.
|
| 216 |
+
|
Utils/leaderboard_lists/future-prediction.txt
ADDED
|
@@ -0,0 +1,103 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Leaderboard/Future Prediction/DoublePhysics/AccelConcaveSpin_AccelSurfaceSpin__bg280__yUlWPB_trajectory.zip
|
| 2 |
+
Leaderboard/Future Prediction/DoublePhysics/AccelPanelSpin_BalloonFloat__bg202__mZuITT_trajectory.zip
|
| 3 |
+
Leaderboard/Future Prediction/DoublePhysics/BalloonLift_ChainSuspend__bg267__m1Cqz7_trajectory.zip
|
| 4 |
+
Leaderboard/Future Prediction/DoublePhysics/BalloonTether_BlockWallCollapse__bg227__74YCgm_trajectory.zip
|
| 5 |
+
Leaderboard/Future Prediction/DoublePhysics/CatapultLaunch_StickSupportFail__bg204__ulAbpI_trajectory.zip
|
| 6 |
+
Leaderboard/Future Prediction/DoublePhysics/DynMirrorRedirect_MirrorReflect__bg264__NxPd1o_trajectory.zip
|
| 7 |
+
Leaderboard/Future Prediction/DoublePhysics/ElasticCouple_CartMove__bg253__GSA6mr_trajectory.zip
|
| 8 |
+
Leaderboard/Future Prediction/DoublePhysics/ElasticFall_PlasticineFall__bg852__2QHJQg_trajectory.zip
|
| 9 |
+
Leaderboard/Future Prediction/DoublePhysics/FixedArrayRedirect_FixedConcaveRedirect__bg210__L2y3J0_trajectory.zip
|
| 10 |
+
Leaderboard/Future Prediction/DoublePhysics/FixedConvexRedirect_RotBoardInertia__bg234__fT2JKm_trajectory.zip
|
| 11 |
+
Leaderboard/Future Prediction/DoublePhysics/FixedPlanarRedirect_LaserBlock__bg299__TfT2x2_trajectory.zip
|
| 12 |
+
Leaderboard/Future Prediction/DoublePhysics/FloatOnLiquid_DropInLiquid__bg509__lRK4PA_trajectory.zip
|
| 13 |
+
Leaderboard/Future Prediction/DoublePhysics/FrictionStop_CrankPush__bg261__iFf7zo_trajectory.zip
|
| 14 |
+
Leaderboard/Future Prediction/DoublePhysics/ImpactFracture_DoublePendulum__bg215__RErDnS_trajectory.zip
|
| 15 |
+
Leaderboard/Future Prediction/DoublePhysics/LinCarryInertia_SimplePendulum__bg294__Ty0PCX_trajectory.zip
|
| 16 |
+
Leaderboard/Future Prediction/DoublePhysics/LiquidMultiTransfers_LiquidRise__bg544__WYOBHP_trajectory.zip
|
| 17 |
+
Leaderboard/Future Prediction/DoublePhysics/LiquidThroughGrid_StickyToObjects__bg670__EAVM3Z_trajectory.zip
|
| 18 |
+
Leaderboard/Future Prediction/DoublePhysics/MagnetAttract_MagnetRepel__bg265__rel0pp_trajectory.zip
|
| 19 |
+
Leaderboard/Future Prediction/DoublePhysics/MirrorFragmentReflect_RotTurnableInertia__bg286__yAEdAd_trajectory.zip
|
| 20 |
+
Leaderboard/Future Prediction/DoublePhysics/MovingHitsFixed_WindGravityBalance__bg299__l185PI_trajectory.zip
|
| 21 |
+
Leaderboard/Future Prediction/DoublePhysics/MovingHitsFixed_WindPushStationary__bg298__ifDc18_trajectory.zip
|
| 22 |
+
Leaderboard/Future Prediction/DoublePhysics/MovingHitsStationary_MovingHitsMoving__bg242__CrPMCl_trajectory.zip
|
| 23 |
+
Leaderboard/Future Prediction/DoublePhysics/MovingObjDriveLiquid_LiquidTransfer__bg596__hjv8Xm_trajectory.zip
|
| 24 |
+
Leaderboard/Future Prediction/DoublePhysics/NewtonianFluidFall_GranularFall__bg851__3GTIkU_trajectory.zip
|
| 25 |
+
Leaderboard/Future Prediction/DoublePhysics/ObliqueProjectile_RollDownSlope__bg250__s663ZS_trajectory.zip
|
| 26 |
+
Leaderboard/Future Prediction/DoublePhysics/RollUpSlope_AccelPanelSpin__bg256__ied5pR_trajectory.zip
|
| 27 |
+
Leaderboard/Future Prediction/DoublePhysics/SeesawCenterPivot_SeesawOffsetPivot__bg221__hudzDK_trajectory.zip
|
| 28 |
+
Leaderboard/Future Prediction/DoublePhysics/SpringCompress_SpringStretch__bg304__iY1AZp_trajectory.zip
|
| 29 |
+
Leaderboard/Future Prediction/DoublePhysics/UniformConcaveSpin_SpringboardRebound__bg254__hhDGVy_trajectory.zip
|
| 30 |
+
Leaderboard/Future Prediction/DoublePhysics/VerticalFall_UniformPanelSpin__bg261__OCFwnO_trajectory.zip
|
| 31 |
+
Leaderboard/Future Prediction/DoublePhysics/WindDeflectMotion_UniformSurfaceSpin__bg242__EvkQJ4_trajectory.zip
|
| 32 |
+
Leaderboard/Future Prediction/DoublePhysics/WindPushSameDir_WindPushOppDir__bg223__K3BpfI_trajectory.zip
|
| 33 |
+
Leaderboard/Future Prediction/SinglePhysics/AccelConcaveSpin__bg212__NFdwUo_trajectory.zip
|
| 34 |
+
Leaderboard/Future Prediction/SinglePhysics/AccelPanelSpin__bg262__djc1vR_trajectory.zip
|
| 35 |
+
Leaderboard/Future Prediction/SinglePhysics/AccelSurfaceSpin__bg222__QZ2PE4_trajectory.zip
|
| 36 |
+
Leaderboard/Future Prediction/SinglePhysics/BalloonFloat__bg302__p4KZYD_trajectory.zip
|
| 37 |
+
Leaderboard/Future Prediction/SinglePhysics/BalloonLift__bg292__Qt12QQ_trajectory.zip
|
| 38 |
+
Leaderboard/Future Prediction/SinglePhysics/BalloonTether__bg238__DxDc80_trajectory.zip
|
| 39 |
+
Leaderboard/Future Prediction/SinglePhysics/BlockWallCollapse__bg298__FNYLX6_trajectory.zip
|
| 40 |
+
Leaderboard/Future Prediction/SinglePhysics/CartMove__bg206__kYmfIb_trajectory.zip
|
| 41 |
+
Leaderboard/Future Prediction/SinglePhysics/CatapultLaunch__bg285__oEOde8_trajectory.zip
|
| 42 |
+
Leaderboard/Future Prediction/SinglePhysics/ChainSuspend__bg231__ryNCAj_trajectory.zip
|
| 43 |
+
Leaderboard/Future Prediction/SinglePhysics/CrankPush__bg244__bthMYh_trajectory.zip
|
| 44 |
+
Leaderboard/Future Prediction/SinglePhysics/DoublePendulum__bg222__Nzo0Eh_trajectory.zip
|
| 45 |
+
Leaderboard/Future Prediction/SinglePhysics/DynMirrorRedirect__bg292__41t9VE_trajectory.zip
|
| 46 |
+
Leaderboard/Future Prediction/SinglePhysics/ElasticCouple__bg227__JKaxKZ_trajectory.zip
|
| 47 |
+
Leaderboard/Future Prediction/SinglePhysics/ElasticFall__bg852__rueoHR_trajectory.zip
|
| 48 |
+
Leaderboard/Future Prediction/SinglePhysics/FixedArrayRedirect__bg299__ZepDd8_trajectory.zip
|
| 49 |
+
Leaderboard/Future Prediction/SinglePhysics/FixedConcaveRedirect__bg293__coyuOe_trajectory.zip
|
| 50 |
+
Leaderboard/Future Prediction/SinglePhysics/FixedConvexRedirect__bg285__n1yPPu_trajectory.zip
|
| 51 |
+
Leaderboard/Future Prediction/SinglePhysics/GranularFall__bg853__ZBMM7p_trajectory.zip
|
| 52 |
+
Leaderboard/Future Prediction/SinglePhysics/LiquidRefraction__bg707__nAoSt2_trajectory.zip
|
| 53 |
+
Leaderboard/Future Prediction/SinglePhysics/LiquidTension__bg622__aEkUTp_trajectory.zip
|
| 54 |
+
Leaderboard/Future Prediction/SinglePhysics/MagnetAttract__bg200__lf9N8U_trajectory.zip
|
| 55 |
+
Leaderboard/Future Prediction/SinglePhysics/MagnetRepel__bg200__xGZUDW_trajectory.zip
|
| 56 |
+
Leaderboard/Future Prediction/SinglePhysics/MovingHitsFixed__bg302__sItDt6_trajectory.zip
|
| 57 |
+
Leaderboard/Future Prediction/SinglePhysics/MovingHitsMoving__bg227__kkMgg3_trajectory.zip
|
| 58 |
+
Leaderboard/Future Prediction/SinglePhysics/MovingHitsStationary__bg279__TsWOVY_trajectory.zip
|
| 59 |
+
Leaderboard/Future Prediction/SinglePhysics/NewtonianFluidFall__bg851__ksCdUy_trajectory.zip
|
| 60 |
+
Leaderboard/Future Prediction/SinglePhysics/NonNewtonianFluidFall__bg851__CUmiwi_trajectory.zip
|
| 61 |
+
Leaderboard/Future Prediction/SinglePhysics/PlasticineFall__bg853__JqI201_trajectory.zip
|
| 62 |
+
Leaderboard/Future Prediction/SinglePhysics/RollUpSlope__bg222__U5gBBT_trajectory.zip
|
| 63 |
+
Leaderboard/Future Prediction/SinglePhysics/StickyFromObjects__bg550__69Heh3_trajectory.zip
|
| 64 |
+
Leaderboard/Future Prediction/TriplePhysics/BalloonFloat_BalloonLift_LaserBlock__bg240__i1Ifib_trajectory.zip
|
| 65 |
+
Leaderboard/Future Prediction/TriplePhysics/BalloonTether_FixedConvexRedirect_MirrorReflect__bg286__Sc6DUR_trajectory.zip
|
| 66 |
+
Leaderboard/Future Prediction/TriplePhysics/DropInLiquid_LiquidCarryMovingObj_LiquidTransfer__bg685__OU1tWD_trajectory.zip
|
| 67 |
+
Leaderboard/Future Prediction/TriplePhysics/ElasticFall_PlasticineFall_GranularFall__bg853__uzqMDe_trajectory.zip
|
| 68 |
+
Leaderboard/Future Prediction/TriplePhysics/FrictionStop_BalloonLift_StickSupportFail__bg246__XZiFvj_trajectory.zip
|
| 69 |
+
Leaderboard/Future Prediction/TriplePhysics/FrictionStop_SeesawOffsetPivot_BalloonLift__bg203__MAlrpr_trajectory.zip
|
| 70 |
+
Leaderboard/Future Prediction/TriplePhysics/ImpactFracture_BalloonTether_FixedConcaveRedirect__bg302__c7jIv7_trajectory.zip
|
| 71 |
+
Leaderboard/Future Prediction/TriplePhysics/ImpactFracture_MirrorFragmentReflect_CartMove__bg248__vfd9qM_trajectory.zip
|
| 72 |
+
Leaderboard/Future Prediction/TriplePhysics/LiquidCarryMovingObj_LiquidRise_JetLiquid__bg566__beJD8m_trajectory.zip
|
| 73 |
+
Leaderboard/Future Prediction/TriplePhysics/LiquidHitFixedObj_LiquidAcrossUneven_LiquidAlongContours__bg565__vTg7Bm_trajectory.zip
|
| 74 |
+
Leaderboard/Future Prediction/TriplePhysics/MagnetRepel_BalloonFloat_BalloonLift__bg207__Sb4Hsi_trajectory.zip
|
| 75 |
+
Leaderboard/Future Prediction/TriplePhysics/MirrorFragmentReflect_DynMirrorRedirect_MirrorReflect__bg299__cUcPzv_trajectory.zip
|
| 76 |
+
Leaderboard/Future Prediction/TriplePhysics/MirrorFragmentReflect_SpringboardRebound_MirrorReflect__bg204__3plqni_trajectory.zip
|
| 77 |
+
Leaderboard/Future Prediction/TriplePhysics/MovingHitsFixed_AccelPanelSpin_FrictionStop__bg292__T3rFSd_trajectory.zip
|
| 78 |
+
Leaderboard/Future Prediction/TriplePhysics/MovingHitsFixed_ElasticCouple_BalloonFloat__bg281__fUADj8_trajectory.zip
|
| 79 |
+
Leaderboard/Future Prediction/TriplePhysics/MovingHitsFixed_FrictionStop_BalloonTether__bg260__VfyYGz_trajectory.zip
|
| 80 |
+
Leaderboard/Future Prediction/TriplePhysics/MovingHitsFixed_MovingHitsMoving_RotTurnableInertia__bg261__v8ZFaw_trajectory.zip
|
| 81 |
+
Leaderboard/Future Prediction/TriplePhysics/MovingHitsMoving_ImpactFracture_FixedArrayRedirect__bg200__ikFNYR_trajectory.zip
|
| 82 |
+
Leaderboard/Future Prediction/TriplePhysics/MovingHitsMoving_ImpactFracture_MirrorReflect__bg264__xrKsUd_trajectory.zip
|
| 83 |
+
Leaderboard/Future Prediction/TriplePhysics/MovingHitsStationary_ObliqueProjectile_VerticalFall__bg222__Qzznk7_trajectory.zip
|
| 84 |
+
Leaderboard/Future Prediction/TriplePhysics/MovingHitsStationary_RollDownSlope_CatapultLaunch__bg289__3YHRsf_trajectory.zip
|
| 85 |
+
Leaderboard/Future Prediction/TriplePhysics/MovingHitsStationary_RollDownSlope_FixedPlanarRedirect__bg209__8k3SuZ_trajectory.zip
|
| 86 |
+
Leaderboard/Future Prediction/TriplePhysics/MovingHitsStationary_RollDownSlope_SimplePendulum__bg244__66TqQ5_trajectory.zip
|
| 87 |
+
Leaderboard/Future Prediction/TriplePhysics/MovingHitsStationary_RollDownSlope_SpringCompress__bg295__Sf64Sp_trajectory.zip
|
| 88 |
+
Leaderboard/Future Prediction/TriplePhysics/NewtonianFluidFall_NonNewtonianFluidFall_ElasticFall__bg852__EyPG9y_trajectory.zip
|
| 89 |
+
Leaderboard/Future Prediction/TriplePhysics/ObliqueProjectile_RollUpSlope_ChainSuspend__bg267__JaogRr_trajectory.zip
|
| 90 |
+
Leaderboard/Future Prediction/TriplePhysics/ObliqueProjectile_RollUpSlope_LinCarryInertia__bg222__CTFy4y_trajectory.zip
|
| 91 |
+
Leaderboard/Future Prediction/TriplePhysics/ObliqueProjectile_RollUpSlope_MagnetAttract__bg210__tUbbP1_trajectory.zip
|
| 92 |
+
Leaderboard/Future Prediction/TriplePhysics/RollDownSlope_RollUpSlope_MirrorFragmentReflect__bg266__ryc7c7_trajectory.zip
|
| 93 |
+
Leaderboard/Future Prediction/TriplePhysics/WindDeflectMotion_SeesawCenterPivot_BalloonTether__bg292__7JdiSA_trajectory.zip
|
| 94 |
+
Leaderboard/Future Prediction/TriplePhysics/WindDeflectMotion_VerticalFall_DoublePendulum__bg206__10pAkl_trajectory.zip
|
| 95 |
+
Leaderboard/Future Prediction/TriplePhysics/WindDeflectMotion_VerticalFall_UniformConcaveSpin__bg202__SZafgO_trajectory.zip
|
| 96 |
+
Leaderboard/Future Prediction/TriplePhysics/WindPushOppDir_SpringStretch_BalloonFloat__bg250__GWG0OJ_trajectory.zip
|
| 97 |
+
Leaderboard/Future Prediction/TriplePhysics/WindPushOppDir_VerticalFall_BlockWallCollapse__bg292__V5daqV_trajectory.zip
|
| 98 |
+
Leaderboard/Future Prediction/TriplePhysics/WindPushOppDir_WindDeflectMotion_AccelSurfaceSpin__bg262__ARn19P_trajectory.zip
|
| 99 |
+
Leaderboard/Future Prediction/TriplePhysics/WindPushSameDir_WindPushOppDir_UniformSurfaceSpin__bg222__EeWemv_trajectory.zip
|
| 100 |
+
Leaderboard/Future Prediction/TriplePhysics/WindPushStationary_UniformPanelSpin_BalloonFloat__bg250__659qpJ_trajectory.zip
|
| 101 |
+
Leaderboard/Future Prediction/TriplePhysics/WindPushStationary_WindPushSameDir_AccelConcaveSpin__bg291__S4A8wD_trajectory.zip
|
| 102 |
+
Leaderboard/Future Prediction/TriplePhysics/WindPushStationary_WindPushSameDir_CrankPush__bg281__7HsO29_trajectory.zip
|
| 103 |
+
Leaderboard/Future Prediction/TriplePhysics/W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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Leaderboard/Motion Transfer/DoublePhysics/MovingHitsFixed_RollUpSlope__bg182__tJqHNA_trajectory.zip
|
| 2 |
+
Leaderboard/Motion Transfer/DoublePhysics/MovingHitsMoving_ObliqueProjectile__bg177__T25qxa_trajectory.zip
|
| 3 |
+
Leaderboard/Motion Transfer/DoublePhysics/MovingHitsStationary_ObliqueProjectile__bg165__pOS6Xu_trajectory.zip
|
| 4 |
+
Leaderboard/Motion Transfer/DoublePhysics/MovingHitsStationary_RollDownSlope__bg171__8Vk9qD_trajectory.zip
|
| 5 |
+
Leaderboard/Motion Transfer/DoublePhysics/MovingHitsStationary_RollDownSlope__bg190__EKHD4c_trajectory.zip
|
| 6 |
+
Leaderboard/Motion Transfer/DoublePhysics/MovingHitsStationary_RollUpSlope__bg174__N6y01Z_trajectory.zip
|
| 7 |
+
Leaderboard/Motion Transfer/DoublePhysics/ObliqueProjectile_RollDownSlope__bg167__aDKc8W_trajectory.zip
|
| 8 |
+
Leaderboard/Motion Transfer/DoublePhysics/RollDownSlope_RollUpSlope__bg166__lFNaoh_trajectory.zip
|
| 9 |
+
Leaderboard/Motion Transfer/DoublePhysics/RollDownSlope_RollUpSlope__bg177__HLOoTv_trajectory.zip
|
| 10 |
+
Leaderboard/Motion Transfer/TriplePhysics/AccelConcaveSpin_FrictionStop_BalloonFloat__bg177__ztIf6l_trajectory.zip
|
| 11 |
+
Leaderboard/Motion Transfer/TriplePhysics/AccelConcaveSpin_ImpactFracture_MirrorFragmentReflect__bg165__PfuNfN_trajectory.zip
|
| 12 |
+
Leaderboard/Motion Transfer/TriplePhysics/AccelPanelSpin_BalloonTether_BalloonLift__bg180__dTqT2B_trajectory.zip
|
| 13 |
+
Leaderboard/Motion Transfer/TriplePhysics/AccelPanelSpin_FrictionStop_BalloonLift__bg161__PWuORg_trajectory.zip
|
| 14 |
+
Leaderboard/Motion Transfer/TriplePhysics/AccelPanelSpin_FrictionStop_MirrorReflect__bg151__XYF8bP_trajectory.zip
|
| 15 |
+
Leaderboard/Motion Transfer/TriplePhysics/BalloonFloat_BalloonLift_BlockWallCollapse__bg186__E6Ing1_trajectory.zip
|
| 16 |
+
Leaderboard/Motion Transfer/TriplePhysics/BalloonFloat_MirrorReflect_BlockWallCollapse__bg167__dCxcFr_trajectory.zip
|
| 17 |
+
Leaderboard/Motion Transfer/TriplePhysics/BalloonFloat_MirrorReflect_CatapultLaunch__bg167__P2au7f_trajectory.zip
|
| 18 |
+
Leaderboard/Motion Transfer/TriplePhysics/BalloonLift_LaserBlock_MirrorReflect__bg163__lVrSB4_trajectory.zip
|
| 19 |
+
Leaderboard/Motion Transfer/TriplePhysics/BalloonLift_MirrorReflect_RotTurnableInertia__bg178__RFawuv_trajectory.zip
|
| 20 |
+
Leaderboard/Motion Transfer/TriplePhysics/BalloonTether_BalloonLift_BlockWallCollapse__bg151__lYdEnL_trajectory.zip
|
| 21 |
+
Leaderboard/Motion Transfer/TriplePhysics/FrictionStop_BalloonFloat_BalloonTether__bg180__lDdPzV_trajectory.zip
|
| 22 |
+
Leaderboard/Motion Transfer/TriplePhysics/FrictionStop_BalloonFloat_MirrorReflect__bg180__8EOUtZ_trajectory.zip
|
| 23 |
+
Leaderboard/Motion Transfer/TriplePhysics/FrictionStop_BalloonFloat_RotBoardInertia__bg161__HCJlgt_trajectory.zip
|
| 24 |
+
Leaderboard/Motion Transfer/TriplePhysics/FrictionStop_BalloonLift_RotBoardInertia__bg167__NFHIrL_trajectory.zip
|
| 25 |
+
Leaderboard/Motion Transfer/TriplePhysics/FrictionStop_BalloonTether_BlockWallCollapse__bg163__7zfkGJ_trajectory.zip
|
| 26 |
+
Leaderboard/Motion Transfer/TriplePhysics/FrictionStop_ImpactFracture_BalloonLift__bg180__tGXdbw_trajectory.zip
|
| 27 |
+
Leaderboard/Motion Transfer/TriplePhysics/FrictionStop_ImpactFracture_BlockWallCollapse__bg151__p94i92_trajectory.zip
|
| 28 |
+
Leaderboard/Motion Transfer/TriplePhysics/FrictionStop_ImpactFracture_MirrorFragmentReflect__bg167__ncycBo_trajectory.zip
|
| 29 |
+
Leaderboard/Motion Transfer/TriplePhysics/FrictionStop_ImpactFracture_SeesawOffsetPivot__bg156__Kc5zRp_trajectory.zip
|
| 30 |
+
Leaderboard/Motion Transfer/TriplePhysics/FrictionStop_MirrorFragmentReflect_CatapultLaunch__bg151__pdETrM_trajectory.zip
|
| 31 |
+
Leaderboard/Motion Transfer/TriplePhysics/FrictionStop_MirrorFragmentReflect_MirrorReflect__bg151__iDff2y_trajectory.zip
|
| 32 |
+
Leaderboard/Motion Transfer/TriplePhysics/FrictionStop_MirrorFragmentReflect_RotTurnableInertia__bg177__0dTUOH_trajectory.zip
|
| 33 |
+
Leaderboard/Motion Transfer/TriplePhysics/FrictionStop_MirrorFragmentReflect_SeesawCenterPivot__bg180__ROCERE_trajectory.zip
|
| 34 |
+
Leaderboard/Motion Transfer/TriplePhysics/FrictionStop_MirrorFragmentReflect_StickSupportFail__bg156__fKFfMs_trajectory.zip
|
| 35 |
+
Leaderboard/Motion Transfer/TriplePhysics/FrictionStop_SeesawCenterPivot_BalloonFloat__bg151__3My9bB_trajectory.zip
|
| 36 |
+
Leaderboard/Motion Transfer/TriplePhysics/ImpactFracture_BalloonFloat_BlockWallCollapse__bg180__Id4ioR_trajectory.zip
|
| 37 |
+
Leaderboard/Motion Transfer/TriplePhysics/ImpactFracture_BalloonFloat_CatapultLaunch__bg178__1pueaK_trajectory.zip
|
| 38 |
+
Leaderboard/Motion Transfer/TriplePhysics/ImpactFracture_MirrorFragmentReflect_BlockWallCollapse__bg180__t1scdJ_trajectory.zip
|
| 39 |
+
Leaderboard/Motion Transfer/TriplePhysics/ImpactFracture_MirrorReflect_LinCarryInertia__bg156__H2uBR8_trajectory.zip
|
| 40 |
+
Leaderboard/Motion Transfer/TriplePhysics/MagnetAttract_FrictionStop_BalloonTether__bg177__agPIvS_trajectory.zip
|
| 41 |
+
Leaderboard/Motion Transfer/TriplePhysics/MagnetAttract_FrictionStop_MirrorReflect__bg168__Gw4Pch_trajectory.zip
|
| 42 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsFixed_FrictionStop_BalloonFloat__bg175__AiL3I6_trajectory.zip
|
| 43 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsFixed_FrictionStop_ImpactFracture__bg162__DsWczI_trajectory.zip
|
| 44 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsFixed_FrictionStop_MirrorReflect__bg169__FTCNd3_trajectory.zip
|
| 45 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsFixed_ImpactFracture_MirrorFragmentReflect__bg150__3hKEQv_trajectory.zip
|
| 46 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsFixed_MovingHitsMoving_BalloonFloat__bg177__yh1qhP_trajectory.zip
|
| 47 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsFixed_MovingHitsMoving_BalloonLift__bg152__ZJBDoj_trajectory.zip
|
| 48 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsFixed_MovingHitsMoving_DoublePendulum__bg180__BQwCXW_trajectory.zip
|
| 49 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsFixed_MovingHitsMoving_MirrorFragmentReflect__bg162__dyLhGI_trajectory.zip
|
| 50 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsFixed_MovingHitsMoving_ObliqueProjectile__bg180__jAznwr_trajectory.zip
|
| 51 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsFixed_MovingHitsMoving_RollDownSlope__bg177__gSumjG_trajectory.zip
|
| 52 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsFixed_MovingHitsMoving_RollUpSlope__bg156__bWbfdx_trajectory.zip
|
| 53 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsFixed_MovingHitsMoving_RotTurnableInertia__bg169__ix0QOd_trajectory.zip
|
| 54 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsFixed_MovingHitsStationary_FrictionStop__bg180__LyBT4O_trajectory.zip
|
| 55 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsFixed_MovingHitsStationary_MovingHitsMoving__bg154__B15ta6_trajectory.zip
|
| 56 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsFixed_MovingHitsStationary_RollDownSlope__bg156__7omQio_trajectory.zip
|
| 57 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsFixed_RollDownSlope_BalloonLift__bg151__It2aIO_trajectory.zip
|
| 58 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsFixed_RollDownSlope_BalloonTether__bg157__n3pouS_trajectory.zip
|
| 59 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsFixed_RollDownSlope_FrictionStop__bg162__dWSePy_trajectory.zip
|
| 60 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsFixed_RollDownSlope_ImpactFracture__bg171__zmh4Do_trajectory.zip
|
| 61 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsFixed_RollDownSlope_RollUpSlope__bg177__NoTchG_trajectory.zip
|
| 62 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsFixed_RollUpSlope_BalloonLift__bg162__IAFGKi_trajectory.zip
|
| 63 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsMoving_BalloonFloat_BalloonLift__bg156__nONfgD_trajectory.zip
|
| 64 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsMoving_BalloonFloat_BalloonTether__bg180__0dU8w7_trajectory.zip
|
| 65 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsMoving_BalloonFloat_MirrorReflect__bg177__IHFcbW_trajectory.zip
|
| 66 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsMoving_BalloonLift_MirrorReflect__bg162__cFNWUs_trajectory.zip
|
| 67 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsMoving_MirrorFragmentReflect_BalloonFloat__bg179__FstmOw_trajectory.zip
|
| 68 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsMoving_MirrorFragmentReflect_BalloonLift__bg177__SCWLt4_trajectory.zip
|
| 69 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsMoving_MirrorFragmentReflect_MirrorReflect__bg167__EZ8dMK_trajectory.zip
|
| 70 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsMoving_ObliqueProjectile_BalloonTether__bg156__xvdBKv_trajectory.zip
|
| 71 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsMoving_ObliqueProjectile_FixedConvexRedirect__bg156__zZew3m_trajectory.zip
|
| 72 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsMoving_ObliqueProjectile_FrictionStop__bg196__rsC4ey_trajectory.zip
|
| 73 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsMoving_ObliqueProjectile_ImpactFracture__bg162__JAJjmW_trajectory.zip
|
| 74 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsMoving_ObliqueProjectile_MirrorFragmentReflect__bg167__IHkdCP_trajectory.zip
|
| 75 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsMoving_ObliqueProjectile_MirrorReflect__bg156__H7T2Cp_trajectory.zip
|
| 76 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsMoving_ObliqueProjectile_RollDownSlope__bg180__eTjQ02_trajectory.zip
|
| 77 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsMoving_ObliqueProjectile_RollDownSlope__bg190__E8e8mZ_trajectory.zip
|
| 78 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsMoving_ObliqueProjectile_RollUpSlope__bg156__soNANa_trajectory.zip
|
| 79 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsMoving_RollDownSlope_FixedArrayRedirect__bg185__F2Zpdw_trajectory.zip
|
| 80 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsMoving_RollDownSlope_ImpactFracture__bg171__ZiQsSF_trajectory.zip
|
| 81 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsMoving_RollDownSlope_MirrorFragmentReflect__bg156__VWevqe_trajectory.zip
|
| 82 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsMoving_RollDownSlope_RollUpSlope__bg177__QRd3Nk_trajectory.zip
|
| 83 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsMoving_RollUpSlope_BalloonFloat__bg156__cPvHBn_trajectory.zip
|
| 84 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsMoving_RollUpSlope_BalloonTether__bg166__8rzJmd_trajectory.zip
|
| 85 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsMoving_RollUpSlope_FrictionStop__bg177__kET1VJ_trajectory.zip
|
| 86 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsMoving_RollUpSlope_MirrorFragmentReflect__bg156__224bYq_trajectory.zip
|
| 87 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsMoving_RollUpSlope_MirrorReflect__bg177__Ti6w0e_trajectory.zip
|
| 88 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsMoving_WindDeflectMotion_BalloonFloat__bg168__2ZX4ut_trajectory.zip
|
| 89 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsMoving_WindPushSameDir_ImpactFracture__bg156__aVIb22_trajectory.zip
|
| 90 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsStationary_BalloonFloat_BalloonTether__bg151__9WcRK7_trajectory.zip
|
| 91 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsStationary_BalloonFloat_MirrorReflect__bg192__jltkEu_trajectory.zip
|
| 92 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsStationary_BalloonTether_BalloonLift__bg162__N7Se2w_trajectory.zip
|
| 93 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsStationary_FrictionStop_BalloonTether__bg161__4mn9Lp_trajectory.zip
|
| 94 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsStationary_ImpactFracture_BalloonFloat__bg186__NhhiIr_trajectory.zip
|
| 95 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsStationary_MovingHitsMoving_BalloonTether__bg156__JRDFLb_trajectory.zip
|
| 96 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsStationary_MovingHitsMoving_ImpactFracture__bg151__lJOt7p_trajectory.zip
|
| 97 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsStationary_MovingHitsMoving_ObliqueProjectile__bg162__PUH2Rp_trajectory.zip
|
| 98 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsStationary_MovingHitsMoving_ObliqueProjectile__bg180__3jSmTd_trajectory.zip
|
| 99 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsStationary_MovingHitsMoving_RollUpSlope__bg151__3kPJkf_trajectory.zip
|
| 100 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsStationary_MovingHitsMoving_RollUpSlope__bg159__t9LxlQ_trajectory.zip
|
| 101 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsStationary_ObliqueProjectile_BalloonTether__bg151__IKuxmN_trajectory.zip
|
| 102 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsStationary_ObliqueProjectile_CartMove__bg151__sxPJth_trajectory.zip
|
| 103 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsStationary_ObliqueProjectile_FixedArrayRedirect__bg151__6L4XTB_trajectory.zip
|
| 104 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsStationary_ObliqueProjectile_MirrorFragmentReflect__bg177__8ihHEK_trajectory.zip
|
| 105 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsStationary_ObliqueProjectile_MirrorReflect__bg177__7A6vJU_trajectory.zip
|
| 106 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsStationary_ObliqueProjectile_RollDownSlope__bg156__1qrg25_trajectory.zip
|
| 107 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsStationary_ObliqueProjectile_RollDownSlope__bg177__63ajWJ_trajectory.zip
|
| 108 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsStationary_ObliqueProjectile_RollUpSlope__bg180__fde9Ft_trajectory.zip
|
| 109 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsStationary_ObliqueProjectile_RotTurnableInertia__bg159__Dtf2J9_trajectory.zip
|
| 110 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsStationary_RollDownSlope_BalloonFloat__bg162__VvJkvy_trajectory.zip
|
| 111 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsStationary_RollDownSlope_BalloonLift__bg156__t5et5p_trajectory.zip
|
| 112 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsStationary_RollDownSlope_BalloonTether__bg156__yxGqX9_trajectory.zip
|
| 113 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsStationary_RollDownSlope_MagnetAttract__bg162__8wqJ21_trajectory.zip
|
| 114 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsStationary_RollDownSlope_MirrorReflect__bg167__rxDvof_trajectory.zip
|
| 115 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsStationary_RollDownSlope_RollUpSlope__bg157__b2VnuH_trajectory.zip
|
| 116 |
+
Leaderboard/Motion Transfer/TriplePhysics/MovingHitsStationary_RollDownSlope_SeesawCenterPivot__bg151__epaGE6_trajectory.zip
|
| 117 |
+
Leaderboard/Motion Transfer/TriplePhysics/ObliqueProjectile_RollDownSlope_AccelPanelSpin__bg161__P6TSzh_trajectory.zip
|
| 118 |
+
Leaderboard/Motion Transfer/TriplePhysics/ObliqueProjectile_RollDownSlope_BalloonLift__bg180__xVmEtV_trajectory.zip
|
| 119 |
+
Leaderboard/Motion Transfer/TriplePhysics/ObliqueProjectile_RollDownSlope_BalloonTether__bg162__VC9TzW_trajectory.zip
|
| 120 |
+
Leaderboard/Motion Transfer/TriplePhysics/ObliqueProjectile_RollDownSlope_BlockWallCollapse__bg162__aaMonV_trajectory.zip
|
| 121 |
+
Leaderboard/Motion Transfer/TriplePhysics/ObliqueProjectile_RollDownSlope_DoublePendulum__bg156__JOvyMx_trajectory.zip
|
| 122 |
+
Leaderboard/Motion Transfer/TriplePhysics/ObliqueProjectile_RollDownSlope_FixedArrayRedirect__bg177__MuvJkH_trajectory.zip
|
| 123 |
+
Leaderboard/Motion Transfer/TriplePhysics/ObliqueProjectile_RollDownSlope_FixedPlanarRedirect__bg152__NQ6GZi_trajectory.zip
|
| 124 |
+
Leaderboard/Motion Transfer/TriplePhysics/ObliqueProjectile_RollDownSlope_ImpactFracture__bg156__V7e2G5_trajectory.zip
|
| 125 |
+
Leaderboard/Motion Transfer/TriplePhysics/ObliqueProjectile_RollDownSlope_MirrorFragmentReflect__bg167__Ocz9ia_trajectory.zip
|
| 126 |
+
Leaderboard/Motion Transfer/TriplePhysics/ObliqueProjectile_RollUpSlope_BalloonLift__bg180__LRxkdk_trajectory.zip
|
| 127 |
+
Leaderboard/Motion Transfer/TriplePhysics/ObliqueProjectile_RollUpSlope_BalloonTether__bg177__reqC1Y_trajectory.zip
|
| 128 |
+
Leaderboard/Motion Transfer/TriplePhysics/ObliqueProjectile_RollUpSlope_ImpactFracture__bg167__Nu3KZt_trajectory.zip
|
| 129 |
+
Leaderboard/Motion Transfer/TriplePhysics/VerticalFall_RollDownSlope_RollUpSlope__bg190__9BCb6n_trajectory.zip
|
| 130 |
+
Leaderboard/Motion Transfer/TriplePhysics/VerticalFall_RollUpSlope_ImpactFracture__bg167__JlrhDm_trajectory.zip
|
| 131 |
+
Leaderboard/Motion Transfer/TriplePhysics/VerticalFall_RollUpSlope_MagnetAttract__bg162__gf5o3Z_trajectory.zip
|
| 132 |
+
Leaderboard/Motion Transfer/TriplePhysics/VerticalFall_RollUpSlope_MirrorFragmentReflect__bg167__WLELXl_trajectory.zip
|
| 133 |
+
Leaderboard/Motion Transfer/TriplePhysics/VerticalFall_RollUpSlope_MirrorReflect__bg177__D0oxyg_trajectory.zip
|
| 134 |
+
Leaderboard/Motion Transfer/TriplePhysics/VerticalFall_RollUpSlope_SeesawOffsetPivot__bg162__VZlgAX_trajectory.zip
|
| 135 |
+
Leaderboard/Motion Transfer/TriplePhysics/VerticalFall_SpringboardRebound_MirrorReflect__bg180__W0Q3w4_trajectory.zip
|
| 136 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindDeflectMotion_ObliqueProjectile_RollDownSlope__bg162__aUKkrz_trajectory.zip
|
| 137 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindDeflectMotion_SpringStretch_ImpactFracture__bg157__vR1esL_trajectory.zip
|
| 138 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindDeflectMotion_SpringStretch_MirrorReflect__bg180__indwl5_trajectory.zip
|
| 139 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindDeflectMotion_UniformSurfaceSpin_MirrorReflect__bg162__yU3E5H_trajectory.zip
|
| 140 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindDeflectMotion_VerticalFall_AccelConcaveSpin__bg180__vzCly2_trajectory.zip
|
| 141 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindDeflectMotion_VerticalFall_BalloonTether__bg151__GhbT1L_trajectory.zip
|
| 142 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindDeflectMotion_VerticalFall_CrankPush__bg151__03CMk4_trajectory.zip
|
| 143 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindDeflectMotion_VerticalFall_ImpactFracture__bg178__CtrRED_trajectory.zip
|
| 144 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindDeflectMotion_VerticalFall_LinCarryInertia__bg171__IYypxr_trajectory.zip
|
| 145 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindDeflectMotion_VerticalFall_RollUpSlope__bg156__IzOEVV_trajectory.zip
|
| 146 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindDeflectMotion_VerticalFall_SpringStretch__bg177__G2aAEY_trajectory.zip
|
| 147 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindPushOppDir_ObliqueProjectile_RollDownSlope__bg167__NmP0aa_trajectory.zip
|
| 148 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindPushOppDir_RollDownSlope_RollUpSlope__bg180__qgrBov_trajectory.zip
|
| 149 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindPushOppDir_UniformPanelSpin_FrictionStop__bg151__eN0pgF_trajectory.zip
|
| 150 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindPushOppDir_UniformPanelSpin_MirrorFragmentReflect__bg177__GxIr7z_trajectory.zip
|
| 151 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindPushOppDir_VerticalFall_AccelConcaveSpin__bg177__6IWbv1_trajectory.zip
|
| 152 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindPushOppDir_VerticalFall_BalloonFloat__bg156__Y9Evh6_trajectory.zip
|
| 153 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindPushOppDir_VerticalFall_FrictionStop__bg180__uU6LvH_trajectory.zip
|
| 154 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindPushOppDir_VerticalFall_ImpactFracture__bg156__gCkICC_trajectory.zip
|
| 155 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindPushOppDir_VerticalFall_MirrorFragmentReflect__bg167__0GqKKX_trajectory.zip
|
| 156 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindPushOppDir_VerticalFall_RollDownSlope__bg180__ykGzsW_trajectory.zip
|
| 157 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindPushOppDir_VerticalFall_RollUpSlope__bg185__yM5F90_trajectory.zip
|
| 158 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindPushOppDir_VerticalFall_RotTurnableInertia__bg167__wb9rN9_trajectory.zip
|
| 159 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindPushOppDir_VerticalFall_SeesawCenterPivot__bg187__8RV7fn_trajectory.zip
|
| 160 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindPushOppDir_WindDeflectMotion_BlockWallCollapse__bg169__vw5Mxf_trajectory.zip
|
| 161 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindPushOppDir_WindDeflectMotion_FixedConcaveRedirect__bg177__bOEvi2_trajectory.zip
|
| 162 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindPushOppDir_WindDeflectMotion_MirrorReflect__bg162__QQZkwF_trajectory.zip
|
| 163 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindPushOppDir_WindDeflectMotion_RotTurnableInertia__bg162__lnGl5E_trajectory.zip
|
| 164 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindPushOppDir_WindDeflectMotion_SpringboardRebound__bg156__SUy65l_trajectory.zip
|
| 165 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindPushOppDir_WindDeflectMotion_UniformSurfaceSpin__bg151__evgHAn_trajectory.zip
|
| 166 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindPushSameDir_AccelPanelSpin_MirrorReflect__bg151__JDKRkY_trajectory.zip
|
| 167 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindPushSameDir_RollDownSlope_FrictionStop__bg180__NFtB4t_trajectory.zip
|
| 168 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindPushSameDir_RollDownSlope_RollUpSlope__bg151__R5fwYx_trajectory.zip
|
| 169 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindPushSameDir_SpringCompress_ImpactFracture__bg167__BrRees_trajectory.zip
|
| 170 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindPushSameDir_UniformConcaveSpin_BalloonTether__bg180__1Fievf_trajectory.zip
|
| 171 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindPushSameDir_VerticalFall_BalloonLift__bg178__ZvGuSk_trajectory.zip
|
| 172 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindPushSameDir_VerticalFall_FrictionStop__bg162__LA1esr_trajectory.zip
|
| 173 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindPushSameDir_VerticalFall_RollDownSlope__bg167__5k3nyY_trajectory.zip
|
| 174 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindPushSameDir_VerticalFall_RollUpSlope__bg157__aEiUJW_trajectory.zip
|
| 175 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindPushSameDir_WindDeflectMotion_AccelSurfaceSpin__bg156__tCIBVp_trajectory.zip
|
| 176 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindPushSameDir_WindDeflectMotion_BalloonFloat__bg151__yXoQZt_trajectory.zip
|
| 177 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindPushSameDir_WindDeflectMotion_RollDownSlope__bg161__sbZ8OV_trajectory.zip
|
| 178 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindPushSameDir_WindDeflectMotion_RollUpSlope__bg157__I5Cp9x_trajectory.zip
|
| 179 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindPushSameDir_WindDeflectMotion_StickSupportFail__bg162__WI3ZLE_trajectory.zip
|
| 180 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindPushSameDir_WindDeflectMotion_VerticalFall__bg156__4qDI0s_trajectory.zip
|
| 181 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindPushSameDir_WindPushOppDir_AccelSurfaceSpin__bg180__kPV19v_trajectory.zip
|
| 182 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindPushSameDir_WindPushOppDir_BalloonLift__bg167__pZSl0V_trajectory.zip
|
| 183 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindPushSameDir_WindPushOppDir_MagnetRepel__bg151__wAkPMK_trajectory.zip
|
| 184 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindPushSameDir_WindPushOppDir_RollDownSlope__bg157__qvL57Y_trajectory.zip
|
| 185 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindPushStationary_SeesawOffsetPivot_MirrorReflect__bg154__Wbg2gJ_trajectory.zip
|
| 186 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindPushStationary_UniformPanelSpin_BalloonTether__bg156__cxmCzT_trajectory.zip
|
| 187 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindPushStationary_VerticalFall_AccelConcaveSpin__bg156__sJlOHX_trajectory.zip
|
| 188 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindPushStationary_VerticalFall_FrictionStop__bg162__V7VgeP_trajectory.zip
|
| 189 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindPushStationary_VerticalFall_MirrorFragmentReflect__bg180__GEEH7G_trajectory.zip
|
| 190 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindPushStationary_VerticalFall_RollDownSlope__bg174__KrTbVj_trajectory.zip
|
| 191 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindPushStationary_VerticalFall_RollUpSlope__bg163__TwRzOW_trajectory.zip
|
| 192 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindPushStationary_VerticalFall_SimplePendulum__bg156__jXREY7_trajectory.zip
|
| 193 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindPushStationary_VerticalFall_SpringCompress__bg162__5ZHCOy_trajectory.zip
|
| 194 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindPushStationary_WindDeflectMotion_LaserBlock__bg167__Hr7H6N_trajectory.zip
|
| 195 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindPushStationary_WindDeflectMotion_MagnetAttract__bg167__r39NNr_trajectory.zip
|
| 196 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindPushStationary_WindDeflectMotion_MirrorReflect__bg162__hvYI0f_trajectory.zip
|
| 197 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindPushStationary_WindDeflectMotion_RollUpSlope__bg150__xu9M4c_trajectory.zip
|
| 198 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindPushStationary_WindDeflectMotion_RotTurnableInertia__bg156__OidiTx_trajectory.zip
|
| 199 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindPushStationary_WindDeflectMotion_SpringCompress__bg157__HJRZ3J_trajectory.zip
|
| 200 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindPushStationary_WindDeflectMotion_StickSupportFail__bg161__sGxVhe_trajectory.zip
|
| 201 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindPushStationary_WindDeflectMotion_UniformPanelSpin__bg194__8rSsBu_trajectory.zip
|
| 202 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindPushStationary_WindDeflectMotion_VerticalFall__bg152__0ptwQB_trajectory.zip
|
| 203 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindPushStationary_WindPushOppDir_BalloonLift__bg183__F60ALL_trajectory.zip
|
| 204 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindPushStationary_WindPushOppDir_BalloonTether__bg177__jjFieL_trajectory.zip
|
| 205 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindPushStationary_WindPushOppDir_BlockWallCollapse__bg178__lW1AzR_trajectory.zip
|
| 206 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindPushStationary_WindPushOppDir_ElasticCouple__bg156__8g7EuZ_trajectory.zip
|
| 207 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindPushStationary_WindPushOppDir_MagnetAttract__bg156__R2v1Pi_trajectory.zip
|
| 208 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindPushStationary_WindPushOppDir_MirrorFragmentReflect__bg186__4Oy5iW_trajectory.zip
|
| 209 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindPushStationary_WindPushOppDir_SeesawCenterPivot__bg167__QimfBA_trajectory.zip
|
| 210 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindPushStationary_WindPushOppDir_SpringStretch__bg155__Todj5E_trajectory.zip
|
| 211 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindPushStationary_WindPushOppDir_UniformPanelSpin__bg156__vP7MNz_trajectory.zip
|
| 212 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindPushStationary_WindPushOppDir_WindDeflectMotion__bg172__SiH1eh_trajectory.zip
|
| 213 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindPushStationary_WindPushSameDir_BalloonLift__bg152__2fsTO2_trajectory.zip
|
| 214 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindPushStationary_WindPushSameDir_FrictionStop__bg186__mq6XFU_trajectory.zip
|
| 215 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindPushStationary_WindPushSameDir_ImpactFracture__bg180__rwf7dB_trajectory.zip
|
| 216 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindPushStationary_WindPushSameDir_MagnetRepel__bg151__qOLuVm_trajectory.zip
|
| 217 |
+
Leaderboard/Motion Transfer/TriplePhysics/WindPushStationary_WindPushSameDir_RollDownSlope__bg177__7EUF6V_trajectory.zip
|
Utils/leaderboard_lists/physical-properties-estimation.txt
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Leaderboard/Physical Properties Estimation/DoublePhysics/ElasticFall_PlasticineFall__bg852__2QHJQg_trajectory.zip
|
| 2 |
+
Leaderboard/Physical Properties Estimation/DoublePhysics/ElasticFall_PlasticineFall__bg852__EyOXxy_trajectory.zip
|
| 3 |
+
Leaderboard/Physical Properties Estimation/DoublePhysics/ElasticFall_PlasticineFall__bg852__ihzgfo_trajectory.zip
|
| 4 |
+
Leaderboard/Physical Properties Estimation/DoublePhysics/NewtonianFluidFall_GranularFall__bg851__3GTIkU_trajectory.zip
|
| 5 |
+
Leaderboard/Physical Properties Estimation/DoublePhysics/NewtonianFluidFall_GranularFall__bg851__BlGkE3_trajectory.zip
|
| 6 |
+
Leaderboard/Physical Properties Estimation/DoublePhysics/NewtonianFluidFall_GranularFall__bg851__fDvosI_trajectory.zip
|
| 7 |
+
Leaderboard/Physical Properties Estimation/SinglePhysics/ElasticFall__bg851__HyKM4e_trajectory.zip
|
| 8 |
+
Leaderboard/Physical Properties Estimation/SinglePhysics/ElasticFall__bg851__ONA90r_trajectory.zip
|
| 9 |
+
Leaderboard/Physical Properties Estimation/SinglePhysics/ElasticFall__bg851__Urfkor_trajectory.zip
|
| 10 |
+
Leaderboard/Physical Properties Estimation/SinglePhysics/ElasticFall__bg851__aZnA3h_trajectory.zip
|
| 11 |
+
Leaderboard/Physical Properties Estimation/SinglePhysics/ElasticFall__bg851__tCRMt3_trajectory.zip
|
| 12 |
+
Leaderboard/Physical Properties Estimation/SinglePhysics/ElasticFall__bg851__wBxhzP_trajectory.zip
|
| 13 |
+
Leaderboard/Physical Properties Estimation/SinglePhysics/ElasticFall__bg852__n4vNbZ_trajectory.zip
|
| 14 |
+
Leaderboard/Physical Properties Estimation/SinglePhysics/ElasticFall__bg852__rueoHR_trajectory.zip
|
| 15 |
+
Leaderboard/Physical Properties Estimation/SinglePhysics/ElasticFall__bg852__tgPNPs_trajectory.zip
|
| 16 |
+
Leaderboard/Physical Properties Estimation/SinglePhysics/ElasticFall__bg853__IKwBRg_trajectory.zip
|
| 17 |
+
Leaderboard/Physical Properties Estimation/SinglePhysics/ElasticFall__bg853__ZT7AUD_trajectory.zip
|
| 18 |
+
Leaderboard/Physical Properties Estimation/SinglePhysics/ElasticFall__bg853__cPLVum_trajectory.zip
|
| 19 |
+
Leaderboard/Physical Properties Estimation/SinglePhysics/GranularFall__bg851__9lIDU3_trajectory.zip
|
| 20 |
+
Leaderboard/Physical Properties Estimation/SinglePhysics/GranularFall__bg851__JBM15M_trajectory.zip
|
| 21 |
+
Leaderboard/Physical Properties Estimation/SinglePhysics/GranularFall__bg851__U3Jlvj_trajectory.zip
|
| 22 |
+
Leaderboard/Physical Properties Estimation/SinglePhysics/GranularFall__bg851__Vbe8dQ_trajectory.zip
|
| 23 |
+
Leaderboard/Physical Properties Estimation/SinglePhysics/GranularFall__bg851__ioGrE8_trajectory.zip
|
| 24 |
+
Leaderboard/Physical Properties Estimation/SinglePhysics/GranularFall__bg851__osQrjq_trajectory.zip
|
| 25 |
+
Leaderboard/Physical Properties Estimation/SinglePhysics/GranularFall__bg852__MoyIIZ_trajectory.zip
|
| 26 |
+
Leaderboard/Physical Properties Estimation/SinglePhysics/GranularFall__bg852__VyRLV3_trajectory.zip
|
| 27 |
+
Leaderboard/Physical Properties Estimation/SinglePhysics/GranularFall__bg852__tDtaft_trajectory.zip
|
| 28 |
+
Leaderboard/Physical Properties Estimation/SinglePhysics/GranularFall__bg853__H2LWew_trajectory.zip
|
| 29 |
+
Leaderboard/Physical Properties Estimation/SinglePhysics/GranularFall__bg853__ZBMM7p_trajectory.zip
|
| 30 |
+
Leaderboard/Physical Properties Estimation/SinglePhysics/GranularFall__bg853__yXif8O_trajectory.zip
|
| 31 |
+
Leaderboard/Physical Properties Estimation/SinglePhysics/NewtonianFluidFall__bg851__9UuymC_trajectory.zip
|
| 32 |
+
Leaderboard/Physical Properties Estimation/SinglePhysics/NewtonianFluidFall__bg851__D4npMS_trajectory.zip
|
| 33 |
+
Leaderboard/Physical Properties Estimation/SinglePhysics/NewtonianFluidFall__bg851__gvvzoP_trajectory.zip
|
| 34 |
+
Leaderboard/Physical Properties Estimation/SinglePhysics/NewtonianFluidFall__bg851__ksCdUy_trajectory.zip
|
| 35 |
+
Leaderboard/Physical Properties Estimation/SinglePhysics/NewtonianFluidFall__bg851__q9BCMV_trajectory.zip
|
| 36 |
+
Leaderboard/Physical Properties Estimation/SinglePhysics/NewtonianFluidFall__bg851__vHyaMH_trajectory.zip
|
| 37 |
+
Leaderboard/Physical Properties Estimation/SinglePhysics/NewtonianFluidFall__bg852__2WIQvD_trajectory.zip
|
| 38 |
+
Leaderboard/Physical Properties Estimation/SinglePhysics/NewtonianFluidFall__bg852__JtG3Vh_trajectory.zip
|
| 39 |
+
Leaderboard/Physical Properties Estimation/SinglePhysics/NewtonianFluidFall__bg852__dLPzqy_trajectory.zip
|
| 40 |
+
Leaderboard/Physical Properties Estimation/SinglePhysics/NewtonianFluidFall__bg853__Mw45TL_trajectory.zip
|
| 41 |
+
Leaderboard/Physical Properties Estimation/SinglePhysics/NewtonianFluidFall__bg853__flqAQw_trajectory.zip
|
| 42 |
+
Leaderboard/Physical Properties Estimation/SinglePhysics/NewtonianFluidFall__bg853__wJG4hq_trajectory.zip
|
| 43 |
+
Leaderboard/Physical Properties Estimation/SinglePhysics/NonNewtonianFluidFall__bg851__1e9y4t_trajectory.zip
|
| 44 |
+
Leaderboard/Physical Properties Estimation/SinglePhysics/NonNewtonianFluidFall__bg851__CUmiwi_trajectory.zip
|
| 45 |
+
Leaderboard/Physical Properties Estimation/SinglePhysics/NonNewtonianFluidFall__bg851__D8DZBH_trajectory.zip
|
| 46 |
+
Leaderboard/Physical Properties Estimation/SinglePhysics/NonNewtonianFluidFall__bg851__NkuHcR_trajectory.zip
|
| 47 |
+
Leaderboard/Physical Properties Estimation/SinglePhysics/NonNewtonianFluidFall__bg851__i7JDwF_trajectory.zip
|
| 48 |
+
Leaderboard/Physical Properties Estimation/SinglePhysics/NonNewtonianFluidFall__bg851__xNRybL_trajectory.zip
|
| 49 |
+
Leaderboard/Physical Properties Estimation/SinglePhysics/NonNewtonianFluidFall__bg852__KrdygQ_trajectory.zip
|
| 50 |
+
Leaderboard/Physical Properties Estimation/SinglePhysics/NonNewtonianFluidFall__bg852__N1F0si_trajectory.zip
|
| 51 |
+
Leaderboard/Physical Properties Estimation/SinglePhysics/NonNewtonianFluidFall__bg852__yYzlwK_trajectory.zip
|
| 52 |
+
Leaderboard/Physical Properties Estimation/SinglePhysics/NonNewtonianFluidFall__bg853__3NsWvc_trajectory.zip
|
| 53 |
+
Leaderboard/Physical Properties Estimation/SinglePhysics/NonNewtonianFluidFall__bg853__X8RW5t_trajectory.zip
|
| 54 |
+
Leaderboard/Physical Properties Estimation/SinglePhysics/NonNewtonianFluidFall__bg853__raldSU_trajectory.zip
|
| 55 |
+
Leaderboard/Physical Properties Estimation/SinglePhysics/PlasticineFall__bg851__CJa9sg_trajectory.zip
|
| 56 |
+
Leaderboard/Physical Properties Estimation/SinglePhysics/PlasticineFall__bg851__Eo4QFG_trajectory.zip
|
| 57 |
+
Leaderboard/Physical Properties Estimation/SinglePhysics/PlasticineFall__bg851__QhSP1w_trajectory.zip
|
| 58 |
+
Leaderboard/Physical Properties Estimation/SinglePhysics/PlasticineFall__bg851__SR7SHn_trajectory.zip
|
| 59 |
+
Leaderboard/Physical Properties Estimation/SinglePhysics/PlasticineFall__bg851__fR29iu_trajectory.zip
|
| 60 |
+
Leaderboard/Physical Properties Estimation/SinglePhysics/PlasticineFall__bg851__mzVWKS_trajectory.zip
|
| 61 |
+
Leaderboard/Physical Properties Estimation/SinglePhysics/PlasticineFall__bg852__IovT0U_trajectory.zip
|
| 62 |
+
Leaderboard/Physical Properties Estimation/SinglePhysics/PlasticineFall__bg852__QYLkjv_trajectory.zip
|
| 63 |
+
Leaderboard/Physical Properties Estimation/SinglePhysics/PlasticineFall__bg852__TEgEeY_trajectory.zip
|
| 64 |
+
Leaderboard/Physical Properties Estimation/SinglePhysics/PlasticineFall__bg853__AudM59_trajectory.zip
|
| 65 |
+
Leaderboard/Physical Properties Estimation/SinglePhysics/PlasticineFall__bg853__JqI201_trajectory.zip
|
| 66 |
+
Leaderboard/Physical Properties Estimation/SinglePhysics/PlasticineFall__bg853__wWdOlo_trajectory.zip
|
| 67 |
+
Leaderboard/Physical Properties Estimation/TriplePhysics/ElasticFall_PlasticineFall_GranularFall__bg853__S2qLvS_trajectory.zip
|
| 68 |
+
Leaderboard/Physical Properties Estimation/TriplePhysics/ElasticFall_PlasticineFall_GranularFall__bg853__t7AbFK_trajectory.zip
|
| 69 |
+
Leaderboard/Physical Properties Estimation/TriplePhysics/ElasticFall_PlasticineFall_GranularFall__bg853__uzqMDe_trajectory.zip
|
| 70 |
+
Leaderboard/Physical Properties Estimation/TriplePhysics/NewtonianFluidFall_NonNewtonianFluidFall_ElasticFall__bg852__EyPG9y_trajectory.zip
|
| 71 |
+
Leaderboard/Physical Properties Estimation/TriplePhysics/NewtonianFluidFall_NonNewtonianFluidFall_ElasticFall__bg852__YklJCP_trajectory.zip
|
| 72 |
+
Leaderboard/Physical Properties Estimation/TriplePhysics/NewtonianFluidFall_NonNewtonianFluidFall_ElasticFall__bg852__rGZfig_trajectory.zip
|
| 73 |
+
Leaderboard/Physical Properties Estimation/test_supp_info/Test_sdf.zip
|
| 74 |
+
Leaderboard/Physical Properties Estimation/test_supp_info/test_case_supp_map.json
|
Utils/leaderboard_lists/summary.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"future-prediction": {
|
| 3 |
+
"bytes": 15831190088,
|
| 4 |
+
"file_list": "PhysInOne Utils/leaderboard_lists/future-prediction.txt",
|
| 5 |
+
"files": 103,
|
| 6 |
+
"remote_directory": "Leaderboard/Future Prediction",
|
| 7 |
+
"zip_files": 103
|
| 8 |
+
},
|
| 9 |
+
"motion-transfer": {
|
| 10 |
+
"bytes": 9601241294,
|
| 11 |
+
"file_list": "PhysInOne Utils/leaderboard_lists/motion-transfer.txt",
|
| 12 |
+
"files": 217,
|
| 13 |
+
"remote_directory": "Leaderboard/Motion Transfer",
|
| 14 |
+
"zip_files": 217
|
| 15 |
+
},
|
| 16 |
+
"physical-properties-estimation": {
|
| 17 |
+
"bytes": 14919879645,
|
| 18 |
+
"file_list": "PhysInOne Utils/leaderboard_lists/physical-properties-estimation.txt",
|
| 19 |
+
"files": 74,
|
| 20 |
+
"remote_directory": "Leaderboard/Physical Properties Estimation",
|
| 21 |
+
"zip_files": 73
|
| 22 |
+
},
|
| 23 |
+
"video-generation": {
|
| 24 |
+
"bytes": 9396335391,
|
| 25 |
+
"file_list": "PhysInOne Utils/leaderboard_lists/video-generation.txt",
|
| 26 |
+
"files": 75865,
|
| 27 |
+
"remote_directory": "Leaderboard/Video Generation",
|
| 28 |
+
"zip_files": 0
|
| 29 |
+
}
|
| 30 |
+
}
|
Utils/leaderboard_lists/video-generation.txt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b350ed9cb6bf97f6dc06b7d6f057640312b15b68ba1395d3a39930c29cf6b31a
|
| 3 |
+
size 10567964
|
Utils/metadata/repo_assignment.txt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:380a0ba378cd4c2e89b1fc6b6c26c5adf01e65f2c1c1a0c62862d360c47091ab
|
| 3 |
+
size 21608478
|
Utils/metadata/repo_map.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"physinone_part1": "PhysInOneP01/PhysInOneP01",
|
| 3 |
+
"physinone_part2": "PhysInOneP02/PhysInOneP02",
|
| 4 |
+
"physinone_part3": "PhysInOneP03/PhysInOneP03",
|
| 5 |
+
"physinone_part4": "PhysInOneP04/PhysInOneP04",
|
| 6 |
+
"physinone_part5": "PhysInOneP05/PhysInOneP05",
|
| 7 |
+
"physinone_part6": "PhysInOneP06/PhysInOneP06",
|
| 8 |
+
"physinone_part7": "PhysInOneP07/PhysInOneP07",
|
| 9 |
+
"physinone_part8": "PhysInOneP08/PhysInOneP08",
|
| 10 |
+
"physinone_part9": "PhysInOneP09/PhysInOneP09",
|
| 11 |
+
"physinone_part10": "PhysInOneP10/PhysInOneP10",
|
| 12 |
+
"physinone_part11": "PhysInOneP11/PhysInOneP11",
|
| 13 |
+
"physinone_part12": "PhysInOneP12/PhysInOneP12",
|
| 14 |
+
"physinone_part13": "PhysInOneP13/PhysInOneP13",
|
| 15 |
+
"physinone_part14": "Phys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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""
|
| 3 |
+
Download selected PhysInOne case zip files from Hugging Face shard repositories.
|
| 4 |
+
|
| 5 |
+
Input:
|
| 6 |
+
selected_cases.json produced by filter_cases.py
|
| 7 |
+
repo_map.json mapping part IDs to Hugging Face repo IDs
|
| 8 |
+
|
| 9 |
+
Recommended repo_map.json format:
|
| 10 |
+
{
|
| 11 |
+
"physinone_part1": "PhysInOneP01/PhysInOneP01",
|
| 12 |
+
"physinone_part2": "PhysInOneP02/PhysInOneP02"
|
| 13 |
+
}
|
| 14 |
+
|
| 15 |
+
The script downloads each selected case zip using huggingface_hub.hf_hub_download.
|
| 16 |
+
"""
|
| 17 |
+
|
| 18 |
+
from __future__ import annotations
|
| 19 |
+
|
| 20 |
+
import argparse
|
| 21 |
+
import json
|
| 22 |
+
import shutil
|
| 23 |
+
from pathlib import Path
|
| 24 |
+
from urllib.parse import urlparse
|
| 25 |
+
|
| 26 |
+
from huggingface_hub import hf_hub_download
|
| 27 |
+
from tqdm import tqdm
|
| 28 |
+
|
| 29 |
+
|
| 30 |
+
DEFAULT_SELECTION_FILE = Path("selected_cases.json")
|
| 31 |
+
DEFAULT_REPO_MAP_FILE = Path("metadata/repo_map.json")
|
| 32 |
+
|
| 33 |
+
|
| 34 |
+
def normalize_repo_id(value: str) -> str:
|
| 35 |
+
"""Accept either a repo id or a Hugging Face URL and return repo id."""
|
| 36 |
+
value = value.strip().rstrip("/")
|
| 37 |
+
if value.startswith("http://") or value.startswith("https://"):
|
| 38 |
+
parsed = urlparse(value)
|
| 39 |
+
# Expected: /datasets/PhysInOneP01/PhysInOneP01[/tree/main]
|
| 40 |
+
parts = [p for p in parsed.path.split("/") if p]
|
| 41 |
+
if len(parts) >= 3 and parts[0] == "datasets":
|
| 42 |
+
return f"{parts[1]}/{parts[2]}"
|
| 43 |
+
raise ValueError(f"Cannot parse Hugging Face dataset repo URL: {value}")
|
| 44 |
+
return value
|
| 45 |
+
|
| 46 |
+
|
| 47 |
+
def load_json(path: Path) -> dict:
|
| 48 |
+
if not path.exists():
|
| 49 |
+
raise FileNotFoundError(f"File not found: {path}")
|
| 50 |
+
return json.loads(path.read_text(encoding="utf-8"))
|
| 51 |
+
|
| 52 |
+
|
| 53 |
+
def load_repo_map(path: Path) -> dict[str, str]:
|
| 54 |
+
data = load_json(path)
|
| 55 |
+
if not isinstance(data, dict):
|
| 56 |
+
raise ValueError("repo_map.json must be a dictionary: part_id -> repo_id")
|
| 57 |
+
return {str(k): normalize_repo_id(str(v)) for k, v in data.items()}
|
| 58 |
+
|
| 59 |
+
|
| 60 |
+
def safe_output_path(output_dir: Path, case: dict, keep_shard_structure: bool) -> Path:
|
| 61 |
+
filename = Path(case["hf_zip_path"]).name
|
| 62 |
+
if keep_shard_structure:
|
| 63 |
+
# Preserve Split/ActivityType layout.
|
| 64 |
+
return output_dir / case["part_id"] / case["split"] / case["activity_type"] / filename
|
| 65 |
+
return output_dir / filename
|
| 66 |
+
|
| 67 |
+
|
| 68 |
+
def main() -> None:
|
| 69 |
+
parser = argparse.ArgumentParser(description="Download PhysInOne selected case zips.")
|
| 70 |
+
parser.add_argument(
|
| 71 |
+
"--selection",
|
| 72 |
+
type=Path,
|
| 73 |
+
default=DEFAULT_SELECTION_FILE,
|
| 74 |
+
help=f"selected_cases.json from filter_cases.py. Default: {DEFAULT_SELECTION_FILE}",
|
| 75 |
+
)
|
| 76 |
+
parser.add_argument(
|
| 77 |
+
"--repo_map",
|
| 78 |
+
type=Path,
|
| 79 |
+
default=DEFAULT_REPO_MAP_FILE,
|
| 80 |
+
help=f"JSON mapping part_id to HF repo id. Default: {DEFAULT_REPO_MAP_FILE}",
|
| 81 |
+
)
|
| 82 |
+
parser.add_argument(
|
| 83 |
+
"--output_dir",
|
| 84 |
+
type=Path,
|
| 85 |
+
default=Path("./PhysInOne"),
|
| 86 |
+
help="Local output directory. Default: ./PhysInOne",
|
| 87 |
+
)
|
| 88 |
+
parser.add_argument(
|
| 89 |
+
"--repo_type",
|
| 90 |
+
type=str,
|
| 91 |
+
default="dataset",
|
| 92 |
+
help="Hugging Face repo type. Default: dataset",
|
| 93 |
+
)
|
| 94 |
+
parser.add_argument(
|
| 95 |
+
"--revision",
|
| 96 |
+
type=str,
|
| 97 |
+
default="main",
|
| 98 |
+
help="Hugging Face revision/branch. Default: main",
|
| 99 |
+
)
|
| 100 |
+
parser.add_argument(
|
| 101 |
+
"--token",
|
| 102 |
+
type=str,
|
| 103 |
+
default=None,
|
| 104 |
+
help="Optional Hugging Face token for gated/private repos.",
|
| 105 |
+
)
|
| 106 |
+
parser.add_argument(
|
| 107 |
+
"--keep_shard_structure",
|
| 108 |
+
action="store_true",
|
| 109 |
+
help="Save as output_dir/part_id/Split/ActivityType/*.zip instead of a flat folder.",
|
| 110 |
+
)
|
| 111 |
+
parser.add_argument(
|
| 112 |
+
"--dry_run",
|
| 113 |
+
action="store_true",
|
| 114 |
+
help="Print planned downloads without downloading.",
|
| 115 |
+
)
|
| 116 |
+
parser.add_argument(
|
| 117 |
+
"--overwrite",
|
| 118 |
+
action="store_true",
|
| 119 |
+
help="Overwrite local files if they already exist.",
|
| 120 |
+
)
|
| 121 |
+
|
| 122 |
+
args = parser.parse_args()
|
| 123 |
+
|
| 124 |
+
selection = load_json(args.selection)
|
| 125 |
+
repo_map = load_repo_map(args.repo_map)
|
| 126 |
+
cases = selection.get("cases", [])
|
| 127 |
+
if not isinstance(cases, list):
|
| 128 |
+
raise ValueError("selection JSON must contain a list field named 'cases'.")
|
| 129 |
+
|
| 130 |
+
args.output_dir.mkdir(parents=True, exist_ok=True)
|
| 131 |
+
|
| 132 |
+
missing_parts = sorted({case["part_id"] for case in cases if case["part_id"] not in repo_map})
|
| 133 |
+
if missing_parts:
|
| 134 |
+
raise KeyError(
|
| 135 |
+
"The following part IDs are missing from repo_map.json: "
|
| 136 |
+
+ ", ".join(missing_parts)
|
| 137 |
+
)
|
| 138 |
+
|
| 139 |
+
print(f"Cases to download: {len(cases)}")
|
| 140 |
+
if args.dry_run:
|
| 141 |
+
for case in cases[:20]:
|
| 142 |
+
repo_id = repo_map[case["part_id"]]
|
| 143 |
+
out_path = safe_output_path(args.output_dir, case, args.keep_shard_structure)
|
| 144 |
+
print(f"{repo_id} :: {case['hf_zip_path']} -> {out_path}")
|
| 145 |
+
if len(cases) > 20:
|
| 146 |
+
print(f"... and {len(cases) - 20} more")
|
| 147 |
+
return
|
| 148 |
+
|
| 149 |
+
failures = []
|
| 150 |
+
for case in tqdm(cases, desc="Downloading cases"):
|
| 151 |
+
repo_id = repo_map[case["part_id"]]
|
| 152 |
+
filename = case["hf_zip_path"]
|
| 153 |
+
out_path = safe_output_path(args.output_dir, case, args.keep_shard_structure)
|
| 154 |
+
out_path.parent.mkdir(parents=True, exist_ok=True)
|
| 155 |
+
|
| 156 |
+
if out_path.exists() and not args.overwrite:
|
| 157 |
+
continue
|
| 158 |
+
|
| 159 |
+
try:
|
| 160 |
+
cached_file = hf_hub_download(
|
| 161 |
+
repo_id=repo_id,
|
| 162 |
+
filename=filename,
|
| 163 |
+
repo_type=args.repo_type,
|
| 164 |
+
revision=args.revision,
|
| 165 |
+
token=args.token,
|
| 166 |
+
)
|
| 167 |
+
shutil.copy2(cached_file, out_path)
|
| 168 |
+
except Exception as exc: # Keep going and summarize failures.
|
| 169 |
+
failures.append(
|
| 170 |
+
{
|
| 171 |
+
"case_id": case.get("case_id"),
|
| 172 |
+
"part_id": case.get("part_id"),
|
| 173 |
+
"repo_id": repo_id,
|
| 174 |
+
"hf_zip_path": filename,
|
| 175 |
+
"error": repr(exc),
|
| 176 |
+
}
|
| 177 |
+
)
|
| 178 |
+
|
| 179 |
+
if failures:
|
| 180 |
+
failure_path = args.output_dir / "download_failures.json"
|
| 181 |
+
failure_path.write_text(json.dumps(failures, indent=2, ensure_ascii=False), encoding="utf-8")
|
| 182 |
+
print(f"Finished with {len(failures)} failures. See: {failure_path}")
|
| 183 |
+
else:
|
| 184 |
+
print("All downloads completed successfully.")
|
| 185 |
+
|
| 186 |
+
|
| 187 |
+
if __name__ == "__main__":
|
| 188 |
+
main()
|
Utils/scripts/download_3d_assets.py
ADDED
|
@@ -0,0 +1,444 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 3D asset project."""
|
| 3 |
+
|
| 4 |
+
from __future__ import annotations
|
| 5 |
+
|
| 6 |
+
import argparse
|
| 7 |
+
import filecmp
|
| 8 |
+
import json
|
| 9 |
+
import os
|
| 10 |
+
import shutil
|
| 11 |
+
import stat
|
| 12 |
+
import sys
|
| 13 |
+
import threading
|
| 14 |
+
import zipfile
|
| 15 |
+
from concurrent.futures import ThreadPoolExecutor, as_completed
|
| 16 |
+
from dataclasses import dataclass
|
| 17 |
+
from datetime import datetime, timezone
|
| 18 |
+
from pathlib import Path, PurePosixPath
|
| 19 |
+
from typing import Sequence
|
| 20 |
+
|
| 21 |
+
try:
|
| 22 |
+
from huggingface_hub import hf_hub_download
|
| 23 |
+
except ImportError as exc: # pragma: no cover
|
| 24 |
+
raise SystemExit(
|
| 25 |
+
"Missing dependency: huggingface_hub. Install it with "
|
| 26 |
+
"`pip install -U huggingface_hub tqdm`."
|
| 27 |
+
) from exc
|
| 28 |
+
|
| 29 |
+
try:
|
| 30 |
+
from tqdm import tqdm
|
| 31 |
+
except ImportError: # pragma: no cover
|
| 32 |
+
tqdm = None
|
| 33 |
+
|
| 34 |
+
|
| 35 |
+
REPO_ID = "vLAR/PhysInOne"
|
| 36 |
+
REPO_TYPE = "dataset"
|
| 37 |
+
REMOTE_ROOT = "3D Assets/PhysicBenchmark"
|
| 38 |
+
LIST_REPO_ROOT = "PhysInOne Utils/3d_assets_lists"
|
| 39 |
+
LOCAL_LIST_ROOT = Path(__file__).resolve().parent.parent / "3d_assets_lists"
|
| 40 |
+
FILE_LIST_NAME = "validation.txt"
|
| 41 |
+
ARCHIVE_LIST_NAME = "validation_archives.txt"
|
| 42 |
+
SUMMARY_NAME = "summary.json"
|
| 43 |
+
|
| 44 |
+
|
| 45 |
+
def utc_now() -> str:
|
| 46 |
+
return datetime.now(timezone.utc).isoformat(timespec="seconds")
|
| 47 |
+
|
| 48 |
+
|
| 49 |
+
def safe_message(exc: BaseException) -> str:
|
| 50 |
+
return " ".join(str(exc).replace("\t", " ").splitlines()).strip() or type(exc).__name__
|
| 51 |
+
|
| 52 |
+
|
| 53 |
+
def read_lines(path: Path) -> list[str]:
|
| 54 |
+
return [
|
| 55 |
+
line.strip()
|
| 56 |
+
for line in path.read_text(encoding="utf-8").splitlines()
|
| 57 |
+
if line.strip() and not line.lstrip().startswith("#")
|
| 58 |
+
]
|
| 59 |
+
|
| 60 |
+
|
| 61 |
+
def get_release_file(name: str, revision: str, cache_dir: Path) -> Path:
|
| 62 |
+
local = LOCAL_LIST_ROOT / name
|
| 63 |
+
if local.is_file():
|
| 64 |
+
return local
|
| 65 |
+
return Path(
|
| 66 |
+
hf_hub_download(
|
| 67 |
+
REPO_ID,
|
| 68 |
+
f"{LIST_REPO_ROOT}/{name}",
|
| 69 |
+
repo_type=REPO_TYPE,
|
| 70 |
+
revision=revision,
|
| 71 |
+
cache_dir=cache_dir,
|
| 72 |
+
)
|
| 73 |
+
)
|
| 74 |
+
|
| 75 |
+
|
| 76 |
+
def load_release(revision: str, cache_dir: Path) -> tuple[list[str], list[str], dict]:
|
| 77 |
+
files = read_lines(get_release_file(FILE_LIST_NAME, revision, cache_dir))
|
| 78 |
+
archives = read_lines(get_release_file(ARCHIVE_LIST_NAME, revision, cache_dir))
|
| 79 |
+
summary = json.loads(
|
| 80 |
+
get_release_file(SUMMARY_NAME, revision, cache_dir).read_text(encoding="utf-8")
|
| 81 |
+
)
|
| 82 |
+
if not files or len(files) != len(set(files)) or files != sorted(files):
|
| 83 |
+
raise RuntimeError("the validation 3D asset file list is empty, duplicated, or unsorted")
|
| 84 |
+
if any(not path.startswith(REMOTE_ROOT + "/") for path in files):
|
| 85 |
+
raise RuntimeError("a release path is outside the expected PhysicBenchmark root")
|
| 86 |
+
if set(archives) != {path for path in files if path.lower().endswith(".zip")}:
|
| 87 |
+
raise RuntimeError("the archive list does not match the validation file list")
|
| 88 |
+
if any(PurePosixPath(path).name.casefold() == "train.zip" for path in files):
|
| 89 |
+
raise RuntimeError("the validation release unexpectedly contains Train.zip")
|
| 90 |
+
return files, archives, summary
|
| 91 |
+
|
| 92 |
+
|
| 93 |
+
def archive_marker(archive: Path) -> Path:
|
| 94 |
+
return archive.parent / ".physinone_extract_status" / f"{archive.name}.json"
|
| 95 |
+
|
| 96 |
+
|
| 97 |
+
def completed_removed_archive(archive: Path) -> bool:
|
| 98 |
+
marker = archive_marker(archive)
|
| 99 |
+
if archive.exists() or not marker.is_file():
|
| 100 |
+
return False
|
| 101 |
+
try:
|
| 102 |
+
state = json.loads(marker.read_text(encoding="utf-8"))
|
| 103 |
+
except (OSError, ValueError):
|
| 104 |
+
return False
|
| 105 |
+
return state.get("status") == "complete" and int(state.get("files", 0)) > 0
|
| 106 |
+
|
| 107 |
+
|
| 108 |
+
def safe_zip_members(archive: zipfile.ZipFile) -> list[zipfile.ZipInfo]:
|
| 109 |
+
members = archive.infolist()
|
| 110 |
+
for info in members:
|
| 111 |
+
path = PurePosixPath(info.filename)
|
| 112 |
+
mode = (info.external_attr >> 16) & 0o170000
|
| 113 |
+
if (
|
| 114 |
+
path.is_absolute()
|
| 115 |
+
or not path.parts
|
| 116 |
+
or any(part in {"", ".", ".."} for part in path.parts)
|
| 117 |
+
or mode == stat.S_IFLNK
|
| 118 |
+
):
|
| 119 |
+
raise RuntimeError(f"unsafe ZIP member: {info.filename}")
|
| 120 |
+
return members
|
| 121 |
+
|
| 122 |
+
|
| 123 |
+
def members_complete(parent: Path, members: Sequence[zipfile.ZipInfo]) -> bool:
|
| 124 |
+
files = [info for info in members if not info.is_dir()]
|
| 125 |
+
return bool(files) and all(
|
| 126 |
+
(parent.joinpath(*PurePosixPath(info.filename).parts)).is_file()
|
| 127 |
+
and (parent.joinpath(*PurePosixPath(info.filename).parts)).stat().st_size
|
| 128 |
+
== info.file_size
|
| 129 |
+
for info in files
|
| 130 |
+
)
|
| 131 |
+
|
| 132 |
+
|
| 133 |
+
def merge_extracted_tree(temporary: Path, destination: Path) -> tuple[int, int]:
|
| 134 |
+
added = 0
|
| 135 |
+
reused = 0
|
| 136 |
+
for source in sorted(temporary.rglob("*")):
|
| 137 |
+
relative = source.relative_to(temporary)
|
| 138 |
+
target = destination / relative
|
| 139 |
+
if source.is_dir():
|
| 140 |
+
target.mkdir(parents=True, exist_ok=True)
|
| 141 |
+
continue
|
| 142 |
+
target.parent.mkdir(parents=True, exist_ok=True)
|
| 143 |
+
if target.exists():
|
| 144 |
+
if not target.is_file():
|
| 145 |
+
raise RuntimeError(f"extraction conflict with non-file path: {target}")
|
| 146 |
+
if source.stat().st_size != target.stat().st_size or not filecmp.cmp(
|
| 147 |
+
source, target, shallow=False
|
| 148 |
+
):
|
| 149 |
+
raise RuntimeError(f"extraction would overwrite different data: {target}")
|
| 150 |
+
source.unlink()
|
| 151 |
+
reused += 1
|
| 152 |
+
else:
|
| 153 |
+
source.replace(target)
|
| 154 |
+
added += 1
|
| 155 |
+
return added, reused
|
| 156 |
+
|
| 157 |
+
|
| 158 |
+
def extract_archive(archive_path: Path) -> tuple[str, int, int]:
|
| 159 |
+
marker = archive_marker(archive_path)
|
| 160 |
+
with zipfile.ZipFile(archive_path) as archive:
|
| 161 |
+
members = safe_zip_members(archive)
|
| 162 |
+
files = [info for info in members if not info.is_dir()]
|
| 163 |
+
if members_complete(archive_path.parent, members):
|
| 164 |
+
marker.parent.mkdir(exist_ok=True)
|
| 165 |
+
marker.write_text(
|
| 166 |
+
json.dumps(
|
| 167 |
+
{
|
| 168 |
+
"archive": archive_path.name,
|
| 169 |
+
"archive_size": archive_path.stat().st_size,
|
| 170 |
+
"files": len(files),
|
| 171 |
+
"status": "complete",
|
| 172 |
+
"verified_at": utc_now(),
|
| 173 |
+
},
|
| 174 |
+
sort_keys=True,
|
| 175 |
+
)
|
| 176 |
+
+ "\n",
|
| 177 |
+
encoding="utf-8",
|
| 178 |
+
)
|
| 179 |
+
return "already_extracted", 0, len(files)
|
| 180 |
+
|
| 181 |
+
temporary_root = archive_path.parent / ".physinone_extracting"
|
| 182 |
+
temporary = temporary_root / (
|
| 183 |
+
f"{archive_path.stem}-{os.getpid()}-{threading.get_ident()}"
|
| 184 |
+
)
|
| 185 |
+
if temporary.exists():
|
| 186 |
+
shutil.rmtree(temporary)
|
| 187 |
+
temporary.mkdir(parents=True)
|
| 188 |
+
try:
|
| 189 |
+
archive.extractall(temporary)
|
| 190 |
+
added, reused = merge_extracted_tree(temporary, archive_path.parent)
|
| 191 |
+
finally:
|
| 192 |
+
if temporary.exists():
|
| 193 |
+
shutil.rmtree(temporary)
|
| 194 |
+
if temporary_root.exists() and not any(temporary_root.iterdir()):
|
| 195 |
+
temporary_root.rmdir()
|
| 196 |
+
|
| 197 |
+
marker.parent.mkdir(exist_ok=True)
|
| 198 |
+
marker.write_text(
|
| 199 |
+
json.dumps(
|
| 200 |
+
{
|
| 201 |
+
"archive": archive_path.name,
|
| 202 |
+
"archive_size": archive_path.stat().st_size,
|
| 203 |
+
"files": len(files),
|
| 204 |
+
"status": "complete",
|
| 205 |
+
"verified_at": utc_now(),
|
| 206 |
+
},
|
| 207 |
+
sort_keys=True,
|
| 208 |
+
)
|
| 209 |
+
+ "\n",
|
| 210 |
+
encoding="utf-8",
|
| 211 |
+
)
|
| 212 |
+
return "extracted", added, reused
|
| 213 |
+
|
| 214 |
+
|
| 215 |
+
@dataclass(frozen=True)
|
| 216 |
+
class DownloadResult:
|
| 217 |
+
remote_path: str
|
| 218 |
+
local_path: str
|
| 219 |
+
status: str
|
| 220 |
+
error: str = ""
|
| 221 |
+
|
| 222 |
+
|
| 223 |
+
class Logs:
|
| 224 |
+
def __init__(self, root: Path) -> None:
|
| 225 |
+
self.root = root
|
| 226 |
+
self.root.mkdir(parents=True, exist_ok=True)
|
| 227 |
+
self.downloads = root / "downloads.tsv"
|
| 228 |
+
self.failures = root / "failures.tsv"
|
| 229 |
+
self.extraction = root / "extraction.tsv"
|
| 230 |
+
self.events = root / "events.jsonl"
|
| 231 |
+
self._lock = threading.Lock()
|
| 232 |
+
self.downloads.write_text(
|
| 233 |
+
"remote_path\tlocal_path\tstatus\ttimestamp\n", encoding="utf-8"
|
| 234 |
+
)
|
| 235 |
+
self.failures.write_text(
|
| 236 |
+
"stage\tpath\terror\ttimestamp\n", encoding="utf-8"
|
| 237 |
+
)
|
| 238 |
+
self.extraction.write_text(
|
| 239 |
+
"archive\tstatus\tadded_files\treused_files\ttimestamp\n",
|
| 240 |
+
encoding="utf-8",
|
| 241 |
+
)
|
| 242 |
+
|
| 243 |
+
def event(self, event: str, **fields: object) -> None:
|
| 244 |
+
payload = {"event": event, "timestamp": utc_now(), **fields}
|
| 245 |
+
with self._lock, self.events.open("a", encoding="utf-8") as handle:
|
| 246 |
+
handle.write(json.dumps(payload, sort_keys=True) + "\n")
|
| 247 |
+
|
| 248 |
+
def record_download(self, result: DownloadResult) -> None:
|
| 249 |
+
timestamp = utc_now()
|
| 250 |
+
with self._lock:
|
| 251 |
+
if result.error:
|
| 252 |
+
with self.failures.open("a", encoding="utf-8") as handle:
|
| 253 |
+
handle.write(
|
| 254 |
+
f"download\t{result.remote_path}\t{result.error}\t{timestamp}\n"
|
| 255 |
+
)
|
| 256 |
+
else:
|
| 257 |
+
with self.downloads.open("a", encoding="utf-8") as handle:
|
| 258 |
+
handle.write(
|
| 259 |
+
f"{result.remote_path}\t{result.local_path}\t"
|
| 260 |
+
f"{result.status}\t{timestamp}\n"
|
| 261 |
+
)
|
| 262 |
+
self.event(
|
| 263 |
+
"download",
|
| 264 |
+
remote_path=result.remote_path,
|
| 265 |
+
local_path=result.local_path,
|
| 266 |
+
status=result.status,
|
| 267 |
+
error=result.error,
|
| 268 |
+
)
|
| 269 |
+
|
| 270 |
+
def record_extraction(
|
| 271 |
+
self, archive: str, status: str, added: int, reused: int, error: str = ""
|
| 272 |
+
) -> None:
|
| 273 |
+
timestamp = utc_now()
|
| 274 |
+
with self._lock:
|
| 275 |
+
if error:
|
| 276 |
+
with self.failures.open("a", encoding="utf-8") as handle:
|
| 277 |
+
handle.write(f"extract\t{archive}\t{error}\t{timestamp}\n")
|
| 278 |
+
else:
|
| 279 |
+
with self.extraction.open("a", encoding="utf-8") as handle:
|
| 280 |
+
handle.write(
|
| 281 |
+
f"{archive}\t{status}\t{added}\t{reused}\t{timestamp}\n"
|
| 282 |
+
)
|
| 283 |
+
self.event(
|
| 284 |
+
"extraction",
|
| 285 |
+
archive=archive,
|
| 286 |
+
status=status,
|
| 287 |
+
added_files=added,
|
| 288 |
+
reused_files=reused,
|
| 289 |
+
error=error,
|
| 290 |
+
)
|
| 291 |
+
|
| 292 |
+
|
| 293 |
+
def download_one(
|
| 294 |
+
remote_path: str,
|
| 295 |
+
output_dir: Path,
|
| 296 |
+
cache_dir: Path,
|
| 297 |
+
revision: str,
|
| 298 |
+
skip_removed_archive: bool,
|
| 299 |
+
) -> DownloadResult:
|
| 300 |
+
local_expected = output_dir.joinpath(*PurePosixPath(remote_path).parts)
|
| 301 |
+
if skip_removed_archive and completed_removed_archive(local_expected):
|
| 302 |
+
return DownloadResult(remote_path, str(local_expected), "extracted_zip_removed")
|
| 303 |
+
try:
|
| 304 |
+
local = hf_hub_download(
|
| 305 |
+
REPO_ID,
|
| 306 |
+
remote_path,
|
| 307 |
+
repo_type=REPO_TYPE,
|
| 308 |
+
revision=revision,
|
| 309 |
+
local_dir=output_dir,
|
| 310 |
+
cache_dir=cache_dir,
|
| 311 |
+
)
|
| 312 |
+
return DownloadResult(remote_path, str(local), "ready")
|
| 313 |
+
except Exception as exc:
|
| 314 |
+
return DownloadResult(remote_path, "", "failed", safe_message(exc))
|
| 315 |
+
|
| 316 |
+
|
| 317 |
+
def build_parser() -> argparse.ArgumentParser:
|
| 318 |
+
parser = argparse.ArgumentParser(
|
| 319 |
+
description="Download and assemble the PhysInOne validation 3D asset project."
|
| 320 |
+
)
|
| 321 |
+
parser.add_argument(
|
| 322 |
+
"--output-dir",
|
| 323 |
+
type=Path,
|
| 324 |
+
default=Path("PhysInOne-3D-Assets"),
|
| 325 |
+
help=(
|
| 326 |
+
"Local release root. The project will be stored at "
|
| 327 |
+
"<output-dir>/3D Assets/PhysicBenchmark."
|
| 328 |
+
),
|
| 329 |
+
)
|
| 330 |
+
parser.add_argument(
|
| 331 |
+
"--workers", type=int, default=4, help="Concurrent downloads (default: 4)."
|
| 332 |
+
)
|
| 333 |
+
parser.add_argument("--revision", default="main", help="Dataset revision (default: main).")
|
| 334 |
+
parser.add_argument(
|
| 335 |
+
"--no-extract",
|
| 336 |
+
action="store_true",
|
| 337 |
+
help="Download the release without extracting its eight ZIP archives.",
|
| 338 |
+
)
|
| 339 |
+
parser.add_argument(
|
| 340 |
+
"--delete-zip-after-extract",
|
| 341 |
+
action="store_true",
|
| 342 |
+
help="Delete each ZIP only after it is completely extracted and verified.",
|
| 343 |
+
)
|
| 344 |
+
parser.add_argument(
|
| 345 |
+
"--dry-run", action="store_true", help="Show release statistics without downloading."
|
| 346 |
+
)
|
| 347 |
+
return parser
|
| 348 |
+
|
| 349 |
+
|
| 350 |
+
def main(argv: Sequence[str] | None = None) -> int:
|
| 351 |
+
args = build_parser().parse_args(argv)
|
| 352 |
+
if args.workers < 1:
|
| 353 |
+
raise SystemExit("--workers must be at least 1")
|
| 354 |
+
if args.no_extract and args.delete_zip_after_extract:
|
| 355 |
+
raise SystemExit("--delete-zip-after-extract cannot be combined with --no-extract")
|
| 356 |
+
|
| 357 |
+
output_dir = args.output_dir.expanduser().resolve()
|
| 358 |
+
cache_dir = output_dir / ".hf_cache"
|
| 359 |
+
files, archives, release_summary = load_release(args.revision, cache_dir)
|
| 360 |
+
print(
|
| 361 |
+
f"Validation 3D assets: {len(files)} files, {len(archives)} ZIP archives, "
|
| 362 |
+
f"{int(release_summary['bytes']) / (1024 ** 3):.2f} GiB download"
|
| 363 |
+
)
|
| 364 |
+
print(f"Project root: {output_dir / '3D Assets' / 'PhysicBenchmark'}")
|
| 365 |
+
if args.dry_run:
|
| 366 |
+
return 0
|
| 367 |
+
|
| 368 |
+
output_dir.mkdir(parents=True, exist_ok=True)
|
| 369 |
+
run_id = datetime.now().strftime("%Y%m%d_%H%M%S")
|
| 370 |
+
logs = Logs(output_dir / "_3d_asset_download_logs" / run_id)
|
| 371 |
+
results: list[DownloadResult] = []
|
| 372 |
+
with ThreadPoolExecutor(max_workers=args.workers) as pool:
|
| 373 |
+
futures = {
|
| 374 |
+
pool.submit(
|
| 375 |
+
download_one,
|
| 376 |
+
path,
|
| 377 |
+
output_dir,
|
| 378 |
+
cache_dir,
|
| 379 |
+
args.revision,
|
| 380 |
+
args.delete_zip_after_extract,
|
| 381 |
+
): path
|
| 382 |
+
for path in files
|
| 383 |
+
}
|
| 384 |
+
completed = as_completed(futures)
|
| 385 |
+
if tqdm is not None:
|
| 386 |
+
completed = tqdm(completed, total=len(futures), unit="file", desc="Download")
|
| 387 |
+
for future in completed:
|
| 388 |
+
result = future.result()
|
| 389 |
+
logs.record_download(result)
|
| 390 |
+
results.append(result)
|
| 391 |
+
|
| 392 |
+
download_failures = [result for result in results if result.error]
|
| 393 |
+
extraction_failures = 0
|
| 394 |
+
extracted = 0
|
| 395 |
+
if not args.no_extract:
|
| 396 |
+
iterable = archives
|
| 397 |
+
if tqdm is not None:
|
| 398 |
+
iterable = tqdm(archives, unit="archive", desc="Extract")
|
| 399 |
+
for remote_path in iterable:
|
| 400 |
+
archive_path = output_dir.joinpath(*PurePosixPath(remote_path).parts)
|
| 401 |
+
if completed_removed_archive(archive_path):
|
| 402 |
+
logs.record_extraction(remote_path, "already_extracted_zip_removed", 0, 0)
|
| 403 |
+
extracted += 1
|
| 404 |
+
continue
|
| 405 |
+
if not archive_path.is_file():
|
| 406 |
+
error = "archive is unavailable because its download failed"
|
| 407 |
+
logs.record_extraction(remote_path, "failed", 0, 0, error)
|
| 408 |
+
extraction_failures += 1
|
| 409 |
+
continue
|
| 410 |
+
try:
|
| 411 |
+
status, added, reused = extract_archive(archive_path)
|
| 412 |
+
logs.record_extraction(remote_path, status, added, reused)
|
| 413 |
+
extracted += 1
|
| 414 |
+
if args.delete_zip_after_extract:
|
| 415 |
+
archive_path.unlink()
|
| 416 |
+
except Exception as exc:
|
| 417 |
+
logs.record_extraction(
|
| 418 |
+
remote_path, "failed", 0, 0, safe_message(exc)
|
| 419 |
+
)
|
| 420 |
+
extraction_failures += 1
|
| 421 |
+
|
| 422 |
+
summary = {
|
| 423 |
+
"repo_id": REPO_ID,
|
| 424 |
+
"revision": args.revision,
|
| 425 |
+
"release": "validation",
|
| 426 |
+
"expected_files": len(files),
|
| 427 |
+
"successful_downloads": len(results) - len(download_failures),
|
| 428 |
+
"download_failures": len(download_failures),
|
| 429 |
+
"expected_archives": len(archives),
|
| 430 |
+
"completed_archives": extracted,
|
| 431 |
+
"extraction_failures": extraction_failures,
|
| 432 |
+
"project_root": str(output_dir / "3D Assets" / "PhysicBenchmark"),
|
| 433 |
+
"log_dir": str(logs.root),
|
| 434 |
+
"finished_at": utc_now(),
|
| 435 |
+
}
|
| 436 |
+
(logs.root / "summary.json").write_text(
|
| 437 |
+
json.dumps(summary, indent=2, sort_keys=True) + "\n", encoding="utf-8"
|
| 438 |
+
)
|
| 439 |
+
print(json.dumps(summary, indent=2, sort_keys=True))
|
| 440 |
+
return 1 if download_failures or extraction_failures else 0
|
| 441 |
+
|
| 442 |
+
|
| 443 |
+
if __name__ == "__main__":
|
| 444 |
+
raise SystemExit(main())
|
Utils/scripts/download_leaderboard.py
ADDED
|
@@ -0,0 +1,435 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""Download public PhysInOne Leaderboard evaluation data.
|
| 3 |
+
|
| 4 |
+
The script uses release-maintained, task-specific file lists so every download
|
| 5 |
+
is explicit, reproducible, resumable, and limited to the requested tasks.
|
| 6 |
+
"""
|
| 7 |
+
|
| 8 |
+
from __future__ import annotations
|
| 9 |
+
|
| 10 |
+
import argparse
|
| 11 |
+
import json
|
| 12 |
+
import os
|
| 13 |
+
import shutil
|
| 14 |
+
import stat
|
| 15 |
+
import sys
|
| 16 |
+
import threading
|
| 17 |
+
import zipfile
|
| 18 |
+
from concurrent.futures import ThreadPoolExecutor, as_completed
|
| 19 |
+
from dataclasses import dataclass
|
| 20 |
+
from datetime import datetime, timezone
|
| 21 |
+
from pathlib import Path, PurePosixPath
|
| 22 |
+
from typing import Iterable, Sequence
|
| 23 |
+
|
| 24 |
+
try:
|
| 25 |
+
from huggingface_hub import hf_hub_download
|
| 26 |
+
except ImportError as exc: # pragma: no cover - exercised by users without the dependency
|
| 27 |
+
raise SystemExit(
|
| 28 |
+
"Missing dependency: huggingface_hub. Install it with "
|
| 29 |
+
"`pip install -U huggingface_hub tqdm`."
|
| 30 |
+
) from exc
|
| 31 |
+
|
| 32 |
+
try:
|
| 33 |
+
from tqdm import tqdm
|
| 34 |
+
except ImportError: # pragma: no cover - tqdm is optional
|
| 35 |
+
tqdm = None
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
REPO_ID = "vLAR/PhysInOne"
|
| 39 |
+
REPO_TYPE = "dataset"
|
| 40 |
+
TASKS = {
|
| 41 |
+
"video-generation": {
|
| 42 |
+
"display": "Video Generation",
|
| 43 |
+
"list": "video-generation.txt",
|
| 44 |
+
},
|
| 45 |
+
"future-prediction": {
|
| 46 |
+
"display": "Future Prediction",
|
| 47 |
+
"list": "future-prediction.txt",
|
| 48 |
+
},
|
| 49 |
+
"physical-properties-estimation": {
|
| 50 |
+
"display": "Physical Properties Estimation",
|
| 51 |
+
"list": "physical-properties-estimation.txt",
|
| 52 |
+
},
|
| 53 |
+
"motion-transfer": {
|
| 54 |
+
"display": "Motion Transfer",
|
| 55 |
+
"list": "motion-transfer.txt",
|
| 56 |
+
},
|
| 57 |
+
}
|
| 58 |
+
ALIASES = {
|
| 59 |
+
"video": "video-generation",
|
| 60 |
+
"vg": "video-generation",
|
| 61 |
+
"future": "future-prediction",
|
| 62 |
+
"fp": "future-prediction",
|
| 63 |
+
"physical-properties": "physical-properties-estimation",
|
| 64 |
+
"physical-property-estimation": "physical-properties-estimation",
|
| 65 |
+
"ppe": "physical-properties-estimation",
|
| 66 |
+
"motion": "motion-transfer",
|
| 67 |
+
"mt": "motion-transfer",
|
| 68 |
+
}
|
| 69 |
+
LIST_REPO_ROOT = "PhysInOne Utils/leaderboard_lists"
|
| 70 |
+
LOCAL_LIST_ROOT = Path(__file__).resolve().parent.parent / "leaderboard_lists"
|
| 71 |
+
|
| 72 |
+
|
| 73 |
+
def utc_now() -> str:
|
| 74 |
+
return datetime.now(timezone.utc).isoformat(timespec="seconds")
|
| 75 |
+
|
| 76 |
+
|
| 77 |
+
def safe_message(exc: BaseException) -> str:
|
| 78 |
+
return " ".join(str(exc).replace("\t", " ").splitlines()).strip() or type(exc).__name__
|
| 79 |
+
|
| 80 |
+
|
| 81 |
+
def normalize_task(value: str) -> str:
|
| 82 |
+
slug = value.strip().lower().replace("_", "-").replace(" ", "-")
|
| 83 |
+
slug = ALIASES.get(slug, slug)
|
| 84 |
+
if slug not in TASKS and slug != "all":
|
| 85 |
+
choices = ", ".join([*TASKS, "all"])
|
| 86 |
+
raise argparse.ArgumentTypeError(f"unknown task {value!r}; choose one of: {choices}")
|
| 87 |
+
return slug
|
| 88 |
+
|
| 89 |
+
|
| 90 |
+
def selected_tasks(values: Sequence[str]) -> list[str]:
|
| 91 |
+
if not values or "all" in values:
|
| 92 |
+
return list(TASKS)
|
| 93 |
+
return list(dict.fromkeys(values))
|
| 94 |
+
|
| 95 |
+
|
| 96 |
+
def read_lines(path: Path) -> list[str]:
|
| 97 |
+
lines = []
|
| 98 |
+
for raw in path.read_text(encoding="utf-8").splitlines():
|
| 99 |
+
line = raw.strip()
|
| 100 |
+
if line and not line.startswith("#"):
|
| 101 |
+
lines.append(line)
|
| 102 |
+
return lines
|
| 103 |
+
|
| 104 |
+
|
| 105 |
+
def get_task_list(task: str, revision: str, cache_dir: Path) -> list[str]:
|
| 106 |
+
filename = str(TASKS[task]["list"])
|
| 107 |
+
local = LOCAL_LIST_ROOT / filename
|
| 108 |
+
if not local.is_file():
|
| 109 |
+
remote = f"{LIST_REPO_ROOT}/{filename}"
|
| 110 |
+
local = Path(
|
| 111 |
+
hf_hub_download(
|
| 112 |
+
repo_id=REPO_ID,
|
| 113 |
+
repo_type=REPO_TYPE,
|
| 114 |
+
filename=remote,
|
| 115 |
+
revision=revision,
|
| 116 |
+
cache_dir=cache_dir,
|
| 117 |
+
)
|
| 118 |
+
)
|
| 119 |
+
paths = read_lines(local)
|
| 120 |
+
expected_root = f"Leaderboard/{TASKS[task]['display']}/"
|
| 121 |
+
invalid = [path for path in paths if not path.startswith(expected_root)]
|
| 122 |
+
if invalid:
|
| 123 |
+
raise RuntimeError(f"invalid path in {filename}: {invalid[0]}")
|
| 124 |
+
if len(paths) != len(set(paths)):
|
| 125 |
+
raise RuntimeError(f"duplicate paths found in {filename}")
|
| 126 |
+
return paths
|
| 127 |
+
|
| 128 |
+
|
| 129 |
+
def filter_scenes(paths: Iterable[str], scene_filters: Sequence[str]) -> list[str]:
|
| 130 |
+
filters = [item.casefold() for item in scene_filters if item.strip()]
|
| 131 |
+
if not filters:
|
| 132 |
+
return list(paths)
|
| 133 |
+
return [path for path in paths if any(item in path.casefold() for item in filters)]
|
| 134 |
+
|
| 135 |
+
|
| 136 |
+
def is_safe_zip_member(info: zipfile.ZipInfo) -> bool:
|
| 137 |
+
path = PurePosixPath(info.filename)
|
| 138 |
+
if path.is_absolute() or not path.parts:
|
| 139 |
+
return False
|
| 140 |
+
if any(part in {"", ".", ".."} for part in path.parts):
|
| 141 |
+
return False
|
| 142 |
+
mode = (info.external_attr >> 16) & 0o170000
|
| 143 |
+
return mode != stat.S_IFLNK
|
| 144 |
+
|
| 145 |
+
|
| 146 |
+
def extract_scene_zip(zip_path: Path) -> str:
|
| 147 |
+
"""Safely extract a scene archive next to the ZIP and return its root path."""
|
| 148 |
+
expected_root = zip_path.stem
|
| 149 |
+
destination = zip_path.parent / expected_root
|
| 150 |
+
marker_dir = zip_path.parent / ".physinone_extract_status"
|
| 151 |
+
marker = marker_dir / f"{zip_path.name}.json"
|
| 152 |
+
archive_stat = zip_path.stat()
|
| 153 |
+
|
| 154 |
+
if marker.is_file() and destination.is_dir():
|
| 155 |
+
try:
|
| 156 |
+
state = json.loads(marker.read_text(encoding="utf-8"))
|
| 157 |
+
if state.get("archive_size") == archive_stat.st_size:
|
| 158 |
+
return "already_extracted"
|
| 159 |
+
except (OSError, ValueError):
|
| 160 |
+
pass
|
| 161 |
+
if destination.exists():
|
| 162 |
+
raise RuntimeError(
|
| 163 |
+
f"extraction target already exists without a matching completion marker: {destination}"
|
| 164 |
+
)
|
| 165 |
+
|
| 166 |
+
temporary = zip_path.parent / (
|
| 167 |
+
f".{expected_root}.extracting-{os.getpid()}-{threading.get_ident()}"
|
| 168 |
+
)
|
| 169 |
+
if temporary.exists():
|
| 170 |
+
shutil.rmtree(temporary)
|
| 171 |
+
temporary.mkdir(parents=False)
|
| 172 |
+
try:
|
| 173 |
+
with zipfile.ZipFile(zip_path) as archive:
|
| 174 |
+
members = archive.infolist()
|
| 175 |
+
unsafe = [info.filename for info in members if not is_safe_zip_member(info)]
|
| 176 |
+
if unsafe:
|
| 177 |
+
raise RuntimeError(f"unsafe ZIP member: {unsafe[0]}")
|
| 178 |
+
roots = {PurePosixPath(info.filename).parts[0] for info in members}
|
| 179 |
+
if roots != {expected_root}:
|
| 180 |
+
raise RuntimeError(
|
| 181 |
+
f"unexpected ZIP root(s) {sorted(roots)}; expected {expected_root!r}"
|
| 182 |
+
)
|
| 183 |
+
bad = archive.testzip()
|
| 184 |
+
if bad is not None:
|
| 185 |
+
raise RuntimeError(f"ZIP CRC check failed at {bad}")
|
| 186 |
+
archive.extractall(temporary)
|
| 187 |
+
extracted = temporary / expected_root
|
| 188 |
+
if not extracted.is_dir():
|
| 189 |
+
raise RuntimeError(f"archive did not create the expected scene directory: {expected_root}")
|
| 190 |
+
extracted.replace(destination)
|
| 191 |
+
marker_dir.mkdir(exist_ok=True)
|
| 192 |
+
marker.write_text(
|
| 193 |
+
json.dumps(
|
| 194 |
+
{
|
| 195 |
+
"archive": zip_path.name,
|
| 196 |
+
"archive_size": archive_stat.st_size,
|
| 197 |
+
"extracted_at": utc_now(),
|
| 198 |
+
},
|
| 199 |
+
sort_keys=True,
|
| 200 |
+
)
|
| 201 |
+
+ "\n",
|
| 202 |
+
encoding="utf-8",
|
| 203 |
+
)
|
| 204 |
+
return "extracted"
|
| 205 |
+
finally:
|
| 206 |
+
if temporary.exists():
|
| 207 |
+
shutil.rmtree(temporary)
|
| 208 |
+
|
| 209 |
+
|
| 210 |
+
@dataclass(frozen=True)
|
| 211 |
+
class Result:
|
| 212 |
+
task: str
|
| 213 |
+
remote_path: str
|
| 214 |
+
local_path: str
|
| 215 |
+
status: str
|
| 216 |
+
extracted: str
|
| 217 |
+
error: str = ""
|
| 218 |
+
|
| 219 |
+
|
| 220 |
+
class Logs:
|
| 221 |
+
def __init__(self, root: Path) -> None:
|
| 222 |
+
self.root = root
|
| 223 |
+
self.root.mkdir(parents=True, exist_ok=True)
|
| 224 |
+
self.success = self.root / "success.tsv"
|
| 225 |
+
self.failures = self.root / "failures.tsv"
|
| 226 |
+
self.events = self.root / "events.jsonl"
|
| 227 |
+
self._lock = threading.Lock()
|
| 228 |
+
self.success.write_text(
|
| 229 |
+
"task\tremote_path\tlocal_path\tstatus\textracted\ttimestamp\n",
|
| 230 |
+
encoding="utf-8",
|
| 231 |
+
)
|
| 232 |
+
self.failures.write_text(
|
| 233 |
+
"task\tremote_path\terror\ttimestamp\n",
|
| 234 |
+
encoding="utf-8",
|
| 235 |
+
)
|
| 236 |
+
|
| 237 |
+
def record(self, result: Result) -> None:
|
| 238 |
+
timestamp = utc_now()
|
| 239 |
+
with self._lock:
|
| 240 |
+
if result.error:
|
| 241 |
+
with self.failures.open("a", encoding="utf-8") as handle:
|
| 242 |
+
handle.write(
|
| 243 |
+
f"{result.task}\t{result.remote_path}\t{result.error}\t{timestamp}\n"
|
| 244 |
+
)
|
| 245 |
+
else:
|
| 246 |
+
with self.success.open("a", encoding="utf-8") as handle:
|
| 247 |
+
handle.write(
|
| 248 |
+
f"{result.task}\t{result.remote_path}\t{result.local_path}\t"
|
| 249 |
+
f"{result.status}\t{result.extracted}\t{timestamp}\n"
|
| 250 |
+
)
|
| 251 |
+
with self.events.open("a", encoding="utf-8") as handle:
|
| 252 |
+
handle.write(
|
| 253 |
+
json.dumps(
|
| 254 |
+
{
|
| 255 |
+
"task": result.task,
|
| 256 |
+
"remote_path": result.remote_path,
|
| 257 |
+
"local_path": result.local_path,
|
| 258 |
+
"status": result.status,
|
| 259 |
+
"extracted": result.extracted,
|
| 260 |
+
"error": result.error,
|
| 261 |
+
"timestamp": timestamp,
|
| 262 |
+
},
|
| 263 |
+
sort_keys=True,
|
| 264 |
+
)
|
| 265 |
+
+ "\n"
|
| 266 |
+
)
|
| 267 |
+
|
| 268 |
+
|
| 269 |
+
def download_one(
|
| 270 |
+
task: str,
|
| 271 |
+
remote_path: str,
|
| 272 |
+
output_dir: Path,
|
| 273 |
+
cache_dir: Path,
|
| 274 |
+
revision: str,
|
| 275 |
+
extract: bool,
|
| 276 |
+
delete_zip: bool,
|
| 277 |
+
) -> Result:
|
| 278 |
+
try:
|
| 279 |
+
local = Path(
|
| 280 |
+
hf_hub_download(
|
| 281 |
+
repo_id=REPO_ID,
|
| 282 |
+
repo_type=REPO_TYPE,
|
| 283 |
+
filename=remote_path,
|
| 284 |
+
revision=revision,
|
| 285 |
+
local_dir=output_dir,
|
| 286 |
+
cache_dir=cache_dir,
|
| 287 |
+
)
|
| 288 |
+
)
|
| 289 |
+
extracted = "not_requested"
|
| 290 |
+
if extract and local.suffix.lower() == ".zip":
|
| 291 |
+
extracted = extract_scene_zip(local)
|
| 292 |
+
if delete_zip:
|
| 293 |
+
local.unlink()
|
| 294 |
+
elif extract:
|
| 295 |
+
extracted = "not_a_zip"
|
| 296 |
+
return Result(task, remote_path, str(local), "ready", extracted)
|
| 297 |
+
except Exception as exc: # keep other downloads running and report all failures
|
| 298 |
+
return Result(task, remote_path, "", "failed", "not_extracted", safe_message(exc))
|
| 299 |
+
|
| 300 |
+
|
| 301 |
+
def build_parser() -> argparse.ArgumentParser:
|
| 302 |
+
parser = argparse.ArgumentParser(
|
| 303 |
+
description="Download public PhysInOne Leaderboard evaluation data."
|
| 304 |
+
)
|
| 305 |
+
parser.add_argument(
|
| 306 |
+
"--task",
|
| 307 |
+
nargs="+",
|
| 308 |
+
type=normalize_task,
|
| 309 |
+
default=["all"],
|
| 310 |
+
help=(
|
| 311 |
+
"Task(s) to download: video-generation, future-prediction, "
|
| 312 |
+
"physical-properties-estimation, motion-transfer, or all."
|
| 313 |
+
),
|
| 314 |
+
)
|
| 315 |
+
parser.add_argument(
|
| 316 |
+
"--output-dir",
|
| 317 |
+
type=Path,
|
| 318 |
+
default=Path("PhysInOne-Leaderboard"),
|
| 319 |
+
help="Local dataset root (default: ./PhysInOne-Leaderboard).",
|
| 320 |
+
)
|
| 321 |
+
parser.add_argument(
|
| 322 |
+
"--scene",
|
| 323 |
+
action="append",
|
| 324 |
+
default=[],
|
| 325 |
+
help="Download only paths containing this scene name or six-character ID; repeatable.",
|
| 326 |
+
)
|
| 327 |
+
parser.add_argument(
|
| 328 |
+
"--workers",
|
| 329 |
+
type=int,
|
| 330 |
+
default=4,
|
| 331 |
+
help="Concurrent file downloads (default: 4).",
|
| 332 |
+
)
|
| 333 |
+
parser.add_argument("--revision", default="main", help="Dataset revision (default: main).")
|
| 334 |
+
parser.add_argument(
|
| 335 |
+
"--extract",
|
| 336 |
+
action="store_true",
|
| 337 |
+
help="Validate and safely extract downloaded scene ZIP files next to each archive.",
|
| 338 |
+
)
|
| 339 |
+
parser.add_argument(
|
| 340 |
+
"--delete-zip-after-extract",
|
| 341 |
+
action="store_true",
|
| 342 |
+
help="Delete each ZIP only after successful extraction; requires --extract.",
|
| 343 |
+
)
|
| 344 |
+
parser.add_argument(
|
| 345 |
+
"--list-only",
|
| 346 |
+
action="store_true",
|
| 347 |
+
help="Print the selected remote file paths without downloading them.",
|
| 348 |
+
)
|
| 349 |
+
parser.add_argument(
|
| 350 |
+
"--dry-run",
|
| 351 |
+
action="store_true",
|
| 352 |
+
help="Show task and file counts without downloading data.",
|
| 353 |
+
)
|
| 354 |
+
return parser
|
| 355 |
+
|
| 356 |
+
|
| 357 |
+
def main(argv: Sequence[str] | None = None) -> int:
|
| 358 |
+
args = build_parser().parse_args(argv)
|
| 359 |
+
if args.workers < 1:
|
| 360 |
+
raise SystemExit("--workers must be at least 1")
|
| 361 |
+
if args.delete_zip_after_extract and not args.extract:
|
| 362 |
+
raise SystemExit("--delete-zip-after-extract requires --extract")
|
| 363 |
+
|
| 364 |
+
tasks = selected_tasks(args.task)
|
| 365 |
+
output_dir = args.output_dir.expanduser().resolve()
|
| 366 |
+
cache_dir = output_dir / ".hf_cache"
|
| 367 |
+
selections: list[tuple[str, str]] = []
|
| 368 |
+
counts: dict[str, int] = {}
|
| 369 |
+
for task in tasks:
|
| 370 |
+
paths = filter_scenes(get_task_list(task, args.revision, cache_dir), args.scene)
|
| 371 |
+
counts[task] = len(paths)
|
| 372 |
+
selections.extend((task, path) for path in paths)
|
| 373 |
+
|
| 374 |
+
if args.list_only:
|
| 375 |
+
for _, path in selections:
|
| 376 |
+
print(path)
|
| 377 |
+
return 0
|
| 378 |
+
|
| 379 |
+
for task in tasks:
|
| 380 |
+
print(f"{task}: {counts[task]} file(s)")
|
| 381 |
+
print(f"Total: {len(selections)} file(s)")
|
| 382 |
+
if args.scene and not selections:
|
| 383 |
+
print("No files matched --scene.", file=sys.stderr)
|
| 384 |
+
return 2
|
| 385 |
+
if args.dry_run:
|
| 386 |
+
return 0
|
| 387 |
+
|
| 388 |
+
output_dir.mkdir(parents=True, exist_ok=True)
|
| 389 |
+
run_id = datetime.now().strftime("%Y%m%d_%H%M%S")
|
| 390 |
+
logs = Logs(output_dir / "_download_logs" / run_id)
|
| 391 |
+
results: list[Result] = []
|
| 392 |
+
with ThreadPoolExecutor(max_workers=args.workers) as pool:
|
| 393 |
+
futures = {
|
| 394 |
+
pool.submit(
|
| 395 |
+
download_one,
|
| 396 |
+
task,
|
| 397 |
+
path,
|
| 398 |
+
output_dir,
|
| 399 |
+
cache_dir,
|
| 400 |
+
args.revision,
|
| 401 |
+
args.extract,
|
| 402 |
+
args.delete_zip_after_extract,
|
| 403 |
+
): (task, path)
|
| 404 |
+
for task, path in selections
|
| 405 |
+
}
|
| 406 |
+
completed = as_completed(futures)
|
| 407 |
+
if tqdm is not None:
|
| 408 |
+
completed = tqdm(completed, total=len(futures), unit="file")
|
| 409 |
+
for future in completed:
|
| 410 |
+
result = future.result()
|
| 411 |
+
logs.record(result)
|
| 412 |
+
results.append(result)
|
| 413 |
+
|
| 414 |
+
failed = [result for result in results if result.error]
|
| 415 |
+
summary = {
|
| 416 |
+
"repo_id": REPO_ID,
|
| 417 |
+
"revision": args.revision,
|
| 418 |
+
"tasks": tasks,
|
| 419 |
+
"selected_files": len(selections),
|
| 420 |
+
"successful_files": len(results) - len(failed),
|
| 421 |
+
"failed_files": len(failed),
|
| 422 |
+
"output_dir": str(output_dir),
|
| 423 |
+
"log_dir": str(logs.root),
|
| 424 |
+
"finished_at": utc_now(),
|
| 425 |
+
}
|
| 426 |
+
(logs.root / "summary.json").write_text(
|
| 427 |
+
json.dumps(summary, indent=2, sort_keys=True) + "\n",
|
| 428 |
+
encoding="utf-8",
|
| 429 |
+
)
|
| 430 |
+
print(json.dumps(summary, indent=2, sort_keys=True))
|
| 431 |
+
return 1 if failed else 0
|
| 432 |
+
|
| 433 |
+
|
| 434 |
+
if __name__ == "__main__":
|
| 435 |
+
raise SystemExit(main())
|
Utils/scripts/filter_cases.py
ADDED
|
@@ -0,0 +1,433 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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o_assignment.txt.
|
| 4 |
+
|
| 5 |
+
Expected assignment file format:
|
| 6 |
+
/Game/PhysInOne/Scenes/Train/DoublePhysics/CaseName.CaseName physinone_part1
|
| 7 |
+
|
| 8 |
+
The script parses:
|
| 9 |
+
split: Train / Val / Test
|
| 10 |
+
activity_type: SinglePhysics / DoublePhysics / TriplePhysics
|
| 11 |
+
phenomena: abbreviations before "__bg..."
|
| 12 |
+
background: bgXXX
|
| 13 |
+
hash: final six-character code
|
| 14 |
+
part_id: e.g. physinone_part1
|
| 15 |
+
hf_zip_path: expected zip path inside the shard repo, e.g.
|
| 16 |
+
Train/DoublePhysics/AccelConcaveSpin_AccelSurfaceSpin__bg070__K5ER39_trajectory.zip
|
| 17 |
+
"""
|
| 18 |
+
|
| 19 |
+
from __future__ import annotations
|
| 20 |
+
|
| 21 |
+
import argparse
|
| 22 |
+
import json
|
| 23 |
+
import random
|
| 24 |
+
import re
|
| 25 |
+
from dataclasses import asdict, dataclass
|
| 26 |
+
from pathlib import Path
|
| 27 |
+
from typing import Iterable, Literal
|
| 28 |
+
|
| 29 |
+
|
| 30 |
+
DEFAULT_ASSIGNMENT_FILE = Path("metadata/repo_assignment.txt")
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
SUPPORTED_PHENOMENA = {
|
| 34 |
+
"MovingHitsFixed",
|
| 35 |
+
"MovingHitsStationary",
|
| 36 |
+
"MovingHitsMoving",
|
| 37 |
+
"WindGravityBalance",
|
| 38 |
+
"WindPushStationary",
|
| 39 |
+
"WindPushSameDir",
|
| 40 |
+
"WindPushOppDir",
|
| 41 |
+
"WindDeflectMotion",
|
| 42 |
+
"ObliqueProjectile",
|
| 43 |
+
"VerticalFall",
|
| 44 |
+
"RollDownSlope",
|
| 45 |
+
"RollUpSlope",
|
| 46 |
+
"MagnetAttract",
|
| 47 |
+
"MagnetRepel",
|
| 48 |
+
"UniformPanelSpin",
|
| 49 |
+
"AccelPanelSpin",
|
| 50 |
+
"UniformConcaveSpin",
|
| 51 |
+
"AccelConcaveSpin",
|
| 52 |
+
"UniformSurfaceSpin",
|
| 53 |
+
"AccelSurfaceSpin",
|
| 54 |
+
"FrictionStop",
|
| 55 |
+
"SpringCompress",
|
| 56 |
+
"SpringStretch",
|
| 57 |
+
"ImpactFracture",
|
| 58 |
+
"MirrorFragmentReflect",
|
| 59 |
+
"ElasticCouple",
|
| 60 |
+
"SpringboardRebound",
|
| 61 |
+
"SeesawCenterPivot",
|
| 62 |
+
"SeesawOffsetPivot",
|
| 63 |
+
"BalloonFloat",
|
| 64 |
+
"BalloonTether",
|
| 65 |
+
"BalloonLift",
|
| 66 |
+
"FixedPlanarRedirect",
|
| 67 |
+
"FixedArrayRedirect",
|
| 68 |
+
"FixedConcaveRedirect",
|
| 69 |
+
"FixedConvexRedirect",
|
| 70 |
+
"DynMirrorRedirect",
|
| 71 |
+
"LaserBlock",
|
| 72 |
+
"MirrorReflect",
|
| 73 |
+
"CartMove",
|
| 74 |
+
"RotTurnableInertia",
|
| 75 |
+
"RotBoardInertia",
|
| 76 |
+
"LinCarryInertia",
|
| 77 |
+
"CatapultLaunch",
|
| 78 |
+
"ChainSuspend",
|
| 79 |
+
"SimplePendulum",
|
| 80 |
+
"DoublePendulum",
|
| 81 |
+
"CrankPush",
|
| 82 |
+
"BlockWallCollapse",
|
| 83 |
+
"StickSupportFail",
|
| 84 |
+
"FloatOnLiquid",
|
| 85 |
+
"DropInLiquid",
|
| 86 |
+
"MovingObjDriveLiquid",
|
| 87 |
+
"LiquidCarryMovingObj",
|
| 88 |
+
"LiquidHitFixedObj",
|
| 89 |
+
"LiquidTransfer",
|
| 90 |
+
"LiquidMultiTransfers",
|
| 91 |
+
"LiquidThroughGrid",
|
| 92 |
+
"LiquidAcrossUneven",
|
| 93 |
+
"LiquidRise",
|
| 94 |
+
"LiquidAlongContours",
|
| 95 |
+
"JetLiquid",
|
| 96 |
+
"LiquidTension",
|
| 97 |
+
"LiquidRefraction",
|
| 98 |
+
"StickyToObjects",
|
| 99 |
+
"StickyFromObjects",
|
| 100 |
+
"ElasticFall",
|
| 101 |
+
"PlasticineFall",
|
| 102 |
+
"NewtonianFluidFall",
|
| 103 |
+
"NonNewtonianFluidFall",
|
| 104 |
+
"GranularFall",
|
| 105 |
+
}
|
| 106 |
+
|
| 107 |
+
|
| 108 |
+
SPLIT_ALIASES = {
|
| 109 |
+
"train": "Train",
|
| 110 |
+
"val": "Val",
|
| 111 |
+
"validation": "Val",
|
| 112 |
+
"test": "Test",
|
| 113 |
+
}
|
| 114 |
+
|
| 115 |
+
ACTIVITY_ALIASES = {
|
| 116 |
+
"single": "SinglePhysics",
|
| 117 |
+
"singlephysics": "SinglePhysics",
|
| 118 |
+
"double": "DoublePhysics",
|
| 119 |
+
"doublephysics": "DoublePhysics",
|
| 120 |
+
"triple": "TriplePhysics",
|
| 121 |
+
"triplephysics": "TriplePhysics",
|
| 122 |
+
}
|
| 123 |
+
|
| 124 |
+
|
| 125 |
+
@dataclass
|
| 126 |
+
class CaseRecord:
|
| 127 |
+
case_id: str
|
| 128 |
+
split: str
|
| 129 |
+
activity_type: str
|
| 130 |
+
phenomena: list[str]
|
| 131 |
+
background: str
|
| 132 |
+
hash: str
|
| 133 |
+
ue_path: str
|
| 134 |
+
part_id: str
|
| 135 |
+
hf_zip_path: str
|
| 136 |
+
|
| 137 |
+
|
| 138 |
+
def normalize_split(value: str | None) -> str | None:
|
| 139 |
+
if value is None:
|
| 140 |
+
return None
|
| 141 |
+
key = value.strip().lower()
|
| 142 |
+
if key not in SPLIT_ALIASES:
|
| 143 |
+
raise ValueError(
|
| 144 |
+
f"Unknown split '{value}'. Expected one of: train, val, test."
|
| 145 |
+
)
|
| 146 |
+
return SPLIT_ALIASES[key]
|
| 147 |
+
|
| 148 |
+
|
| 149 |
+
def normalize_activity(value: str | None) -> str | None:
|
| 150 |
+
if value is None:
|
| 151 |
+
return None
|
| 152 |
+
key = value.strip().lower()
|
| 153 |
+
if key not in ACTIVITY_ALIASES:
|
| 154 |
+
raise ValueError(
|
| 155 |
+
f"Unknown activity_type '{value}'. Expected one of: single, double, triple."
|
| 156 |
+
)
|
| 157 |
+
return ACTIVITY_ALIASES[key]
|
| 158 |
+
|
| 159 |
+
|
| 160 |
+
def validate_phenomena(values: list[str] | None) -> list[str] | None:
|
| 161 |
+
if not values:
|
| 162 |
+
return values
|
| 163 |
+
|
| 164 |
+
invalid = sorted(set(values) - SUPPORTED_PHENOMENA)
|
| 165 |
+
if invalid:
|
| 166 |
+
valid_preview = ", ".join(sorted(SUPPORTED_PHENOMENA))
|
| 167 |
+
raise ValueError(
|
| 168 |
+
"Unsupported phenomenon abbreviation(s): "
|
| 169 |
+
+ ", ".join(invalid)
|
| 170 |
+
+ "\nExpected one or more of the 71 supported abbreviations:\n"
|
| 171 |
+
+ valid_preview
|
| 172 |
+
)
|
| 173 |
+
return values
|
| 174 |
+
|
| 175 |
+
|
| 176 |
+
def parse_case_line(line: str, line_no: int) -> CaseRecord | None:
|
| 177 |
+
line = line.strip()
|
| 178 |
+
if not line or line.startswith("#"):
|
| 179 |
+
return None
|
| 180 |
+
|
| 181 |
+
parts = re.split(r"\s+", line, maxsplit=1)
|
| 182 |
+
if len(parts) != 2:
|
| 183 |
+
raise ValueError(f"Line {line_no}: expected two columns: <ue_path> <part_id>")
|
| 184 |
+
|
| 185 |
+
ue_path, part_id = parts[0], parts[1].strip()
|
| 186 |
+
path_parts = ue_path.split("/")
|
| 187 |
+
|
| 188 |
+
try:
|
| 189 |
+
scenes_idx = path_parts.index("Scenes")
|
| 190 |
+
split = path_parts[scenes_idx + 1]
|
| 191 |
+
activity_type = path_parts[scenes_idx + 2]
|
| 192 |
+
object_ref = path_parts[scenes_idx + 3]
|
| 193 |
+
except (ValueError, IndexError) as exc:
|
| 194 |
+
raise ValueError(f"Line {line_no}: cannot parse UE path: {ue_path}") from exc
|
| 195 |
+
|
| 196 |
+
if split not in {"Train", "Val", "Test"}:
|
| 197 |
+
raise ValueError(
|
| 198 |
+
f"Line {line_no}: unsupported split '{split}' in assignment file. "
|
| 199 |
+
"Expected Train, Val, or Test."
|
| 200 |
+
)
|
| 201 |
+
|
| 202 |
+
if activity_type not in {"SinglePhysics", "DoublePhysics", "TriplePhysics"}:
|
| 203 |
+
raise ValueError(
|
| 204 |
+
f"Line {line_no}: unsupported activity type '{activity_type}' in assignment file. "
|
| 205 |
+
"Expected SinglePhysics, DoublePhysics, or TriplePhysics."
|
| 206 |
+
)
|
| 207 |
+
|
| 208 |
+
case_id = object_ref.split(".")[-1]
|
| 209 |
+
|
| 210 |
+
if "__" not in case_id:
|
| 211 |
+
raise ValueError(f"Line {line_no}: cannot parse case_id: {case_id}")
|
| 212 |
+
|
| 213 |
+
tokens = case_id.split("__")
|
| 214 |
+
phenomenon_token = tokens[0]
|
| 215 |
+
phenomena = phenomenon_token.split("_") if phenomenon_token else []
|
| 216 |
+
|
| 217 |
+
invalid_in_file = sorted(set(phenomena) - SUPPORTED_PHENOMENA)
|
| 218 |
+
if invalid_in_file:
|
| 219 |
+
raise ValueError(
|
| 220 |
+
f"Line {line_no}: assignment file contains unsupported phenomenon "
|
| 221 |
+
f"abbreviation(s): {', '.join(invalid_in_file)} in case_id {case_id}"
|
| 222 |
+
)
|
| 223 |
+
|
| 224 |
+
expected_count = {
|
| 225 |
+
"SinglePhysics": 1,
|
| 226 |
+
"DoublePhysics": 2,
|
| 227 |
+
"TriplePhysics": 3,
|
| 228 |
+
}[activity_type]
|
| 229 |
+
if len(phenomena) != expected_count:
|
| 230 |
+
raise ValueError(
|
| 231 |
+
f"Line {line_no}: activity type {activity_type} expects "
|
| 232 |
+
f"{expected_count} phenomenon abbreviation(s), but got {len(phenomena)} "
|
| 233 |
+
f"in case_id {case_id}"
|
| 234 |
+
)
|
| 235 |
+
|
| 236 |
+
background = ""
|
| 237 |
+
hash_code = ""
|
| 238 |
+
for token in tokens[1:]:
|
| 239 |
+
if re.fullmatch(r"bg\d+", token):
|
| 240 |
+
background = token
|
| 241 |
+
else:
|
| 242 |
+
hash_code = token
|
| 243 |
+
|
| 244 |
+
if not background:
|
| 245 |
+
raise ValueError(f"Line {line_no}: background token not found in case_id: {case_id}")
|
| 246 |
+
if not hash_code:
|
| 247 |
+
raise ValueError(f"Line {line_no}: hash token not found in case_id: {case_id}")
|
| 248 |
+
|
| 249 |
+
hf_zip_path = f"{split}/{activity_type}/{case_id}_trajectory.zip"
|
| 250 |
+
|
| 251 |
+
return CaseRecord(
|
| 252 |
+
case_id=case_id,
|
| 253 |
+
split=split,
|
| 254 |
+
activity_type=activity_type,
|
| 255 |
+
phenomena=phenomena,
|
| 256 |
+
background=background,
|
| 257 |
+
hash=hash_code,
|
| 258 |
+
ue_path=ue_path,
|
| 259 |
+
part_id=part_id,
|
| 260 |
+
hf_zip_path=hf_zip_path,
|
| 261 |
+
)
|
| 262 |
+
|
| 263 |
+
|
| 264 |
+
def load_assignment(path: Path) -> list[CaseRecord]:
|
| 265 |
+
if not path.exists():
|
| 266 |
+
raise FileNotFoundError(
|
| 267 |
+
f"Assignment file not found: {path}\n"
|
| 268 |
+
f"Put repo_assignment.txt at {DEFAULT_ASSIGNMENT_FILE} or pass --assignment_file."
|
| 269 |
+
)
|
| 270 |
+
|
| 271 |
+
records: list[CaseRecord] = []
|
| 272 |
+
with path.open("r", encoding="utf-8") as f:
|
| 273 |
+
for line_no, line in enumerate(f, start=1):
|
| 274 |
+
record = parse_case_line(line, line_no)
|
| 275 |
+
if record is not None:
|
| 276 |
+
records.append(record)
|
| 277 |
+
return records
|
| 278 |
+
|
| 279 |
+
|
| 280 |
+
def record_matches_phenomena(
|
| 281 |
+
record: CaseRecord,
|
| 282 |
+
requested: Iterable[str] | None,
|
| 283 |
+
match_mode: Literal["contains", "exact"],
|
| 284 |
+
) -> bool:
|
| 285 |
+
requested_list = list(requested or [])
|
| 286 |
+
if not requested_list:
|
| 287 |
+
return True
|
| 288 |
+
|
| 289 |
+
requested_set = set(requested_list)
|
| 290 |
+
record_set = set(record.phenomena)
|
| 291 |
+
|
| 292 |
+
if match_mode == "contains":
|
| 293 |
+
return requested_set.issubset(record_set)
|
| 294 |
+
if match_mode == "exact":
|
| 295 |
+
return requested_set == record_set
|
| 296 |
+
|
| 297 |
+
raise ValueError(f"Unsupported match_mode: {match_mode}")
|
| 298 |
+
|
| 299 |
+
|
| 300 |
+
def filter_records(
|
| 301 |
+
records: list[CaseRecord],
|
| 302 |
+
split: str | None = None,
|
| 303 |
+
activity_type: str | None = None,
|
| 304 |
+
phenomena: list[str] | None = None,
|
| 305 |
+
match_mode: Literal["contains", "exact"] = "contains",
|
| 306 |
+
) -> list[CaseRecord]:
|
| 307 |
+
split_norm = normalize_split(split)
|
| 308 |
+
activity_norm = normalize_activity(activity_type)
|
| 309 |
+
phenomena = validate_phenomena(phenomena)
|
| 310 |
+
|
| 311 |
+
out = []
|
| 312 |
+
for record in records:
|
| 313 |
+
if split_norm is not None and record.split != split_norm:
|
| 314 |
+
continue
|
| 315 |
+
if activity_norm is not None and record.activity_type != activity_norm:
|
| 316 |
+
continue
|
| 317 |
+
if not record_matches_phenomena(record, phenomena, match_mode):
|
| 318 |
+
continue
|
| 319 |
+
out.append(record)
|
| 320 |
+
return out
|
| 321 |
+
|
| 322 |
+
|
| 323 |
+
def build_stats(records: list[CaseRecord]) -> dict:
|
| 324 |
+
stats: dict = {
|
| 325 |
+
"num_cases": len(records),
|
| 326 |
+
"by_split": {},
|
| 327 |
+
"by_activity_type": {},
|
| 328 |
+
"by_part": {},
|
| 329 |
+
}
|
| 330 |
+
for r in records:
|
| 331 |
+
stats["by_split"][r.split] = stats["by_split"].get(r.split, 0) + 1
|
| 332 |
+
stats["by_activity_type"][r.activity_type] = stats["by_activity_type"].get(r.activity_type, 0) + 1
|
| 333 |
+
stats["by_part"][r.part_id] = stats["by_part"].get(r.part_id, 0) + 1
|
| 334 |
+
return stats
|
| 335 |
+
|
| 336 |
+
|
| 337 |
+
def main() -> None:
|
| 338 |
+
parser = argparse.ArgumentParser(description="Filter PhysInOne cases.")
|
| 339 |
+
parser.add_argument(
|
| 340 |
+
"--assignment_file",
|
| 341 |
+
type=Path,
|
| 342 |
+
default=DEFAULT_ASSIGNMENT_FILE,
|
| 343 |
+
help=f"Path to repo_assignment.txt. Default: {DEFAULT_ASSIGNMENT_FILE}",
|
| 344 |
+
)
|
| 345 |
+
parser.add_argument("--split", type=str, default=None, help="train, val, or test.")
|
| 346 |
+
parser.add_argument(
|
| 347 |
+
"--activity_type",
|
| 348 |
+
type=str,
|
| 349 |
+
default=None,
|
| 350 |
+
help="single, double, or triple.",
|
| 351 |
+
)
|
| 352 |
+
parser.add_argument(
|
| 353 |
+
"--phenomena",
|
| 354 |
+
nargs="*",
|
| 355 |
+
default=None,
|
| 356 |
+
help="One or more phenomenon abbreviations, e.g. AccelConcaveSpin FrictionStop.",
|
| 357 |
+
)
|
| 358 |
+
parser.add_argument(
|
| 359 |
+
"--match_mode",
|
| 360 |
+
choices=["contains", "exact"],
|
| 361 |
+
default="contains",
|
| 362 |
+
help=(
|
| 363 |
+
"contains: selected cases contain all requested phenomena; "
|
| 364 |
+
"exact: selected cases have exactly the requested phenomena. "
|
| 365 |
+
"Order is ignored in both modes."
|
| 366 |
+
),
|
| 367 |
+
)
|
| 368 |
+
parser.add_argument(
|
| 369 |
+
"--num",
|
| 370 |
+
type=int,
|
| 371 |
+
default=None,
|
| 372 |
+
help="Global number of cases to sample after filtering. Default: keep all matches.",
|
| 373 |
+
)
|
| 374 |
+
parser.add_argument(
|
| 375 |
+
"--seed",
|
| 376 |
+
type=int,
|
| 377 |
+
default=42,
|
| 378 |
+
help="Random seed used when --num is specified. Default: 42.",
|
| 379 |
+
)
|
| 380 |
+
parser.add_argument(
|
| 381 |
+
"--output",
|
| 382 |
+
type=Path,
|
| 383 |
+
default=Path("selected_cases.json"),
|
| 384 |
+
help="Output JSON path. Default: selected_cases.json",
|
| 385 |
+
)
|
| 386 |
+
parser.add_argument(
|
| 387 |
+
"--show_stats",
|
| 388 |
+
action="store_true",
|
| 389 |
+
help="Print dataset/filtering statistics.",
|
| 390 |
+
)
|
| 391 |
+
|
| 392 |
+
args = parser.parse_args()
|
| 393 |
+
|
| 394 |
+
records = load_assignment(args.assignment_file)
|
| 395 |
+
matches = filter_records(
|
| 396 |
+
records,
|
| 397 |
+
split=args.split,
|
| 398 |
+
activity_type=args.activity_type,
|
| 399 |
+
phenomena=args.phenomena,
|
| 400 |
+
match_mode=args.match_mode,
|
| 401 |
+
)
|
| 402 |
+
|
| 403 |
+
if args.num is not None:
|
| 404 |
+
if args.num < 0:
|
| 405 |
+
raise ValueError("--num must be non-negative.")
|
| 406 |
+
rng = random.Random(args.seed)
|
| 407 |
+
if args.num < len(matches):
|
| 408 |
+
matches = rng.sample(matches, args.num)
|
| 409 |
+
|
| 410 |
+
result = {
|
| 411 |
+
"filters": {
|
| 412 |
+
"split": args.split,
|
| 413 |
+
"activity_type": args.activity_type,
|
| 414 |
+
"phenomena": args.phenomena or [],
|
| 415 |
+
"match_mode": args.match_mode,
|
| 416 |
+
"num": args.num,
|
| 417 |
+
"seed": args.seed,
|
| 418 |
+
},
|
| 419 |
+
"stats": build_stats(matches),
|
| 420 |
+
"cases": [asdict(r) for r in matches],
|
| 421 |
+
}
|
| 422 |
+
|
| 423 |
+
args.output.parent.mkdir(parents=True, exist_ok=True)
|
| 424 |
+
args.output.write_text(json.dumps(result, indent=2, ensure_ascii=False), encoding="utf-8")
|
| 425 |
+
|
| 426 |
+
print(f"Matched cases: {len(matches)}")
|
| 427 |
+
print(f"Saved selection to: {args.output}")
|
| 428 |
+
if args.show_stats:
|
| 429 |
+
print(json.dumps(result["stats"], indent=2, ensure_ascii=False))
|
| 430 |
+
|
| 431 |
+
|
| 432 |
+
if __name__ == "__main__":
|
| 433 |
+
main()
|