vLAR commited on
Commit
0aa4f97
·
verified ·
1 Parent(s): ee82cbb

Upload README.md

Browse files
Files changed (1) hide show
  1. README.md +11 -38
README.md CHANGED
@@ -95,10 +95,10 @@ homepage: https://vlar-group.github.io/PhysInOne.html
95
  font-weight: 700;
96
  }
97
  .physinone-card pre {
98
- margin-top: 0.25em;
99
  }
100
  .physinone-card p + pre {
101
- margin-top: 0.15em;
102
  }
103
  </style>
104
 
@@ -286,7 +286,7 @@ This design guarantees that training, validation, and test sets are fully separa
286
  <div style="margin-left: 24px;">
287
 
288
 
289
- <h3 id="physical-phenomena" 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.18em;">&bull;</span>Physical Phenomenon and Abbreviations</h3>
290
  <div style="margin-left: 24px;">
291
 
292
 
@@ -387,7 +387,7 @@ This naming convention allows users to quickly parse scene metadata and link it
387
 
388
  PhysInOne provides synchronized visual and physical annotations for each dynamic 3D scene.
389
 
390
- <h3 id="depth" 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.18em;">&bull;</span>Depth</h3>
391
  <div style="margin-left: 24px;">
392
 
393
 
@@ -395,7 +395,7 @@ Depth maps are provided in `.npz` format and are expressed in meters.
395
 
396
  </div>
397
 
398
- <h3 id="segmentation" 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.18em;">&bull;</span>Segmentation</h3>
399
  <div style="margin-left: 24px;">
400
 
401
 
@@ -411,7 +411,7 @@ Expected encoding:
411
 
412
  </div>
413
 
414
- <h3 id="captions" 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.18em;">&bull;</span>Captions</h3>
415
  <div style="margin-left: 24px;">
416
 
417
 
@@ -419,7 +419,7 @@ Each scene includes a `caption.txt` file containing an English paragraph that de
419
 
420
  </div>
421
 
422
- <h3 id="trajectories" 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.18em;">&bull;</span>Trajectories</h3>
423
  <div style="margin-left: 24px;">
424
 
425
 
@@ -427,7 +427,7 @@ TODO
427
 
428
  </div>
429
 
430
- <h3 id="cameras" 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.18em;">&bull;</span>Cameras</h3>
431
  <div style="margin-left: 24px;">
432
 
433
 
@@ -436,7 +436,7 @@ Each scene includes multiple camera viewpoints to support 3D perception, reconst
436
  - Taichi-based MPM simulations (elastic solids, plasticine, granular substances, some Newtonian and Non-Newtonian fluids): 15 static cameras + 1 dynamic camera
437
  - Other scenes: 12 static cameras + 1 dynamic camera
438
 
439
- <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: 0;"><span style="display: inline-block; width: 1.10em;">&#9702;</span>Camera JSON structure</h5>
440
 
441
  <div style="margin-left: 18px;">
442
 
@@ -450,7 +450,7 @@ Per camera:
450
 
451
  </div>
452
 
453
- <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: 0;"><span style="display: inline-block; width: 1.10em;">&#9702;</span>Dynamic camera behavior</h5>
454
 
455
  <div style="margin-left: 18px;">
456
 
@@ -459,7 +459,7 @@ Per camera:
459
 
460
  </div>
461
 
462
- <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.18em;">&bull;</span>Point Clouds</h3>
463
  <div style="margin-left: 24px;">
464
 
465
 
@@ -493,7 +493,6 @@ The `filter_cases.py` script supports selection by:
493
 
494
  Please download the `assets` folder, which contains:
495
 
496
- <div style="margin-top: -0.35em;">
497
  ```text
498
  metadata/
499
  repo_assignment.txt
@@ -502,21 +501,16 @@ scripts/
502
  filter_cases.py
503
  download.py
504
  ```
505
- </div>
506
 
507
- </div>
508
 
509
  <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>
510
  <div style="margin-left: 24px;">
511
 
512
 
513
- <div style="margin-top: -0.35em;">
514
  ```bash
515
  pip install huggingface_hub tqdm
516
  ```
517
- </div>
518
 
519
- </div>
520
 
521
  <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>
522
  <div style="margin-left: 24px;">
@@ -555,7 +549,6 @@ python scripts/filter_cases.py \
555
 
556
  By default, phenomenon matching uses `contains` mode. For example, the following command selects all double-physics cases that contain `FrictionStop`:
557
 
558
- <div style="margin-top: -0.35em;">
559
  ```bash
560
  python scripts/filter_cases.py \
561
  --split train \
@@ -564,11 +557,9 @@ python scripts/filter_cases.py \
564
  --match_mode contains \
565
  --output selected_cases.json
566
  ```
567
- </div>
568
 
569
  For exact matching, use `--match_mode exact`. Order does not matter. For example, this command selects cases whose phenomenon set is exactly `{AccelConcaveSpin, AccelSurfaceSpin}`:
