Upload README.md
Browse files
README.md
CHANGED
|
@@ -466,6 +466,9 @@ Per camera:
|
|
| 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.
|
| 468 |
|
|
|
|
|
|
|
|
|
|
| 469 |
</div>
|
| 470 |
|
| 471 |
<h3 id="point-clouds" style="font-size: 1.35em; margin-top: 0.75em; margin-bottom: 0.22em; line-height: 1.2; margin-left: 24px;"><span style="display: inline-block; width: 1.08em;">•</span>Point Clouds</h3>
|
|
@@ -486,6 +489,7 @@ The initial point cloud was obtained by back-projecting the pixels from each cam
|
|
| 486 |
<div style="margin-left: 24px;">
|
| 487 |
|
| 488 |
|
|
|
|
| 489 |
PhysInOne is distributed across multiple Hugging Face dataset repositories because of its large scale. We provide two scripts for selecting and downloading cases:
|
| 490 |
|
| 491 |
- `filter_cases.py`: parses the case-to-repository assignment file and exports selected cases to JSON.
|
|
@@ -500,10 +504,12 @@ The `filter_cases.py` script supports selection by:
|
|
| 500 |
|
| 501 |
|
| 502 |
</div>
|
| 503 |
-
|
|
|
|
| 504 |
<div style="margin-left: 24px;">
|
| 505 |
|
| 506 |
|
|
|
|
| 507 |
Please download the `assets` folder, which contains:
|
| 508 |
|
| 509 |
```text
|
|
@@ -516,27 +522,33 @@ scripts/
|
|
| 516 |
```
|
| 517 |
|
| 518 |
|
|
|
|
| 519 |
</div>
|
| 520 |
|
| 521 |
-
<h3 id="install-dependencies" style="font-size: 1.35em; margin-top: 0.75em; margin-bottom: 0.22em; line-height: 1.2; margin-left:
|
| 522 |
<div style="margin-left: 24px;">
|
| 523 |
|
| 524 |
|
|
|
|
| 525 |
```bash
|
| 526 |
pip install huggingface_hub tqdm
|
| 527 |
```
|
| 528 |
|
| 529 |
|
|
|
|
| 530 |
</div>
|
| 531 |
|
| 532 |
-
<h3 id="filter-cases" style="font-size: 1.35em; margin-top: 0.75em; margin-bottom: 0.22em; line-height: 1.2; margin-left:
|
| 533 |
<div style="margin-left: 24px;">
|
| 534 |
|
| 535 |
|
|
|
|
|
|
|
| 536 |
</div>
|
| 537 |
|
| 538 |
-
<h4 id="filter-by-split" style="font-size: 1.12em; margin-top: 0.55em; margin-bottom: 0.14em; line-height: 1.18; margin-left:
|
| 539 |
-
<div style="margin-left:
|
|
|
|
| 540 |
|
| 541 |
|
| 542 |
```bash
|
|
@@ -547,10 +559,12 @@ python scripts/filter_cases.py \
|
|
| 547 |
|
| 548 |
|
| 549 |
|
|
|
|
| 550 |
</div>
|
| 551 |
|
| 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:
|
| 553 |
-
<div style="margin-left:
|
|
|
|
| 554 |
|
| 555 |
|
| 556 |
```bash
|
|
@@ -562,10 +576,12 @@ python scripts/filter_cases.py \
|
|
| 562 |
|
| 563 |
|
| 564 |
|
|
|
|
| 565 |
</div>
|
| 566 |
|
| 567 |
-
<h4 id="filter-by-phenomenon" style="font-size: 1.12em; margin-top: 0.55em; margin-bottom: 0.14em; line-height: 1.18; margin-left:
|
| 568 |
-
<div style="margin-left:
|
|
|
|
| 569 |
|
| 570 |
|
| 571 |
By default, phenomenon matching uses `contains` mode. For example, the following command selects all double-physics cases that contain `FrictionStop`:
|
|
@@ -592,10 +608,12 @@ python scripts/filter_cases.py \
|
|
| 592 |
|
| 593 |
|
| 594 |
|
|
|
|
| 595 |
</div>
|
| 596 |
|
| 597 |
-
<h4 id="random-sampling" style="font-size: 1.12em; margin-top: 0.55em; margin-bottom: 0.14em; line-height: 1.18; margin-left:
|
| 598 |
-
<div style="margin-left:
|
|
|
|
| 599 |
|
| 600 |
|
| 601 |
`--num` is the global number of cases sampled after filtering. The default random seed is `42`.
|
|
@@ -613,12 +631,14 @@ python scripts/filter_cases.py \
|
|
| 613 |
|
| 614 |
|
| 615 |
|
|
|
|
| 616 |
</div>
|
| 617 |
|
| 618 |
-
<h3 id="download-selected-cases" style="font-size: 1.35em; margin-top: 0.75em; margin-bottom: 0.22em; line-height: 1.2; margin-left:
|
| 619 |
<div style="margin-left: 24px;">
|
| 620 |
|
| 621 |
|
|
|
|
| 622 |
Each selected case is downloaded as a zip file from the corresponding Hugging Face shard repository.
|
| 623 |
|
| 624 |
```bash
|
|
@@ -663,6 +683,8 @@ PhysInOne/
|
|
| 663 |
|
| 664 |
|
| 665 |
|
|
|
|
|
|
|
| 666 |
<h2 id="license" style="margin-left: 0; font-size: 1.9em; line-height: 1.22; margin-top: 1.2em; margin-bottom: 0.5em;">📜 License</h2>
|
| 667 |
<div style="margin-left: 24px;">
|
| 668 |
|
|
|
|
| 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.
|
| 468 |
|
| 469 |
+
</div>
|
| 470 |
+
|
| 471 |
+
|
| 472 |
</div>
|
| 473 |
|
| 474 |
<h3 id="point-clouds" style="font-size: 1.35em; margin-top: 0.75em; margin-bottom: 0.22em; line-height: 1.2; margin-left: 24px;"><span style="display: inline-block; width: 1.08em;">•</span>Point Clouds</h3>
|
|
|
|
| 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:
|
| 494 |
|
| 495 |
- `filter_cases.py`: parses the case-to-repository assignment file and exports selected cases to JSON.
|
|
|
|
| 504 |
|
| 505 |
|
| 506 |
</div>
|
| 507 |
+
|
| 508 |
+
<h3 id="download-scripts" style="font-size: 1.35em; margin-top: 0.75em; margin-bottom: 0.22em; line-height: 1.2; margin-left: 0;">1. Download Scripts</h3>
|
| 509 |
<div style="margin-left: 24px;">
|
| 510 |
|
| 511 |
|
| 512 |
+
|
| 513 |
Please download the `assets` folder, which contains:
|
| 514 |
|
| 515 |
```text
|
|
|
|
| 522 |
```
|
| 523 |
|
| 524 |
|
| 525 |
+
|
| 526 |
</div>
|
| 527 |
|
| 528 |
+
<h3 id="install-dependencies" style="font-size: 1.35em; margin-top: 0.75em; margin-bottom: 0.22em; line-height: 1.2; margin-left: 0;">2. Install Dependencies</h3>
|
| 529 |
<div style="margin-left: 24px;">
|
| 530 |
|
| 531 |
|
| 532 |
+
|
| 533 |
```bash
|
| 534 |
pip install huggingface_hub tqdm
|
| 535 |
```
|
| 536 |
|
| 537 |
|
| 538 |
+
|
| 539 |
</div>
|
| 540 |
|
| 541 |
+
<h3 id="filter-cases" style="font-size: 1.35em; margin-top: 0.75em; margin-bottom: 0.22em; line-height: 1.2; margin-left: 0;">3. Filter Cases</h3>
|
| 542 |
<div style="margin-left: 24px;">
|
| 543 |
|
| 544 |
|
| 545 |
+
|
| 546 |
+
|
| 547 |
</div>
|
| 548 |
|
| 549 |
+
<h4 id="filter-by-split" style="font-size: 1.12em; margin-top: 0.55em; margin-bottom: 0.14em; line-height: 1.18; margin-left: 24px;">3.1 Filter by split</h4>
|
| 550 |
+
<div style="margin-left: 24px;">
|
| 551 |
+
|
| 552 |
|
| 553 |
|
| 554 |
```bash
|
|
|
|
| 559 |
|
| 560 |
|
| 561 |
|
| 562 |
+
|
| 563 |
</div>
|
| 564 |
|
| 565 |
+
<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: 24px;">3.2 Filter by split and activity complexity</h4>
|
| 566 |
+
<div style="margin-left: 24px;">
|
| 567 |
+
|
| 568 |
|
| 569 |
|
| 570 |
```bash
|
|
|
|
| 576 |
|
| 577 |
|
| 578 |
|
| 579 |
+
|
| 580 |
</div>
|
| 581 |
|
| 582 |
+
<h4 id="filter-by-phenomenon" style="font-size: 1.12em; margin-top: 0.55em; margin-bottom: 0.14em; line-height: 1.18; margin-left: 24px;">3.3 Filter by physical phenomenon abbreviation</h4>
|
| 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 |
|
| 609 |
|
| 610 |
|
| 611 |
+
|
| 612 |
</div>
|
| 613 |
|
| 614 |
+
<h4 id="random-sampling" style="font-size: 1.12em; margin-top: 0.55em; margin-bottom: 0.14em; line-height: 1.18; margin-left: 24px;">3.4 Randomly sample a fixed number of cases</h4>
|
| 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 |
|
| 632 |
|
| 633 |
|
| 634 |
+
|
| 635 |
</div>
|
| 636 |
|
| 637 |
+
<h3 id="download-selected-cases" style="font-size: 1.35em; margin-top: 0.75em; margin-bottom: 0.22em; line-height: 1.2; margin-left: 0;">4. Download Selected Cases</h3>
|
| 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.
|
| 643 |
|
| 644 |
```bash
|
|
|
|
| 683 |
|
| 684 |
|
| 685 |
|
| 686 |
+
</div>
|
| 687 |
+
|
| 688 |
<h2 id="license" style="margin-left: 0; font-size: 1.9em; line-height: 1.22; margin-top: 1.2em; margin-bottom: 0.5em;">📜 License</h2>
|
| 689 |
<div style="margin-left: 24px;">
|
| 690 |
|