Upload README.md
Browse files
README.md
CHANGED
|
@@ -481,7 +481,6 @@ The initial point cloud was obtained by back-projecting the pixels from each cam
|
|
| 481 |
</div>
|
| 482 |
|
| 483 |
|
| 484 |
-
<!-- close local indentation wrappers -->
|
| 485 |
</div>
|
| 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;">
|
|
@@ -499,6 +498,8 @@ The `filter_cases.py` script supports selection by:
|
|
| 499 |
- Physical phenomenon abbreviation: `MovingHitsFixed`, `FrictionStop`, `LiquidTension`, ..., `GranularFall`
|
| 500 |
- Number of cases: globally sample `num` cases after filtering
|
| 501 |
|
|
|
|
|
|
|
| 502 |
<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>
|
| 503 |
<div style="margin-left: 24px;">
|
| 504 |
|
|
@@ -515,6 +516,8 @@ scripts/
|
|
| 515 |
```
|
| 516 |
|
| 517 |
|
|
|
|
|
|
|
| 518 |
<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>
|
| 519 |
<div style="margin-left: 24px;">
|
| 520 |
|
|
@@ -524,12 +527,16 @@ pip install huggingface_hub tqdm
|
|
| 524 |
```
|
| 525 |
|
| 526 |
|
|
|
|
|
|
|
| 527 |
<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>
|
| 528 |
<div style="margin-left: 24px;">
|
| 529 |
|
| 530 |
|
| 531 |
-
<div
|
| 532 |
-
|
|
|
|
|
|
|
| 533 |
|
| 534 |
|
| 535 |
```bash
|
|
@@ -538,11 +545,12 @@ python scripts/filter_cases.py \
|
|
| 538 |
--output selected_cases.json
|
| 539 |
```
|
| 540 |
|
| 541 |
-
|
| 542 |
|
| 543 |
</div>
|
| 544 |
|
| 545 |
-
<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:
|
|
|
|
| 546 |
|
| 547 |
|
| 548 |
```bash
|
|
@@ -552,11 +560,12 @@ python scripts/filter_cases.py \
|
|
| 552 |
--output selected_cases.json
|
| 553 |
```
|
| 554 |
|
| 555 |
-
|
| 556 |
|
| 557 |
</div>
|
| 558 |
|
| 559 |
-
<h4 id="filter-by-phenomenon" style="font-size: 1.12em; margin-top: 0.55em; margin-bottom: 0.14em; line-height: 1.18; margin-left:
|
|
|
|
| 560 |
|
| 561 |
|
| 562 |
By default, phenomenon matching uses `contains` mode. For example, the following command selects all double-physics cases that contain `FrictionStop`:
|
|
@@ -581,11 +590,12 @@ python scripts/filter_cases.py \
|
|
| 581 |
--output selected_cases.json
|
| 582 |
```
|
| 583 |
|
| 584 |
-
|
| 585 |
|
| 586 |
</div>
|
| 587 |
|
| 588 |
-
<h4 id="random-sampling" style="font-size: 1.12em; margin-top: 0.55em; margin-bottom: 0.14em; line-height: 1.18; margin-left:
|
|
|
|
| 589 |
|
| 590 |
|
| 591 |
`--num` is the global number of cases sampled after filtering. The default random seed is `42`.
|
|
@@ -603,6 +613,8 @@ python scripts/filter_cases.py \
|
|
| 603 |
|
| 604 |
|
| 605 |
|
|
|
|
|
|
|
| 606 |
<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>
|
| 607 |
<div style="margin-left: 24px;">
|
| 608 |
|
|
@@ -646,13 +658,11 @@ PhysInOne/
|
|
| 646 |
|
| 647 |
|
| 648 |
|
| 649 |
-
|
| 650 |
-
|
| 651 |
-
|
| 652 |
-
|
| 653 |
-
|
| 654 |
-
</div>
|
| 655 |
-
</div>
|
| 656 |
<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>
|
| 657 |
<div style="margin-left: 24px;">
|
| 658 |
|
|
@@ -687,7 +697,6 @@ If you use PhysInOne in your research, please cite:
|
|
| 687 |
|
| 688 |
|
| 689 |
|
| 690 |
-
<!-- close local indentation wrappers -->
|
| 691 |
</div>
|
| 692 |
<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>
|
| 693 |
<div style="margin-left: 24px;">
|
|
|
|
| 481 |
</div>
|
| 482 |
|
| 483 |
|
|
|
|
| 484 |
</div>
|
| 485 |
<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>
|
| 486 |
<div style="margin-left: 24px;">
|
|
|
|
| 498 |
- Physical phenomenon abbreviation: `MovingHitsFixed`, `FrictionStop`, `LiquidTension`, ..., `GranularFall`
|
| 499 |
- Number of cases: globally sample `num` cases after filtering
|
| 500 |
|
| 501 |
+
|
| 502 |
+
</div>
|
| 503 |
<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>
|
| 504 |
<div style="margin-left: 24px;">
|
| 505 |
|
|
|
|
| 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: 24px;">2. Install Dependencies</h3>
|
| 522 |
<div style="margin-left: 24px;">
|
| 523 |
|
|
|
|
| 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: 24px;">3. Filter Cases</h3>
|
| 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: 48px;">3.1 Filter by split</h4>
|
| 539 |
+
<div style="margin-left: 48px;">
|
| 540 |
|
| 541 |
|
| 542 |
```bash
|
|
|
|
| 545 |
--output selected_cases.json
|
| 546 |
```
|
| 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: 48px;">3.2 Filter by split and activity complexity</h4>
|
| 553 |
+
<div style="margin-left: 48px;">
|
| 554 |
|
| 555 |
|
| 556 |
```bash
|
|
|
|
| 560 |
--output selected_cases.json
|
| 561 |
```
|
| 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: 48px;">3.3 Filter by physical phenomenon abbreviation</h4>
|
| 568 |
+
<div style="margin-left: 48px;">
|
| 569 |
|
| 570 |
|
| 571 |
By default, phenomenon matching uses `contains` mode. For example, the following command selects all double-physics cases that contain `FrictionStop`:
|
|
|
|
| 590 |
--output selected_cases.json
|
| 591 |
```
|
| 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: 48px;">3.4 Randomly sample a fixed number of cases</h4>
|
| 598 |
+
<div style="margin-left: 48px;">
|
| 599 |
|
| 600 |
|
| 601 |
`--num` is the global number of cases sampled after filtering. The default random seed is `42`.
|
|
|
|
| 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: 24px;">4. Download Selected Cases</h3>
|
| 619 |
<div style="margin-left: 24px;">
|
| 620 |
|
|
|
|
| 658 |
|
| 659 |
|
| 660 |
|
| 661 |
+
|
| 662 |
+
|
| 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 |
|
|
|
|
| 697 |
|
| 698 |
|
| 699 |
|
|
|
|
| 700 |
</div>
|
| 701 |
<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>
|
| 702 |
<div style="margin-left: 24px;">
|