Upload README.md
Browse files
README.md
CHANGED
|
@@ -86,17 +86,15 @@ homepage: https://vlar-group.github.io/PhysInOne.html
|
|
| 86 |
margin-bottom: 0.12em;
|
| 87 |
line-height: 1.18;
|
| 88 |
}
|
| 89 |
-
.physinone-section {
|
| 90 |
-
margin-left:
|
| 91 |
-
padding-left:
|
| 92 |
}
|
| 93 |
-
.physinone-
|
| 94 |
-
margin-left:
|
| 95 |
-
padding-left: 12px;
|
| 96 |
}
|
| 97 |
-
.physinone-
|
| 98 |
-
margin-left:
|
| 99 |
-
padding-left: 10px;
|
| 100 |
}
|
| 101 |
</style>
|
| 102 |
|
|
@@ -197,10 +195,11 @@ homepage: https://vlar-group.github.io/PhysInOne.html
|
|
| 197 |
|
| 198 |
<a id="summary"></a>
|
| 199 |
|
| 200 |
-
<div class="physinone-section" data-section="summary">
|
| 201 |
-
|
| 202 |
## ๐ Summary
|
| 203 |
|
|
|
|
|
|
|
|
|
|
| 204 |
**PhysInOne** is a large-scale synthetic dataset for visual physics learning and reasoning. It contains **153,810 dynamic 3D scenes** and **2 million annotated videos**, covering **71 basic physical phenomena** across four domains of everyday physics: **mechanics**, **optics**, **fluid dynamics**, and **magnetism**.
|
| 205 |
|
| 206 |
Each scene may contain multi-object and multi-physics interactions in complex 3D environments. PhysInOne provides rich annotations including RGB videos, depth maps, object masks, 3D trajectories, camera poses, object meshes, material properties, and textual descriptions.
|
|
@@ -233,10 +232,11 @@ The dataset is designed to support research on physics-aware video generation, f
|
|
| 233 |
|
| 234 |
<a id="release-timetable"></a>
|
| 235 |
|
| 236 |
-
<div class="physinone-section" data-section="release-timetable">
|
| 237 |
-
|
| 238 |
## ๐ Release Timetable
|
| 239 |
|
|
|
|
|
|
|
|
|
|
| 240 |
| Component | Progress | Status | Notes |
|
| 241 |
| --------------------- | ----------------------------- | ------------ | --------------------------------- |
|
| 242 |
| SubSet | `โโโโโโโโโโ`100% | Released | |
|
|
@@ -259,10 +259,11 @@ For large-scale downloading and filtering, please refer to the **How to Download
|
|
| 259 |
|
| 260 |
<a id="dataset-structure"></a>
|
| 261 |
|
| 262 |
-
<div class="physinone-section" data-section="dataset-structure">
|
| 263 |
-
|
| 264 |
## ๐ฆ Dataset Structure
|
| 265 |
|
|
|
|
|
|
|
|
|
|
| 266 |
TODO
|
| 267 |
|
| 268 |
|
|
@@ -270,10 +271,11 @@ TODO
|
|
| 270 |
|
| 271 |
<a id="data-splits"></a>
|
| 272 |
|
| 273 |
-
<div class="physinone-section" data-section="data-splits">
|
| 274 |
-
|
| 275 |
## ๐ Data Splits
|
| 276 |
|
|
|
|
|
|
|
|
|
|
| 277 |
PhysInOne is divided into three primary splits: **Train**, **Val**, and **Test**.
|
| 278 |
|
| 279 |
- Train Split: contains 122,988 scenes.
|
|
@@ -289,10 +291,11 @@ This design guarantees that training, validation, and test sets are fully separa
|
|
| 289 |
|
| 290 |
<a id="data-fields"></a>
|
| 291 |
|
| 292 |
-
<div class="physinone-section" data-section="data-fields">
|
| 293 |
-
|
| 294 |
## ๐งฉ Data Fields
|
| 295 |
|
|
|
|
|
|
|
|
|
|
| 296 |
<a id="physical-phenomena"></a>
|
| 297 |
|
| 298 |
### Physical Phenomenon and Abbreviations
|
|
@@ -389,10 +392,11 @@ This naming convention allows users to quickly parse scene metadata and link it
|
|
| 389 |
|
| 390 |
<a id="annotation-details"></a>
|
| 391 |
|
| 392 |
-
<div class="physinone-section" data-section="annotation-details">
|
| 393 |
-
|
| 394 |
## ๐ Annotation Details
|
| 395 |
|
|
|
|
|
|
|
|
|
|
| 396 |
PhysInOne provides synchronized visual and physical annotations for each dynamic 3D scene.
|
| 397 |
|
| 398 |
<a id="depth"></a>
|
|
@@ -462,10 +466,11 @@ The initial point cloud was obtained by back-projecting the pixels from each cam
|
|
| 462 |
|
| 463 |
<a id="how-to-download"></a>
|
| 464 |
|
| 465 |
-
<div class="physinone-section" data-section="how-to-download">
|
| 466 |
-
|
| 467 |
## ๐ฅ How to Download
|
| 468 |
|
|
|
|
|
|
|
|
|
|
| 469 |
PhysInOne is distributed across multiple Hugging Face dataset repositories because of its large scale. We provide two scripts for selecting and downloading cases:
|
| 470 |
|
| 471 |
- `filter_cases.py`: parses the case-to-repository assignment file and exports selected cases to JSON.
|
|
@@ -480,8 +485,6 @@ The `filter_cases.py` script supports selection by:
|
|
| 480 |
|
| 481 |
<a id="download-scripts"></a>
|
| 482 |
|
| 483 |
-
<div class="physinone-subsection" data-section="download-scripts">
|
| 484 |
-
|
| 485 |
### 1. Download Scripts
|
| 486 |
|
| 487 |
Please download the `assets` folder, which contains:
|
|
@@ -495,32 +498,20 @@ scripts/
|
|
| 495 |
download.py
|
| 496 |
```
|
| 497 |
|
| 498 |
-
|
| 499 |
-
</div>
|
| 500 |
-
|
| 501 |
<a id="install-dependencies"></a>
|
| 502 |
|
| 503 |
-
<div class="physinone-subsection" data-section="install-dependencies">
|
| 504 |
-
|
| 505 |
### 2. Install Dependencies
|
| 506 |
|
| 507 |
```bash
|
| 508 |
pip install huggingface_hub tqdm
|
| 509 |
```
|
| 510 |
|
| 511 |
-
|
| 512 |
-
</div>
|
| 513 |
-
|
| 514 |
<a id="filter-cases"></a>
|
| 515 |
|
| 516 |
-
<div class="physinone-subsection" data-section="filter-cases">
|
| 517 |
-
|
| 518 |
### 3. Filter Cases
|
| 519 |
|
| 520 |
<a id="filter-by-split"></a>
|
| 521 |
|
| 522 |
-
<div class="physinone-subsubsection" data-section="filter-by-split">
|
| 523 |
-
|
| 524 |
#### 3.1 Filter by split
|
| 525 |
|
| 526 |
```bash
|
|
@@ -529,13 +520,8 @@ python scripts/filter_cases.py \
|
|
| 529 |
--output selected_cases.json
|
| 530 |
```
|
| 531 |
|
| 532 |
-
|
| 533 |
-
</div>
|
| 534 |
-
|
| 535 |
<a id="filter-by-split-and-activity"></a>
|
| 536 |
|
| 537 |
-
<div class="physinone-subsubsection" data-section="filter-by-split-and-activity">
|
| 538 |
-
|
| 539 |
#### 3.2 Filter by split and activity complexity
|
| 540 |
|
| 541 |
```bash
|
|
@@ -545,13 +531,8 @@ python scripts/filter_cases.py \
|
|
| 545 |
--output selected_cases.json
|
| 546 |
```
|
| 547 |
|
| 548 |
-
|
| 549 |
-
</div>
|
| 550 |
-
|
| 551 |
<a id="filter-by-phenomenon"></a>
|
| 552 |
|
| 553 |
-
<div class="physinone-subsubsection" data-section="filter-by-phenomenon">
|
| 554 |
-
|
| 555 |
#### 3.3 Filter by physical phenomenon abbreviation
|
| 556 |
|
| 557 |
By default, phenomenon matching uses `contains` mode. For example, the following command selects all double-physics cases that contain `FrictionStop`:
|
|
@@ -576,13 +557,8 @@ python scripts/filter_cases.py \
|
|
| 576 |
--output selected_cases.json
|
| 577 |
```
|
| 578 |
|
| 579 |
-
|
| 580 |
-
</div>
|
| 581 |
-
|
| 582 |
<a id="random-sampling"></a>
|
| 583 |
|
| 584 |
-
<div class="physinone-subsubsection" data-section="random-sampling">
|
| 585 |
-
|
| 586 |
#### 3.4 Randomly sample a fixed number of cases
|
| 587 |
|
| 588 |
`--num` is the global number of cases sampled after filtering. The default random seed is `42`.
|
|
@@ -597,13 +573,8 @@ python scripts/filter_cases.py \
|
|
| 597 |
--output selected_cases.json
|
| 598 |
```
|
| 599 |
|
| 600 |
-
|
| 601 |
-
</div>
|
| 602 |
-
|
| 603 |
<a id="download-selected-cases"></a>
|
| 604 |
|
| 605 |
-
<div class="physinone-subsection" data-section="download-selected-cases">
|
| 606 |
-
|
| 607 |
### 4. Download Selected Cases
|
| 608 |
|
| 609 |
Each selected case is downloaded as a zip file from the corresponding Hugging Face shard repository.
|
|
@@ -647,10 +618,11 @@ PhysInOne/
|
|
| 647 |
|
| 648 |
<a id="license"></a>
|
| 649 |
|
| 650 |
-
<div class="physinone-section" data-section="license">
|
| 651 |
-
|
| 652 |
## ๐ License
|
| 653 |
|
|
|
|
|
|
|
|
|
|
| 654 |
All 3D assets and materials included in PhysInOne have been sourced from publicly available platforms and verified to carry licenses compatible with non-commercial use. These include:
|
| 655 |
|
| 656 |
- SketchFab: assets under various licenses, verified that AI-related usage is allowed.
|
|
@@ -667,10 +639,11 @@ In total, assets comply with licenses including CC BY-NC, CC BY-SA, CC BY-NC-SA,
|
|
| 667 |
|
| 668 |
<a id="citation"></a>
|
| 669 |
|
| 670 |
-
<div class="physinone-section" data-section="citation">
|
| 671 |
-
|
| 672 |
## ๐ Citation
|
| 673 |
|
|
|
|
|
|
|
|
|
|
| 674 |
If you use PhysInOne in your research, please cite:
|
| 675 |
|
| 676 |
```bibtex
|
|
@@ -687,10 +660,11 @@ If you use PhysInOne in your research, please cite:
|
|
| 687 |
|
| 688 |
<a id="contact"></a>
|
| 689 |
|
| 690 |
-
<div class="physinone-section" data-section="contact">
|
| 691 |
-
|
| 692 |
## ๐ฎ Contact
|
| 693 |
|
|
|
|
|
|
|
|
|
|
| 694 |
For questions about the dataset, please contact:
|
| 695 |
|
| 696 |
- {siyuan.zhou, hejun.wang, hu123.cheng, jinxi.li}@connect.polyu.hk, bo.yang@polyu.edu.hk
|
|
|
|
| 86 |
margin-bottom: 0.12em;
|
| 87 |
line-height: 1.18;
|
| 88 |
}
|
| 89 |
+
.physinone-section-body {
|
| 90 |
+
margin-left: 24px;
|
| 91 |
+
padding-left: 0;
|
| 92 |
}
|
| 93 |
+
.physinone-section-body h3 {
|
| 94 |
+
margin-left: 0;
|
|
|
|
| 95 |
}
|
| 96 |
+
.physinone-section-body h4 {
|
| 97 |
+
margin-left: 18px;
|
|
|
|
| 98 |
}
|
| 99 |
</style>
|
| 100 |
|
|
|
|
| 195 |
|
| 196 |
<a id="summary"></a>
|
| 197 |
|
|
|
|
|
|
|
| 198 |
## ๐ Summary
|
| 199 |
|
| 200 |
+
<div class="physinone-section-body" data-section="summary">
|
| 201 |
+
|
| 202 |
+
|
| 203 |
**PhysInOne** is a large-scale synthetic dataset for visual physics learning and reasoning. It contains **153,810 dynamic 3D scenes** and **2 million annotated videos**, covering **71 basic physical phenomena** across four domains of everyday physics: **mechanics**, **optics**, **fluid dynamics**, and **magnetism**.
|
| 204 |
|
| 205 |
Each scene may contain multi-object and multi-physics interactions in complex 3D environments. PhysInOne provides rich annotations including RGB videos, depth maps, object masks, 3D trajectories, camera poses, object meshes, material properties, and textual descriptions.
|
|
|
|
| 232 |
|
| 233 |
<a id="release-timetable"></a>
|
| 234 |
|
|
|
|
|
|
|
| 235 |
## ๐ Release Timetable
|
| 236 |
|
| 237 |
+
<div class="physinone-section-body" data-section="release-timetable">
|
| 238 |
+
|
| 239 |
+
|
| 240 |
| Component | Progress | Status | Notes |
|
| 241 |
| --------------------- | ----------------------------- | ------------ | --------------------------------- |
|
| 242 |
| SubSet | `โโโโโโโโโโ`100% | Released | |
|
|
|
|
| 259 |
|
| 260 |
<a id="dataset-structure"></a>
|
| 261 |
|
|
|
|
|
|
|
| 262 |
## ๐ฆ Dataset Structure
|
| 263 |
|
| 264 |
+
<div class="physinone-section-body" data-section="dataset-structure">
|
| 265 |
+
|
| 266 |
+
|
| 267 |
TODO
|
| 268 |
|
| 269 |
|
|
|
|
| 271 |
|
| 272 |
<a id="data-splits"></a>
|
| 273 |
|
|
|
|
|
|
|
| 274 |
## ๐ Data Splits
|
| 275 |
|
| 276 |
+
<div class="physinone-section-body" data-section="data-splits">
|
| 277 |
+
|
| 278 |
+
|
| 279 |
PhysInOne is divided into three primary splits: **Train**, **Val**, and **Test**.
|
| 280 |
|
| 281 |
- Train Split: contains 122,988 scenes.
|
|
|
|
| 291 |
|
| 292 |
<a id="data-fields"></a>
|
| 293 |
|
|
|
|
|
|
|
| 294 |
## ๐งฉ Data Fields
|
| 295 |
|
| 296 |
+
<div class="physinone-section-body" data-section="data-fields">
|
| 297 |
+
|
| 298 |
+
|
| 299 |
<a id="physical-phenomena"></a>
|
| 300 |
|
| 301 |
### Physical Phenomenon and Abbreviations
|
|
|
|
| 392 |
|
| 393 |
<a id="annotation-details"></a>
|
| 394 |
|
|
|
|
|
|
|
| 395 |
## ๐ Annotation Details
|
| 396 |
|
| 397 |
+
<div class="physinone-section-body" data-section="annotation-details">
|
| 398 |
+
|
| 399 |
+
|
| 400 |
PhysInOne provides synchronized visual and physical annotations for each dynamic 3D scene.
|
| 401 |
|
| 402 |
<a id="depth"></a>
|
|
|
|
| 466 |
|
| 467 |
<a id="how-to-download"></a>
|
| 468 |
|
|
|
|
|
|
|
| 469 |
## ๐ฅ How to Download
|
| 470 |
|
| 471 |
+
<div class="physinone-section-body" data-section="how-to-download">
|
| 472 |
+
|
| 473 |
+
|
| 474 |
PhysInOne is distributed across multiple Hugging Face dataset repositories because of its large scale. We provide two scripts for selecting and downloading cases:
|
| 475 |
|
| 476 |
- `filter_cases.py`: parses the case-to-repository assignment file and exports selected cases to JSON.
|
|
|
|
| 485 |
|
| 486 |
<a id="download-scripts"></a>
|
| 487 |
|
|
|
|
|
|
|
| 488 |
### 1. Download Scripts
|
| 489 |
|
| 490 |
Please download the `assets` folder, which contains:
|
|
|
|
| 498 |
download.py
|
| 499 |
```
|
| 500 |
|
|
|
|
|
|
|
|
|
|
| 501 |
<a id="install-dependencies"></a>
|
| 502 |
|
|
|
|
|
|
|
| 503 |
### 2. Install Dependencies
|
| 504 |
|
| 505 |
```bash
|
| 506 |
pip install huggingface_hub tqdm
|
| 507 |
```
|
| 508 |
|
|
|
|
|
|
|
|
|
|
| 509 |
<a id="filter-cases"></a>
|
| 510 |
|
|
|
|
|
|
|
| 511 |
### 3. Filter Cases
|
| 512 |
|
| 513 |
<a id="filter-by-split"></a>
|
| 514 |
|
|
|
|
|
|
|
| 515 |
#### 3.1 Filter by split
|
| 516 |
|
| 517 |
```bash
|
|
|
|
| 520 |
--output selected_cases.json
|
| 521 |
```
|
| 522 |
|
|
|
|
|
|
|
|
|
|
| 523 |
<a id="filter-by-split-and-activity"></a>
|
| 524 |
|
|
|
|
|
|
|
| 525 |
#### 3.2 Filter by split and activity complexity
|
| 526 |
|
| 527 |
```bash
|
|
|
|
| 531 |
--output selected_cases.json
|
| 532 |
```
|
| 533 |
|
|
|
|
|
|
|
|
|
|
| 534 |
<a id="filter-by-phenomenon"></a>
|
| 535 |
|
|
|
|
|
|
|
| 536 |
#### 3.3 Filter by physical phenomenon abbreviation
|
| 537 |
|
| 538 |
By default, phenomenon matching uses `contains` mode. For example, the following command selects all double-physics cases that contain `FrictionStop`:
|
|
|
|
| 557 |
--output selected_cases.json
|
| 558 |
```
|
| 559 |
|
|
|
|
|
|
|
|
|
|
| 560 |
<a id="random-sampling"></a>
|
| 561 |
|
|
|
|
|
|
|
| 562 |
#### 3.4 Randomly sample a fixed number of cases
|
| 563 |
|
| 564 |
`--num` is the global number of cases sampled after filtering. The default random seed is `42`.
|
|
|
|
| 573 |
--output selected_cases.json
|
| 574 |
```
|
| 575 |
|
|
|
|
|
|
|
|
|
|
| 576 |
<a id="download-selected-cases"></a>
|
| 577 |
|
|
|
|
|
|
|
| 578 |
### 4. Download Selected Cases
|
| 579 |
|
| 580 |
Each selected case is downloaded as a zip file from the corresponding Hugging Face shard repository.
|
|
|
|
| 618 |
|
| 619 |
<a id="license"></a>
|
| 620 |
|
|
|
|
|
|
|
| 621 |
## ๐ License
|
| 622 |
|
| 623 |
+
<div class="physinone-section-body" data-section="license">
|
| 624 |
+
|
| 625 |
+
|
| 626 |
All 3D assets and materials included in PhysInOne have been sourced from publicly available platforms and verified to carry licenses compatible with non-commercial use. These include:
|
| 627 |
|
| 628 |
- SketchFab: assets under various licenses, verified that AI-related usage is allowed.
|
|
|
|
| 639 |
|
| 640 |
<a id="citation"></a>
|
| 641 |
|
|
|
|
|
|
|
| 642 |
## ๐ Citation
|
| 643 |
|
| 644 |
+
<div class="physinone-section-body" data-section="citation">
|
| 645 |
+
|
| 646 |
+
|
| 647 |
If you use PhysInOne in your research, please cite:
|
| 648 |
|
| 649 |
```bibtex
|
|
|
|
| 660 |
|
| 661 |
<a id="contact"></a>
|
| 662 |
|
|
|
|
|
|
|
| 663 |
## ๐ฎ Contact
|
| 664 |
|
| 665 |
+
<div class="physinone-section-body" data-section="contact">
|
| 666 |
+
|
| 667 |
+
|
| 668 |
For questions about the dataset, please contact:
|
| 669 |
|
| 670 |
- {siyuan.zhou, hejun.wang, hu123.cheng, jinxi.li}@connect.polyu.hk, bo.yang@polyu.edu.hk
|