Streamline rendered-data and processing guides
Browse files
README.md
CHANGED
|
@@ -498,20 +498,11 @@ The complete public Unreal Engine 5.5.4 asset release includes the project files
|
|
| 498 |
<h2 id="data-processing" style="margin-left: 0; font-size: 1.9em; line-height: 1.22; margin-top: 1.2em; margin-bottom: 0.5em;">🛠️ Data Processing</h2>
|
| 499 |
<div style="margin-left: 24px; text-align: justify;">
|
| 500 |
|
| 501 |
-
The public
|
| 502 |
|
| 503 |
-
- [Browse the
|
| 504 |
-
- [
|
| 505 |
-
- [
|
| 506 |
-
- [Movie Render Queue configuration assets](https://huggingface.co/datasets/vLAR/PhysInOne/tree/main/Assets/PhysicBenchmark/Content/PhysInOne/Scripts)
|
| 507 |
-
|
| 508 |
-
The source directory contains the camera tools, Windows headless-render launcher, post-processing modules, dependency list, examples, and illustrated documentation. Install the post-processing dependencies with:
|
| 509 |
-
|
| 510 |
-
```bash
|
| 511 |
-
python -m pip install -r requirements-render.txt
|
| 512 |
-
```
|
| 513 |
-
|
| 514 |
-
The ten supplied Unreal configuration assets must remain under `PhysicBenchmark/Content/PhysInOne/Scripts/`, which Unreal Engine exposes as `/Game/PhysInOne/Scripts/`. The rendering configuration refers to that virtual path directly. The tools require no Hugging Face account or access token.
|
| 515 |
|
| 516 |
</div>
|
| 517 |
|
|
@@ -526,175 +517,13 @@ All user-facing evaluation inputs for the four PhysInOne Leaderboard tasks are p
|
|
| 526 |
</div>
|
| 527 |
|
| 528 |
<h2 id="rendered-data" style="margin-left: 0; font-size: 1.9em; line-height: 1.22; margin-top: 1.2em; margin-bottom: 0.5em;">🎞️ Rendered Data</h2>
|
|
|
|
| 529 |
|
| 530 |
-
|
| 531 |
-
|
| 532 |
-
<div style="margin-left: 40px; text-align: justify;">
|
| 533 |
-
|
| 534 |
-
Please download the [`Utils`](https://huggingface.co/datasets/vLAR/PhysInOne/tree/main/Utils) folder from the main dataset repository. Its public scripts mirror the GitHub `scripts/` tree:
|
| 535 |
-
|
| 536 |
-
```text
|
| 537 |
-
Utils/
|
| 538 |
-
|-- metadata/
|
| 539 |
-
| |-- repo_assignment.txt
|
| 540 |
-
| +-- repo_map.json
|
| 541 |
-
|-- 3d_assets_lists/
|
| 542 |
-
|-- leaderboard_lists/
|
| 543 |
-
|-- 3D_ASSETS_DOWNLOAD.md
|
| 544 |
-
|-- LEADERBOARD_DOWNLOAD.md
|
| 545 |
-
+-- scripts/
|
| 546 |
-
|-- download_data.py
|
| 547 |
-
|-- download_selected.py
|
| 548 |
-
|-- filter_cases.py
|
| 549 |
-
+-- download_lists/
|
| 550 |
-
|-- video_generation.txt
|
| 551 |
-
|-- future_prediction.txt
|
| 552 |
-
|-- physical_properties_estimation.txt
|
| 553 |
-
|-- motion_transfer.txt
|
| 554 |
-
|-- 3d_assets.txt
|
| 555 |
-
|-- repo_assignment.txt
|
| 556 |
-
+-- repo_map.json
|
| 557 |
-
```
|
| 558 |
-
|
| 559 |
-
Run the following commands from inside the downloaded `Utils/` folder:
|
| 560 |
-
|
| 561 |
-
```bash
|
| 562 |
-
cd "Utils"
|
| 563 |
-
```
|
| 564 |
-
|
| 565 |
-
PhysInOne is distributed across multiple Hugging Face dataset repositories because of its large scale. We provide utilities for selecting and downloading full-dataset cases and Leaderboard evaluation data:
|
| 566 |
-
|
| 567 |
-
- `download_data.py`: downloads all four Leaderboard tasks and assembles the currently released Unreal Engine project subset.
|
| 568 |
-
- `filter_cases.py`: exports selected full-dataset cases to JSON.
|
| 569 |
-
- `download_selected.py`: downloads selected scene ZIPs from the corresponding public shards.
|
| 570 |
-
- `download_lists/`: contains the exact manifests used by all three scripts.
|
| 571 |
-
|
| 572 |
-
</div>
|
| 573 |
-
|
| 574 |
-
<h3 id="install-dependencies" style="font-size: 1.35em; margin-top: 0.75em; margin-bottom: 0.22em; line-height: 1.2; margin-left: 24px;">2. Requirements</h3>
|
| 575 |
-
|
| 576 |
-
<div style="margin-left: 40px;">
|
| 577 |
-
|
| 578 |
-
Python 3.9 or newer is recommended. The download utilities use only the Python standard library and anonymous HTTPS requests; no package installation or authentication is required.
|
| 579 |
-
|
| 580 |
-
</div>
|
| 581 |
-
|
| 582 |
-
<h3 id="filter-cases" style="font-size: 1.35em; margin-top: 0.75em; margin-bottom: 0.22em; line-height: 1.2; margin-left: 24px;">3. Filter Cases</h3>
|
| 583 |
-
|
| 584 |
-
<div style="margin-left: 40px; text-align: justify;">
|
| 585 |
-
|
| 586 |
-
Export a JSON file containing case information matching your filter criteria, for use in subsequent download scripts. The `filter_cases.py` script supports selection by:
|
| 587 |
-
|
| 588 |
-
- Split: `train`, `val`, `test`
|
| 589 |
-
- Activity complexity: `single`, `double`, `triple`
|
| 590 |
-
- Physical phenomenon abbreviation: `MovingHitsFixed`, `FrictionStop`, `LiquidTension`, ..., `GranularFall`
|
| 591 |
-
- Number of cases: globally sample `num` cases after filtering
|
| 592 |
-
|
| 593 |
-
The following examples show common filtering workflows.
|
| 594 |
-
|
| 595 |
-
</div>
|
| 596 |
-
|
| 597 |
-
<h4 id="filter-by-split" style="font-size: 1.12em; margin-top: 0.55em; margin-bottom: 0.14em; line-height: 1.18; margin-left: 48px;">3.1 Filter by split</h4>
|
| 598 |
-
|
| 599 |
-
<div style="margin-left: 64px;">
|
| 600 |
-
|
| 601 |
-
```bash
|
| 602 |
-
python scripts/filter_cases.py \
|
| 603 |
-
--split train \
|
| 604 |
-
--output selected_cases.json
|
| 605 |
-
```
|
| 606 |
-
|
| 607 |
-
</div>
|
| 608 |
-
|
| 609 |
-
<h4 id="filter-by-split-and-activity" style="font-size: 1.12em; margin-top: 0.55em; margin-bottom: 0.14em; line-height: 1.18; margin-left: 48px;">3.2 Filter by split and activity complexity</h4>
|
| 610 |
-
|
| 611 |
-
<div style="margin-left: 64px;">
|
| 612 |
-
|
| 613 |
-
```bash
|
| 614 |
-
python scripts/filter_cases.py \
|
| 615 |
-
--split train \
|
| 616 |
-
--activity_type double \
|
| 617 |
-
--output selected_cases.json
|
| 618 |
-
```
|
| 619 |
-
|
| 620 |
-
</div>
|
| 621 |
-
|
| 622 |
-
<h4 id="filter-by-phenomenon" style="font-size: 1.12em; margin-top: 0.55em; margin-bottom: 0.14em; line-height: 1.18; margin-left: 48px;">3.3 Filter by physical phenomenon abbreviation</h4>
|
| 623 |
-
|
| 624 |
-
<div style="margin-left: 64px; text-align: justify;">
|
| 625 |
-
|
| 626 |
-
By default, phenomenon matching uses `contains` mode. For example, the following command selects all double-physics cases that contain `FrictionStop`(For all physical phenomena and their abbreviations, please refer to the **Data Fields** section below.):
|
| 627 |
-
|
| 628 |
-
```bash
|
| 629 |
-
python scripts/filter_cases.py \
|
| 630 |
-
--split train \
|
| 631 |
-
--activity_type double \
|
| 632 |
-
--phenomena FrictionStop \
|
| 633 |
-
--match_mode contains \
|
| 634 |
-
--output selected_cases.json
|
| 635 |
-
```
|
| 636 |
-
|
| 637 |
-
For exact matching, use `--match_mode exact`. Order does not matter. For example, this command selects cases whose phenomenon set is exactly `{AccelConcaveSpin, AccelSurfaceSpin}`:
|
| 638 |
-
|
| 639 |
-
```bash
|
| 640 |
-
python scripts/filter_cases.py \
|
| 641 |
-
--split train \
|
| 642 |
-
--activity_type double \
|
| 643 |
-
--phenomena AccelConcaveSpin AccelSurfaceSpin \
|
| 644 |
-
--match_mode exact \
|
| 645 |
-
--output selected_cases.json
|
| 646 |
-
```
|
| 647 |
-
|
| 648 |
-
</div>
|
| 649 |
-
|
| 650 |
-
<h4 id="random-sampling" style="font-size: 1.12em; margin-top: 0.55em; margin-bottom: 0.14em; line-height: 1.18; margin-left: 48px;">3.4 Randomly sample a fixed number of cases</h4>
|
| 651 |
-
|
| 652 |
-
<div style="margin-left: 64px; text-align: justify;">
|
| 653 |
-
|
| 654 |
-
`--num` is the global number of cases sampled after filtering (This is because the number of cases meeting the filtering criteria may be much larger than the number you need.). The default random seed is `42`.
|
| 655 |
-
|
| 656 |
-
```bash
|
| 657 |
-
python scripts/filter_cases.py \
|
| 658 |
-
--split train \
|
| 659 |
-
--activity_type double \
|
| 660 |
-
--phenomena FrictionStop \
|
| 661 |
-
--num 3000 \
|
| 662 |
-
--seed 42 \
|
| 663 |
-
--output selected_cases.json
|
| 664 |
-
```
|
| 665 |
-
|
| 666 |
-
</div>
|
| 667 |
-
|
| 668 |
-
<h3 id="download-selected-cases" style="font-size: 1.35em; margin-top: 0.75em; margin-bottom: 0.22em; line-height: 1.2; margin-left: 24px;">4. Download Selected Cases</h3>
|
| 669 |
-
|
| 670 |
-
<div style="margin-left: 40px; text-align: justify;">
|
| 671 |
-
|
| 672 |
-
Each selected case is downloaded as a zip file from the corresponding Hugging Face shard repository.
|
| 673 |
-
|
| 674 |
-
```bash
|
| 675 |
-
python scripts/download_selected.py \
|
| 676 |
-
--selection selected_cases.json \
|
| 677 |
-
--output_dir ./PhysInOne
|
| 678 |
-
```
|
| 679 |
-
|
| 680 |
-
By default, downloaded zip files are saved into a flat output folder. To preserve shard/split/activity structure:
|
| 681 |
-
|
| 682 |
-
```bash
|
| 683 |
-
python scripts/download_selected.py \
|
| 684 |
-
--selection selected_cases.json \
|
| 685 |
-
--output_dir ./PhysInOne \
|
| 686 |
-
--keep_shard_structure
|
| 687 |
-
```
|
| 688 |
-
|
| 689 |
-
The preserved structure is:
|
| 690 |
|
| 691 |
-
|
| 692 |
-
PhysInOne/
|
| 693 |
-
|
| 694 |
-
Train/
|
| 695 |
-
DoublePhysics/
|
| 696 |
-
AccelConcaveSpin_AccelSurfaceSpin__bg070__K5ER39_trajectory.zip
|
| 697 |
-
```
|
| 698 |
|
| 699 |
</div>
|
| 700 |
|
|
|
|
| 498 |
<h2 id="data-processing" style="margin-left: 0; font-size: 1.9em; line-height: 1.22; margin-top: 1.2em; margin-bottom: 0.5em;">🛠️ Data Processing</h2>
|
| 499 |
<div style="margin-left: 24px; text-align: justify;">
|
| 500 |
|
| 501 |
+
The public toolkit covers static and moving camera generation, Level Sequence creation, unattended Unreal Engine rendering, EXR conversion, and multi-view point-cloud generation. The guides describe the Unreal Engine 5.5.4 setup, required project assets, commands, outputs, and safety behavior.
|
| 502 |
|
| 503 |
+
- [Browse the data-processing source](https://huggingface.co/datasets/vLAR/PhysInOne/tree/main/Utils/data_processing)
|
| 504 |
+
- [Read the quick-start guide](https://huggingface.co/datasets/vLAR/PhysInOne/blob/main/Utils/data_processing/README.md)
|
| 505 |
+
- [Read the complete camera and rendering guide](https://huggingface.co/datasets/vLAR/PhysInOne/blob/main/Utils/data_processing/docs/CAMERA_AND_RENDERING.md)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 506 |
|
| 507 |
</div>
|
| 508 |
|
|
|
|
| 517 |
</div>
|
| 518 |
|
| 519 |
<h2 id="rendered-data" style="margin-left: 0; font-size: 1.9em; line-height: 1.22; margin-top: 1.2em; margin-bottom: 0.5em;">🎞️ Rendered Data</h2>
|
| 520 |
+
<div style="margin-left: 24px; text-align: justify;">
|
| 521 |
|
| 522 |
+
The full rendered dataset is distributed across the 16 repositories listed above. Dependency-free public tools can filter scenes by split, interaction type, and physical phenomenon, then download the selected archives with resume support and per-file logs.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 523 |
|
| 524 |
+
- [Read the rendered-data selection and download guide](https://github.com/vLAR-group/PhysInOne/blob/main/docs/DATA_DOWNLOAD.md#full-rendered-dataset-selection)
|
| 525 |
+
- [Browse the GitHub download tools](https://github.com/vLAR-group/PhysInOne/tree/main/scripts)
|
| 526 |
+
- [Browse the Hugging Face utility mirror](https://huggingface.co/datasets/vLAR/PhysInOne/tree/main/Utils)
|
|
|
|
|
|
|
|
|
|
|
|
|
| 527 |
|
| 528 |
</div>
|
| 529 |
|