Upload README.md
Browse files
README.md
CHANGED
|
@@ -87,21 +87,16 @@ homepage: https://vlar-group.github.io/PhysInOne.html
|
|
| 87 |
line-height: 1.18;
|
| 88 |
}
|
| 89 |
.physinone-section {
|
| 90 |
-
margin-left:
|
| 91 |
-
padding-left:
|
| 92 |
-
border-left: 3px solid #e5e7eb;
|
| 93 |
}
|
| 94 |
.physinone-subsection {
|
| 95 |
margin-left: 14px;
|
| 96 |
-
padding-left:
|
| 97 |
-
border-left: 2px solid #f0f0f0;
|
| 98 |
-
}
|
| 99 |
-
.physinone-section h2 {
|
| 100 |
-
margin-left: -18px;
|
| 101 |
}
|
| 102 |
-
.physinone-
|
| 103 |
-
|
| 104 |
-
|
| 105 |
}
|
| 106 |
</style>
|
| 107 |
|
|
@@ -524,6 +519,8 @@ pip install huggingface_hub tqdm
|
|
| 524 |
|
| 525 |
<a id="filter-by-split"></a>
|
| 526 |
|
|
|
|
|
|
|
| 527 |
#### 3.1 Filter by split
|
| 528 |
|
| 529 |
```bash
|
|
@@ -532,8 +529,13 @@ python scripts/filter_cases.py \
|
|
| 532 |
--output selected_cases.json
|
| 533 |
```
|
| 534 |
|
|
|
|
|
|
|
|
|
|
| 535 |
<a id="filter-by-split-and-activity"></a>
|
| 536 |
|
|
|
|
|
|
|
| 537 |
#### 3.2 Filter by split and activity complexity
|
| 538 |
|
| 539 |
```bash
|
|
@@ -543,8 +545,13 @@ python scripts/filter_cases.py \
|
|
| 543 |
--output selected_cases.json
|
| 544 |
```
|
| 545 |
|
|
|
|
|
|
|
|
|
|
| 546 |
<a id="filter-by-phenomenon"></a>
|
| 547 |
|
|
|
|
|
|
|
| 548 |
#### 3.3 Filter by physical phenomenon abbreviation
|
| 549 |
|
| 550 |
By default, phenomenon matching uses `contains` mode. For example, the following command selects all double-physics cases that contain `FrictionStop`:
|
|
@@ -569,8 +576,13 @@ python scripts/filter_cases.py \
|
|
| 569 |
--output selected_cases.json
|
| 570 |
```
|
| 571 |
|
|
|
|
|
|
|
|
|
|
| 572 |
<a id="random-sampling"></a>
|
| 573 |
|
|
|
|
|
|
|
| 574 |
#### 3.4 Randomly sample a fixed number of cases
|
| 575 |
|
| 576 |
`--num` is the global number of cases sampled after filtering. The default random seed is `42`.
|
|
@@ -631,9 +643,6 @@ PhysInOne/
|
|
| 631 |
```
|
| 632 |
|
| 633 |
|
| 634 |
-
</div>
|
| 635 |
-
|
| 636 |
-
|
| 637 |
</div>
|
| 638 |
|
| 639 |
<a id="license"></a>
|
|
|
|
| 87 |
line-height: 1.18;
|
| 88 |
}
|
| 89 |
.physinone-section {
|
| 90 |
+
margin-left: 10px;
|
| 91 |
+
padding-left: 14px;
|
|
|
|
| 92 |
}
|
| 93 |
.physinone-subsection {
|
| 94 |
margin-left: 14px;
|
| 95 |
+
padding-left: 12px;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 96 |
}
|
| 97 |
+
.physinone-subsubsection {
|
| 98 |
+
margin-left: 22px;
|
| 99 |
+
padding-left: 10px;
|
| 100 |
}
|
| 101 |
</style>
|
| 102 |
|
|
|
|
| 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 |
--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 |
--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 |
--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`.
|
|
|
|
| 643 |
```
|
| 644 |
|
| 645 |
|
|
|
|
|
|
|
|
|
|
| 646 |
</div>
|
| 647 |
|
| 648 |
<a id="license"></a>
|