570
 
571
- <div style="margin-top: -0.35em;">
572
  ```bash
573
  python scripts/filter_cases.py \
574
  --split train \
@@ -577,7 +568,6 @@ python scripts/filter_cases.py \
577
  --match_mode exact \
578
  --output selected_cases.json
579
  ```
580
- </div>
581
 
582
  <div style="margin-left: 24px;" data-subsection="random-sampling">
583
 
@@ -588,7 +578,6 @@ python scripts/filter_cases.py \
588
 
589
  `--num` is the global number of cases sampled after filtering. The default random seed is `42`.
590
 
591
- <div style="margin-top: -0.35em;">
592
  ```bash
593
  python scripts/filter_cases.py \
594
  --split train \
@@ -598,12 +587,9 @@ python scripts/filter_cases.py \
598
  --seed 42 \
599
  --output selected_cases.json
600
  ```
601
- </div>
602
 
603
- </div>
604
 
605
 
606
- </div>
607
 
608
  <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>
609
  <div style="margin-left: 24px;">
@@ -611,39 +597,32 @@ python scripts/filter_cases.py \
611
 
612
  Each selected case is downloaded as a zip file from the corresponding Hugging Face shard repository.
613
 
614
- <div style="margin-top: -0.35em;">
615
  ```bash
616
  python scripts/download.py \
617
  --selection selected_cases.json \
618
  --output_dir ./PhysInOne
619
  ```
620
- </div>
621
 
622
  If the dataset repositories are gated or private, pass a Hugging Face token:
623
 
624
- <div style="margin-top: -0.35em;">
625
  ```bash
626
  python scripts/download.py \
627
  --selection selected_cases.json \
628
  --output_dir ./PhysInOne \
629
  --token YOUR_HF_TOKEN
630
  ```
631
- </div>
632
 
633
  By default, downloaded zip files are saved into a flat output folder. To preserve shard/split/activity structure:
634
 
635
- <div style="margin-top: -0.35em;">
636
  ```bash
637
  python scripts/download.py \
638
  --selection selected_cases.json \
639
  --output_dir ./PhysInOne \
640
  --keep_shard_structure
641
  ```
642
- </div>
643
 
644
  The preserved structure is:
645
 
646
- <div style="margin-top: -0.35em;">
647
  ```text
648
  PhysInOne/
649
  physinone_part1/
@@ -651,11 +630,8 @@ PhysInOne/
651
  DoublePhysics/
652
  AccelConcaveSpin_AccelSurfaceSpin__bg070__K5ER39_trajectory.zip
653
  ```
654
- </div>
655
 
656
- </div>
657
 
658
- </div>
659
 
660
  <h2 id="license" style="font-size: 1.9em; line-height: 1.22; margin-top: 1.2em; margin-bottom: 0.5em;">📜 License</h2>
661
  <div style="margin-left: 24px;">
@@ -680,7 +656,6 @@ In total, assets comply with licenses including CC BY-NC, CC BY-SA, CC BY-NC-SA,
680
 
681
  If you use PhysInOne in your research, please cite:
682
 
683
- <div style="margin-top: -0.35em;">
684
  ```bibtex
685
  @article{zhou2026physinone,
686
  title={PhysInOne: Visual Physics Learning and Reasoning in One Suite},
@@ -689,9 +664,7 @@ If you use PhysInOne in your research, please cite:
689
  year={2026}
690
  }
691
  ```
692
- </div>
693
 
694
- </div>
695
 
696
  <h2 id="contact" style="font-size: 1.9em; line-height: 1.22; margin-top: 1.2em; margin-bottom: 0.5em;">📮 Contact</h2>
697
  <div style="margin-left: 24px;">
 
95
  font-weight: 700;
96
  }
97
  .physinone-card pre {
98
+ margin-top: 0.1em;
99
  }
100
  .physinone-card p + pre {
101
+ margin-top: 0.05em;
102
  }
103
  </style>
104
 
 
286
  <div style="margin-left: 24px;">
287
 
288
 
289
+ <h3 id="physical-phenomena" 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;">&bull;</span>Physical Phenomenon and Abbreviations</h3>
290
  <div style="margin-left: 24px;">
291
 
292
 
 
387
 
388
  PhysInOne provides synchronized visual and physical annotations for each dynamic 3D scene.
389
 
390
+ <h3 id="depth" 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;">&bull;</span>Depth</h3>
391
  <div style="margin-left: 24px;">
392
 
393
 
 
395
 
396
  </div>
397
 
398
+ <h3 id="segmentation" 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;">&bull;</span>Segmentation</h3>
399
  <div style="margin-left: 24px;">
400
 
401
 
 
411
 
412
  </div>
413
 
414
+ <h3 id="captions" 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;">&bull;</span>Captions</h3>
415
  <div style="margin-left: 24px;">
416
 
417
 
 
419
 
420
  </div>
