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

Upload README.md

Browse files
Files changed (1) hide show
  1. README.md +35 -9
README.md CHANGED
@@ -94,6 +94,12 @@ homepage: https://vlar-group.github.io/PhysInOne.html
94
  line-height: 1.16;
95
  font-weight: 700;
96
  }
 
 
 
 
 
 
97
  </style>
98
 
99
  <h1 align="center" style="font-size: 42px;">PhysInOne: Visual Physics Learning and Reasoning in One Suite</h1>
@@ -280,7 +286,7 @@ This design guarantees that training, validation, and test sets are fully separa
280
  <div style="margin-left: 24px;">
281
 
282
 
283
- <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.35em;">&bull;</span>Physical Phenomenon and Abbreviations</h3>
284
  <div style="margin-left: 24px;">
285
 
286
 
@@ -381,7 +387,7 @@ This naming convention allows users to quickly parse scene metadata and link it
381
 
382
  PhysInOne provides synchronized visual and physical annotations for each dynamic 3D scene.
383
 
384
- <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.35em;">&bull;</span>Depth</h3>
385
  <div style="margin-left: 24px;">
386
 
387
 
@@ -389,7 +395,7 @@ Depth maps are provided in `.npz` format and are expressed in meters.
389
 
390
  </div>
391
 
392
- <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.35em;">&bull;</span>Segmentation</h3>
393
  <div style="margin-left: 24px;">
394
 
395
 
@@ -405,7 +411,7 @@ Expected encoding:
405
 
406
  </div>
407
 
408
- <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.35em;">&bull;</span>Captions</h3>
409
  <div style="margin-left: 24px;">
410
 
411
 
@@ -413,7 +419,7 @@ Each scene includes a `caption.txt` file containing an English paragraph that de
413
 
414
  </div>
415
 
416
- <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.35em;">&bull;</span>Trajectories</h3>
417
  <div style="margin-left: 24px;">
418
 
419
 
@@ -421,7 +427,7 @@ TODO
421
 
422
  </div>
423
 
424
- <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.35em;">&bull;</span>Cameras</h3>
425
  <div style="margin-left: 24px;">
426
 
427
 
@@ -430,7 +436,7 @@ Each scene includes multiple camera viewpoints to support 3D perception, reconst
430
  - Taichi-based MPM simulations (elastic solids, plasticine, granular substances, some Newtonian and Non-Newtonian fluids): 15 static cameras + 1 dynamic camera
431
  - Other scenes: 12 static cameras + 1 dynamic camera
432
 
433
- <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.25em;">&#9702;</span>Camera JSON structure</h5>
434
 
435
  <div style="margin-left: 18px;">
436
 
@@ -444,7 +450,7 @@ Per camera:
444
 
445
  </div>
446
 
447
- <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.25em;">&#9702;</span>Dynamic camera behavior</h5>
448
 
449
  <div style="margin-left: 18px;">
450
 
@@ -453,7 +459,7 @@ Per camera:
453
 
454
  </div>
455
 
456
- <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.35em;">&bull;</span>Point Clouds</h3>
457
  <div style="margin-left: 24px;">
458
 
459
 
@@ -487,6 +493,7 @@ The `filter_cases.py` script supports selection by:
487
 
488
  Please download the `assets` folder, which contains:
489
 
 
490
  ```text
491
  metadata/
492
  repo_assignment.txt
@@ -495,6 +502,7 @@ scripts/
495
  filter_cases.py
496
  download.py
497
  ```
 
498
 
499
  </div>
500
 
@@ -502,9 +510,11 @@ scripts/
502
  <div style="margin-left: 24px;">
503
 
504
 
 
505
  ```bash
506
  pip install huggingface_hub tqdm
507
  ```
 
508
 
509
  </div>
510
 
@@ -545,6 +555,7 @@ python scripts/filter_cases.py \
545
 
546
  By default, phenomenon matching uses `contains` mode. For example, the following command selects all double-physics cases that contain `FrictionStop`:
