Upload README.md
Browse files
README.md
CHANGED
|
@@ -296,7 +296,7 @@ This design guarantees that training, validation, and test sets are fully separa
|
|
| 296 |
|
| 297 |
|
| 298 |
<h3 id="physical-phenomena" style="font-size: 1.35em; margin-top: 0.75em; margin-bottom: 0.22em; line-height: 1.2; margin-left: 0;"><span style="display: inline-block; width: 1.08em;">•</span>Physical Phenomenon and Abbreviations</h3>
|
| 299 |
-
<div style="margin-left:
|
| 300 |
|
| 301 |
|
| 302 |
<details>
|
|
@@ -397,7 +397,7 @@ This naming convention allows users to quickly parse scene metadata and link it
|
|
| 397 |
PhysInOne provides synchronized visual and physical annotations for each dynamic 3D scene.
|
| 398 |
|
| 399 |
<h3 id="depth" style="font-size: 1.35em; margin-top: 0.75em; margin-bottom: 0.22em; line-height: 1.2; margin-left: 0;"><span style="display: inline-block; width: 1.08em;">•</span>Depth</h3>
|
| 400 |
-
<div style="margin-left:
|
| 401 |
|
| 402 |
|
| 403 |
Depth maps are provided in `.npz` format and are expressed in meters.
|
|
@@ -405,7 +405,7 @@ Depth maps are provided in `.npz` format and are expressed in meters.
|
|
| 405 |
</div>
|
| 406 |
|
| 407 |
<h3 id="segmentation" style="font-size: 1.35em; margin-top: 0.75em; margin-bottom: 0.22em; line-height: 1.2; margin-left: 0;"><span style="display: inline-block; width: 1.08em;">•</span>Segmentation</h3>
|
| 408 |
-
<div style="margin-left:
|
| 409 |
|
| 410 |
|
| 411 |
Segmentation masks encode background, static foreground objects, and dynamic foreground objects.
|
|
@@ -421,7 +421,7 @@ Expected encoding:
|
|
| 421 |
</div>
|
| 422 |
|
| 423 |
<h3 id="captions" style="font-size: 1.35em; margin-top: 0.75em; margin-bottom: 0.22em; line-height: 1.2; margin-left: 0;"><span style="display: inline-block; width: 1.08em;">•</span>Captions</h3>
|
| 424 |
-
<div style="margin-left:
|
| 425 |
|
| 426 |
|
| 427 |
Each scene includes a `caption.txt` file containing an English paragraph that describes the visual elements and the physical activity.
|
|
@@ -429,7 +429,7 @@ Each scene includes a `caption.txt` file containing an English paragraph that de
|
|
| 429 |
</div>
|
| 430 |
|
| 431 |
<h3 id="trajectories" style="font-size: 1.35em; margin-top: 0.75em; margin-bottom: 0.22em; line-height: 1.2; margin-left: 0;"><span style="display: inline-block; width: 1.08em;">•</span>Trajectories</h3>
|
| 432 |
-
<div style="margin-left:
|
| 433 |
|
| 434 |
|
| 435 |
TODO
|
|
@@ -437,7 +437,7 @@ TODO
|
|
| 437 |
</div>
|
| 438 |
|
| 439 |
<h3 id="cameras" style="font-size: 1.35em; margin-top: 0.75em; margin-bottom: 0.22em; line-height: 1.2; margin-left: 0;"><span style="display: inline-block; width: 1.08em;">•</span>Cameras</h3>
|
| 440 |
-
<div style="margin-left:
|
| 441 |
|
| 442 |
|
| 443 |
Each scene includes multiple camera viewpoints to support 3D perception, reconstruction, and physics-based visual reasoning tasks.
|
|
@@ -447,7 +447,7 @@ Each scene includes multiple camera viewpoints to support 3D perception, reconst
|
|
| 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:
|
| 451 |
|
| 452 |
Per camera:
|
| 453 |
|
|
@@ -461,7 +461,7 @@ Per camera:
|
|
| 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:
|
| 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.
|
|
@@ -472,7 +472,7 @@ Per camera:
|
|
| 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: 0;"><span style="display: inline-block; width: 1.08em;">•</span>Point Clouds</h3>
|
| 475 |
-
<div style="margin-left:
|
| 476 |
|
| 477 |
|
| 478 |
Each scene should include `points.ply`.
|
|
@@ -503,7 +503,7 @@ The `filter_cases.py` script supports selection by:
|
|
| 503 |
|
| 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 |
|
| 506 |
-
<div style="margin-left:
|
| 507 |
|
| 508 |
Please download the `assets` folder, which contains:
|
| 509 |
|
|
@@ -520,7 +520,7 @@ scripts/
|
|
| 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 |
|
| 523 |
-
<div style="margin-left:
|
| 524 |
|
| 525 |
```bash
|
| 526 |
pip install huggingface_hub tqdm
|
|
@@ -530,7 +530,7 @@ pip install huggingface_hub tqdm
|
|
| 530 |
|
| 531 |
<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>
|
| 532 |
|
| 533 |
-
<div style="margin-left:
|
| 534 |
|
| 535 |
The following examples show common filtering workflows.
|
| 536 |
|
|
@@ -538,7 +538,7 @@ The following examples show common filtering workflows.
|
|
| 538 |
|
| 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 |
|
| 541 |
-
<div style="margin-left:
|
| 542 |
|
| 543 |
```bash
|
| 544 |
python scripts/filter_cases.py \
|
|
@@ -550,7 +550,7 @@ python scripts/filter_cases.py \
|
|
| 550 |
|
| 551 |
<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>
|
| 552 |
|
| 553 |
-
<div style="margin-left:
|
| 554 |
|
| 555 |
```bash
|
| 556 |
python scripts/filter_cases.py \
|
|
@@ -563,7 +563,7 @@ python scripts/filter_cases.py \
|
|
| 563 |
|
| 564 |
<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>
|
| 565 |
|
| 566 |
-
<div style="margin-left:
|
| 567 |
|
| 568 |
By default, phenomenon matching uses `contains` mode. For example, the following command selects all double-physics cases that contain `FrictionStop`:
|
| 569 |
|
|
@@ -591,7 +591,7 @@ python scripts/filter_cases.py \
|
|
| 591 |
|
| 592 |
<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>
|
| 593 |
|
| 594 |
-
<div style="margin-left:
|
| 595 |
|
| 596 |
`--num` is the global number of cases sampled after filtering. The default random seed is `42`.
|
| 597 |
|
|
@@ -609,7 +609,7 @@ python scripts/filter_cases.py \
|
|
| 609 |
|
| 610 |
<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>
|
| 611 |
|
| 612 |
-
<div style="margin-left:
|
| 613 |
|
| 614 |
Each selected case is downloaded as a zip file from the corresponding Hugging Face shard repository.
|
| 615 |
|
|
|
|
| 296 |
|
| 297 |
|
| 298 |
<h3 id="physical-phenomena" style="font-size: 1.35em; margin-top: 0.75em; margin-bottom: 0.22em; line-height: 1.2; margin-left: 0;"><span style="display: inline-block; width: 1.08em;">•</span>Physical Phenomenon and Abbreviations</h3>
|
| 299 |
+
<div style="margin-left: 16px;">
|
| 300 |
|
| 301 |
|
| 302 |
<details>
|
|
|
|
| 397 |
PhysInOne provides synchronized visual and physical annotations for each dynamic 3D scene.
|
| 398 |
|
| 399 |
<h3 id="depth" style="font-size: 1.35em; margin-top: 0.75em; margin-bottom: 0.22em; line-height: 1.2; margin-left: 0;"><span style="display: inline-block; width: 1.08em;">•</span>Depth</h3>
|
| 400 |
+
<div style="margin-left: 16px;">
|
| 401 |
|
| 402 |
|
| 403 |
Depth maps are provided in `.npz` format and are expressed in meters.
|
|
|
|
| 405 |
</div>
|
| 406 |
|
| 407 |
<h3 id="segmentation" style="font-size: 1.35em; margin-top: 0.75em; margin-bottom: 0.22em; line-height: 1.2; margin-left: 0;"><span style="display: inline-block; width: 1.08em;">•</span>Segmentation</h3>
|
| 408 |
+
<div style="margin-left: 16px;">
|
| 409 |
|
| 410 |
|
| 411 |
Segmentation masks encode background, static foreground objects, and dynamic foreground objects.
|
|
|
|
| 421 |
</div>
|
| 422 |
|
| 423 |
<h3 id="captions" style="font-size: 1.35em; margin-top: 0.75em; margin-bottom: 0.22em; line-height: 1.2; margin-left: 0;"><span style="display: inline-block; width: 1.08em;">•</span>Captions</h3>
|
| 424 |
+
<div style="margin-left: 16px;">
|
| 425 |
|
| 426 |
|
| 427 |
Each scene includes a `caption.txt` file containing an English paragraph that describes the visual elements and the physical activity.
|
|
|
|
| 429 |
</div>
|
| 430 |
|
| 431 |
<h3 id="trajectories" style="font-size: 1.35em; margin-top: 0.75em; margin-bottom: 0.22em; line-height: 1.2; margin-left: 0;"><span style="display: inline-block; width: 1.08em;">•</span>Trajectories</h3>
|
| 432 |
+
<div style="margin-left: 16px;">
|
| 433 |
|
| 434 |
|
| 435 |
TODO
|
|
|
|
| 437 |
</div>
|
| 438 |
|
| 439 |
<h3 id="cameras" style="font-size: 1.35em; margin-top: 0.75em; margin-bottom: 0.22em; line-height: 1.2; margin-left: 0;"><span style="display: inline-block; width: 1.08em;">•</span>Cameras</h3>
|
| 440 |
+
<div style="margin-left: 16px;">
|
| 441 |
|
| 442 |
|
| 443 |
Each scene includes multiple camera viewpoints to support 3D perception, reconstruction, and physics-based visual reasoning tasks.
|
|
|
|
| 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: 40px;">
|
| 451 |
|
| 452 |
Per camera:
|
| 453 |
|
|
|
|
| 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: 40px;">
|
| 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.
|
|
|
|
| 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: 0;"><span style="display: inline-block; width: 1.08em;">•</span>Point Clouds</h3>
|
| 475 |
+
<div style="margin-left: 16px;">
|
| 476 |
|
| 477 |
|
| 478 |
Each scene should include `points.ply`.
|
|
|
|
| 503 |
|
| 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 |
|
| 506 |
+
<div style="margin-left: 40px;">
|
| 507 |
|
| 508 |
Please download the `assets` folder, which contains:
|
| 509 |
|
|
|
|
| 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 |
|
| 523 |
+
<div style="margin-left: 40px;">
|
| 524 |
|
| 525 |
```bash
|
| 526 |
pip install huggingface_hub tqdm
|
|
|
|
| 530 |
|
| 531 |
<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>
|
| 532 |
|
| 533 |
+
<div style="margin-left: 40px;">
|
| 534 |
|
| 535 |
The following examples show common filtering workflows.
|
| 536 |
|
|
|
|
| 538 |
|
| 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 |
|
| 541 |
+
<div style="margin-left: 64px;">
|
| 542 |
|
| 543 |
```bash
|
| 544 |
python scripts/filter_cases.py \
|
|
|
|
| 550 |
|
| 551 |
<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>
|
| 552 |
|
| 553 |
+
<div style="margin-left: 64px;">
|
| 554 |
|
| 555 |
```bash
|
| 556 |
python scripts/filter_cases.py \
|
|
|
|
| 563 |
|
| 564 |
<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>
|
| 565 |
|
| 566 |
+
<div style="margin-left: 64px;">
|
| 567 |
|
| 568 |
By default, phenomenon matching uses `contains` mode. For example, the following command selects all double-physics cases that contain `FrictionStop`:
|
| 569 |
|
|
|
|
| 591 |
|
| 592 |
<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>
|
| 593 |
|
| 594 |
+
<div style="margin-left: 64px;">
|
| 595 |
|
| 596 |
`--num` is the global number of cases sampled after filtering. The default random seed is `42`.
|
| 597 |
|
|
|
|
| 609 |
|
| 610 |
<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>
|
| 611 |
|
| 612 |
+
<div style="margin-left: 40px;">
|
| 613 |
|
| 614 |
Each selected case is downloaded as a zip file from the corresponding Hugging Face shard repository.
|
| 615 |
|