Upload README.md
Browse files
README.md
CHANGED
|
@@ -445,9 +445,9 @@ Each scene includes multiple camera viewpoints to support 3D perception, reconst
|
|
| 445 |
- Taichi-based MPM simulations (elastic solids, plasticine, granular substances, some Newtonian and Non-Newtonian fluids): 15 static cameras + 1 dynamic camera
|
| 446 |
- Other scenes: 12 static cameras + 1 dynamic camera
|
| 447 |
|
| 448 |
-
<h5 id="camera-json-structure" style="font-size: 1.02em; margin-top: 0.55em; margin-bottom: 0.12em; line-height: 1.16; font-weight: 700; margin-left:
|
| 449 |
|
| 450 |
-
<div style="margin-left:
|
| 451 |
|
| 452 |
Per camera:
|
| 453 |
|
|
@@ -459,9 +459,9 @@ Per camera:
|
|
| 459 |
|
| 460 |
</div>
|
| 461 |
|
| 462 |
-
<h5 id="dynamic-camera-behavior" style="font-size: 1.02em; margin-top: 0.55em; margin-bottom: 0.12em; line-height: 1.16; font-weight: 700; margin-left:
|
| 463 |
|
| 464 |
-
<div style="margin-left:
|
| 465 |
|
| 466 |
- The dynamic camera moves along a path randomly sampled on a hemisphere surrounding the center of the main objects, providing diverse viewpoints.
|
| 467 |
- JSON frame indices correspond directly to video frame indices.
|
|
@@ -483,11 +483,9 @@ The initial point cloud was obtained by back-projecting the pixels from each cam
|
|
| 483 |
|
| 484 |
</div>
|
| 485 |
|
| 486 |
-
|
| 487 |
-
</div>
|
| 488 |
<h2 id="how-to-download" style="margin-left: 0; font-size: 1.9em; line-height: 1.22; margin-top: 1.2em; margin-bottom: 0.5em;">📥 How to Download</h2>
|
| 489 |
<div style="margin-left: 24px;">
|
| 490 |
-
|
| 491 |
|
| 492 |
|
| 493 |
PhysInOne is distributed across multiple Hugging Face dataset repositories because of its large scale. We provide two scripts for selecting and downloading cases:
|
|
@@ -502,12 +500,10 @@ The `filter_cases.py` script supports selection by:
|
|
| 502 |
- Physical phenomenon abbreviation: `MovingHitsFixed`, `FrictionStop`, `LiquidTension`, ..., `GranularFall`
|
| 503 |
- Number of cases: globally sample `num` cases after filtering
|
| 504 |
|
| 505 |
-
|
| 506 |
</div>
|
| 507 |
-
|
| 508 |
-
<
|
| 509 |
<div style="margin-left: 24px;">
|
| 510 |
-
|
| 511 |
|
| 512 |
|
| 513 |
Please download the `assets` folder, which contains:
|
|
@@ -522,12 +518,10 @@ scripts/
|
|
| 522 |
```
|
| 523 |
|
| 524 |
|
| 525 |
-
|
| 526 |
</div>
|
| 527 |
-
|
| 528 |
-
<
|
| 529 |
<div style="margin-left: 24px;">
|
| 530 |
-
|
| 531 |
|
| 532 |
|
| 533 |
```bash
|
|
@@ -535,20 +529,15 @@ pip install huggingface_hub tqdm
|
|
| 535 |
```
|
| 536 |
|
| 537 |
|
| 538 |
-
|
| 539 |
</div>
|
| 540 |
-
|
| 541 |
-
<
|
| 542 |
<div style="margin-left: 24px;">
|
| 543 |
-
|
| 544 |
-
|
| 545 |
|
| 546 |
|
| 547 |
</div>
|
| 548 |
-
|
| 549 |
-
<
|
| 550 |
-
<div style="margin-left: 24px;">
|
| 551 |
-
|
| 552 |
|
| 553 |
|
| 554 |
```bash
|
|
@@ -559,12 +548,9 @@ python scripts/filter_cases.py \
|
|
| 559 |
|
| 560 |
|
| 561 |
|
| 562 |
-
|
| 563 |
</div>
|
| 564 |
-
|
| 565 |
-
<
|
| 566 |
-
<div style="margin-left: 24px;">
|
| 567 |
-
|
| 568 |
|
| 569 |
|
| 570 |
```bash
|
|
@@ -576,12 +562,9 @@ python scripts/filter_cases.py \
|
|
| 576 |
|
| 577 |
|
| 578 |
|
| 579 |
-
|
| 580 |
</div>
|
| 581 |
-
|
| 582 |
-
<
|
| 583 |
-
<div style="margin-left: 24px;">
|
| 584 |
-
|
| 585 |
|
| 586 |
|
| 587 |
By default, phenomenon matching uses `contains` mode. For example, the following command selects all double-physics cases that contain `FrictionStop`:
|
|
@@ -608,12 +591,9 @@ python scripts/filter_cases.py \
|
|
| 608 |
|
| 609 |
|
| 610 |
|
| 611 |
-
|
| 612 |
</div>
|
| 613 |
-
|
| 614 |
-
<
|
| 615 |
-
<div style="margin-left: 24px;">
|
| 616 |
-
|
| 617 |
|
| 618 |
|
| 619 |
`--num` is the global number of cases sampled after filtering. The default random seed is `42`.
|
|
@@ -631,12 +611,10 @@ python scripts/filter_cases.py \
|
|
| 631 |
|
| 632 |
|
| 633 |
|
| 634 |
-
|
| 635 |
</div>
|
| 636 |
-
|
| 637 |
-
<
|
| 638 |
<div style="margin-left: 24px;">
|
| 639 |
-
|
| 640 |
|
| 641 |
|
| 642 |
Each selected case is downloaded as a zip file from the corresponding Hugging Face shard repository.
|
|
@@ -678,10 +656,12 @@ PhysInOne/
|
|
| 678 |
|
| 679 |
|
| 680 |
|
| 681 |
-
|
| 682 |
-
|
| 683 |
-
|
| 684 |
-
|
|
|
|
|
|
|
| 685 |
|
| 686 |
</div>
|
| 687 |
|
|
@@ -720,6 +700,7 @@ If you use PhysInOne in your research, please cite:
|
|
| 720 |
|
| 721 |
|
| 722 |
</div>
|
|
|
|
| 723 |
<h2 id="contact" style="margin-left: 0; font-size: 1.9em; line-height: 1.22; margin-top: 1.2em; margin-bottom: 0.5em;">📮 Contact</h2>
|
| 724 |
<div style="margin-left: 24px;">
|
| 725 |
|
|
|
|
| 445 |
- Taichi-based MPM simulations (elastic solids, plasticine, granular substances, some Newtonian and Non-Newtonian fluids): 15 static cameras + 1 dynamic camera
|
| 446 |
- Other scenes: 12 static cameras + 1 dynamic camera
|
| 447 |
|
| 448 |
+
<h5 id="camera-json-structure" style="font-size: 1.02em; margin-top: 0.55em; margin-bottom: 0.12em; line-height: 1.16; font-weight: 700; margin-left: 48px;"><span style="display: inline-block; width: 1.02em;">◦</span>Camera JSON structure</h5>
|
| 449 |
|
| 450 |
+
<div style="margin-left: 48px;">
|
| 451 |
|
| 452 |
Per camera:
|
| 453 |
|
|
|
|
| 459 |
|
| 460 |
</div>
|
| 461 |
|
| 462 |
+
<h5 id="dynamic-camera-behavior" style="font-size: 1.02em; margin-top: 0.55em; margin-bottom: 0.12em; line-height: 1.16; font-weight: 700; margin-left: 48px;"><span style="display: inline-block; width: 1.02em;">◦</span>Dynamic camera behavior</h5>
|
| 463 |
|
| 464 |
+
<div style="margin-left: 48px;">
|
| 465 |
|
| 466 |
- The dynamic camera moves along a path randomly sampled on a hemisphere surrounding the center of the main objects, providing diverse viewpoints.
|
| 467 |
- JSON frame indices correspond directly to video frame indices.
|
|
|
|
| 483 |
|
| 484 |
</div>
|
| 485 |
|
|
|
|
|
|
|
| 486 |
<h2 id="how-to-download" style="margin-left: 0; font-size: 1.9em; line-height: 1.22; margin-top: 1.2em; margin-bottom: 0.5em;">📥 How to Download</h2>
|
| 487 |
<div style="margin-left: 24px;">
|
| 488 |
+
<div style="margin-left: 24px;">
|
| 489 |
|
| 490 |
|
| 491 |
PhysInOne is distributed across multiple Hugging Face dataset repositories because of its large scale. We provide two scripts for selecting and downloading cases:
|
|
|
|
| 500 |
- Physical phenomenon abbreviation: `MovingHitsFixed`, `FrictionStop`, `LiquidTension`, ..., `GranularFall`
|
| 501 |
- Number of cases: globally sample `num` cases after filtering
|
| 502 |
|
|
|
|
| 503 |
</div>
|
| 504 |
+
<h3 id="download-scripts" style="font-size: 1.35em; margin-top: 0.75em; margin-bottom: 0.22em; line-height: 1.2; margin-left: 24px;">1. Download Scripts</h3>
|
| 505 |
+
<div style="margin-left: 24px;">
|
| 506 |
<div style="margin-left: 24px;">
|
|
|
|
| 507 |
|
| 508 |
|
| 509 |
Please download the `assets` folder, which contains:
|
|
|
|
| 518 |
```
|
| 519 |
|
| 520 |
|
|
|
|
| 521 |
</div>
|
| 522 |
+
<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. Install Dependencies</h3>
|
| 523 |
+
<div style="margin-left: 24px;">
|
| 524 |
<div style="margin-left: 24px;">
|
|
|
|
| 525 |
|
| 526 |
|
| 527 |
```bash
|
|
|
|
| 529 |
```
|
| 530 |
|
| 531 |
|
|
|
|
| 532 |
</div>
|
| 533 |
+
<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>
|
| 534 |
+
<div style="margin-left: 24px;">
|
| 535 |
<div style="margin-left: 24px;">
|
|
|
|
|
|
|
| 536 |
|
| 537 |
|
| 538 |
</div>
|
| 539 |
+
<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>
|
| 540 |
+
<div style="margin-left: 48px;">
|
|
|
|
|
|
|
| 541 |
|
| 542 |
|
| 543 |
```bash
|
|
|
|
| 548 |
|
| 549 |
|
| 550 |
|
|
|
|
| 551 |
</div>
|
| 552 |
+
<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>
|
| 553 |
+
<div style="margin-left: 48px;">
|
|
|
|
|
|
|
| 554 |
|
| 555 |
|
| 556 |
```bash
|
|
|
|
| 562 |
|
| 563 |
|
| 564 |
|
|
|
|
| 565 |
</div>
|
| 566 |
+
<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>
|
| 567 |
+
<div style="margin-left: 48px;">
|
|
|
|
|
|
|
| 568 |
|
| 569 |
|
| 570 |
By default, phenomenon matching uses `contains` mode. For example, the following command selects all double-physics cases that contain `FrictionStop`:
|
|
|
|
| 591 |
|
| 592 |
|
| 593 |
|
|
|
|
| 594 |
</div>
|
| 595 |
+
<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>
|
| 596 |
+
<div style="margin-left: 48px;">
|
|
|
|
|
|
|
| 597 |
|
| 598 |
|
| 599 |
`--num` is the global number of cases sampled after filtering. The default random seed is `42`.
|
|
|
|
| 611 |
|
| 612 |
|
| 613 |
|
|
|
|
| 614 |
</div>
|
| 615 |
+
<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>
|
| 616 |
+
<div style="margin-left: 24px;">
|
| 617 |
<div style="margin-left: 24px;">
|
|
|
|
| 618 |
|
| 619 |
|
| 620 |
Each selected case is downloaded as a zip file from the corresponding Hugging Face shard repository.
|
|
|
|
| 656 |
|
| 657 |
|
| 658 |
|
| 659 |
+
</div>
|
| 660 |
+
</div>
|
| 661 |
+
</div>
|
| 662 |
+
</div>
|
| 663 |
+
</div>
|
| 664 |
+
</div>
|
| 665 |
|
| 666 |
</div>
|
| 667 |
|
|
|
|
| 700 |
|
| 701 |
|
| 702 |
</div>
|
| 703 |
+
|
| 704 |
<h2 id="contact" style="margin-left: 0; font-size: 1.9em; line-height: 1.22; margin-top: 1.2em; margin-bottom: 0.5em;">📮 Contact</h2>
|
| 705 |
<div style="margin-left: 24px;">
|
| 706 |
|