547
 
 
548
  ```bash
549
  python scripts/filter_cases.py \
550
  --split train \
@@ -553,9 +564,11 @@ python scripts/filter_cases.py \
553
  --match_mode contains \
554
  --output selected_cases.json
555
  ```
 
556
 
557
  For exact matching, use `--match_mode exact`. Order does not matter. For example, this command selects cases whose phenomenon set is exactly `{AccelConcaveSpin, AccelSurfaceSpin}`:
558
 
 
559
  ```bash
560
  python scripts/filter_cases.py \
561
  --split train \
@@ -564,6 +577,7 @@ python scripts/filter_cases.py \
564
  --match_mode exact \
565
  --output selected_cases.json
566
  ```
 
567
 
568
  <div style="margin-left: 24px;" data-subsection="random-sampling">
569
 
@@ -574,6 +588,7 @@ python scripts/filter_cases.py \
574
 
575
  `--num` is the global number of cases sampled after filtering. The default random seed is `42`.
576
 
 
577
  ```bash
578
  python scripts/filter_cases.py \
579
  --split train \
@@ -583,6 +598,7 @@ python scripts/filter_cases.py \
583
  --seed 42 \
584
  --output selected_cases.json
585
  ```
 
586
 
587
  </div>
588
 
@@ -595,32 +611,39 @@ python scripts/filter_cases.py \
595
 
596
  Each selected case is downloaded as a zip file from the corresponding Hugging Face shard repository.
597
 
 
598
  ```bash
599
  python scripts/download.py \
600
  --selection selected_cases.json \
601
  --output_dir ./PhysInOne
602
  ```
 
603
 
604
  If the dataset repositories are gated or private, pass a Hugging Face token:
605
 
 
606
  ```bash
607
  python scripts/download.py \
608
  --selection selected_cases.json \
609
  --output_dir ./PhysInOne \
610
  --token YOUR_HF_TOKEN
611
  ```
 
612
 
613
  By default, downloaded zip files are saved into a flat output folder. To preserve shard/split/activity structure:
614
 
 
615
  ```bash
616
  python scripts/download.py \
617
  --selection selected_cases.json \
618
  --output_dir ./PhysInOne \
619
  --keep_shard_structure
620
  ```
 
621
 
622
  The preserved structure is:
623
 
 
624
  ```text
625
  PhysInOne/
626
  physinone_part1/
@@ -628,6 +651,7 @@ PhysInOne/
628
  DoublePhysics/
629
  AccelConcaveSpin_AccelSurfaceSpin__bg070__K5ER39_trajectory.zip
630
  ```
 
631
 
632
  </div>
633
 
@@ -656,6 +680,7 @@ In total, assets comply with licenses including CC BY-NC, CC BY-SA, CC BY-NC-SA,
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,6 +689,7 @@ If you use PhysInOne in your research, please cite:
664
  year={2026}
665
  }
666
  ```
 
667
 
668
  </div>
669
 
 
94
  line-height: 1.16;
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
 
105
  <h1 align="center" style="font-size: 42px;">PhysInOne: Visual Physics Learning and Reasoning in One Suite</h1>
 
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
 
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
 
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
 
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
 
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
 
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
  - 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
 
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
 
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
 
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
  filter_cases.py
503
  download.py
504
  ```
505
+ </div>
506
 
507
  </div>
508
 
 
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
 
 
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
  --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
  --match_mode exact \
578
  --output selected_cases.json
579
  ```
580
+ </div>
581
 
582
  <div style="margin-left: 24px;" data-subsection="random-sampling">
583
 
 
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
  --seed 42 \
599
  --output selected_cases.json
600
  ```
601
+ </div>
602
 
603
  </div>
604
 
 
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
  DoublePhysics/
652
  AccelConcaveSpin_AccelSurfaceSpin__bg070__K5ER39_trajectory.zip
653
  ```
654
+ </div>
655
 
656
  </div>
657
 
 
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
  year={2026}
690
  }
691
  ```
692
+ </div>
693
 
694
  </div>
695