421
 
422
+ <h3 id="trajectories" 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;">&bull;</span>Trajectories</h3>
423
  <div style="margin-left: 24px;">
424
 
425
 
 
427
 
428
  </div>
429
 
430
+ <h3 id="cameras" 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;">&bull;</span>Cameras</h3>
431
  <div style="margin-left: 24px;">
432
 
433
 
 
436
  - Taichi-based MPM simulations (elastic solids, plasticine, granular substances, some Newtonian and Non-Newtonian fluids): 15 static cameras + 1 dynamic camera
437
  - Other scenes: 12 static cameras + 1 dynamic camera
438
 
439
+ <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: 0;"><span style="display: inline-block; width: 1.02em;">&#9702;</span>Camera JSON structure</h5>
440
 
441
  <div style="margin-left: 18px;">
442
 
 
450
 
451
  </div>
452
 
453
+ <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: 0;"><span style="display: inline-block; width: 1.02em;">&#9702;</span>Dynamic camera behavior</h5>
454
 
455
  <div style="margin-left: 18px;">
456
 
 
459
 
460
  </div>
461
 
462
+ <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;">&bull;</span>Point Clouds</h3>
463
  <div style="margin-left: 24px;">
464
 
465
 
 
493
 
494
  Please download the `assets` folder, which contains:
495
 
 
496
  ```text
497
  metadata/
498
  repo_assignment.txt
 
501
  filter_cases.py
502
  download.py
503
  ```
 
504
 
 
505
 
506
  <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>
507
  <div style="margin-left: 24px;">
508
 
509
 
 
510
  ```bash
511
  pip install huggingface_hub tqdm
512
  ```
 
513
 
 
514
 
515
  <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>
516
  <div style="margin-left: 24px;">
 
549
 
550
  By default, phenomenon matching uses `contains` mode. For example, the following command selects all double-physics cases that contain `FrictionStop`:
551
 
 
552
  ```bash
553
  python scripts/filter_cases.py \
554
  --split train \
 
557
  --match_mode contains \
558
  --output selected_cases.json
559
  ```
 
560
 
561
  For exact matching, use `--match_mode exact`. Order does not matter. For example, this command selects cases whose phenomenon set is exactly `{AccelConcaveSpin, AccelSurfaceSpin}`:
562
 
 
563
  ```bash
564
  python scripts/filter_cases.py \
565
  --split train \
 
568
  --match_mode exact \
569
  --output selected_cases.json
570
  ```
 
571
 
572
  <div style="margin-left: 24px;" data-subsection="random-sampling">
573
 
 
578
 
579
  `--num` is the global number of cases sampled after filtering. The default random seed is `42`.
580
 
 
581
  ```bash
582
  python scripts/filter_cases.py \
583
  --split train \
 
587
  --seed 42 \
588
  --output selected_cases.json
589
  ```
 
590
 
 
591
 
592
 
 
593
 
594
  <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>
595
  <div style="margin-left: 24px;">
 
597
 
598
  Each selected case is downloaded as a zip file from the corresponding Hugging Face shard repository.
599
 
 
600
  ```bash
601
  python scripts/download.py \
602
  --selection selected_cases.json \
603
  --output_dir ./PhysInOne
604
  ```
 
605
 
606
  If the dataset repositories are gated or private, pass a Hugging Face token:
607
 
 
608
  ```bash
609
  python scripts/download.py \
610
  --selection selected_cases.json \
611
  --output_dir ./PhysInOne \
612
  --token YOUR_HF_TOKEN
613
  ```
 
614
 
615
  By default, downloaded zip files are saved into a flat output folder. To preserve shard/split/activity structure:
616
 
 
617
  ```bash
618
  python scripts/download.py \
619
  --selection selected_cases.json \
620
  --output_dir ./PhysInOne \
621
  --keep_shard_structure
622
  ```
 
623
 
624
  The preserved structure is:
625
 
 
626
  ```text
627
  PhysInOne/
628
  physinone_part1/
 
630
  DoublePhysics/
631
  AccelConcaveSpin_AccelSurfaceSpin__bg070__K5ER39_trajectory.zip
632
  ```
 
633
 
 
634
 
 
635
 
636
  <h2 id="license" style="font-size: 1.9em; line-height: 1.22; margin-top: 1.2em; margin-bottom: 0.5em;">📜 License</h2>
637
  <div style="margin-left: 24px;">
 
656
 
657
  If you use PhysInOne in your research, please cite:
658
 
 
659
  ```bibtex
660
  @article{zhou2026physinone,
661
  title={PhysInOne: Visual Physics Learning and Reasoning in One Suite},
 
664
  year={2026}
665
  }
666
  ```
 
667
 
 
668
 
669
  <h2 id="contact" style="font-size: 1.9em; line-height: 1.22; margin-top: 1.2em; margin-bottom: 0.5em;">📮 Contact</h2>
670
  <div style="margin-left: 24px;">