vLAR commited on
Commit
533e467
·
verified ·
1 Parent(s): 9dc3d4d

Upload README.md

Browse files
Files changed (1) hide show
  1. README.md +25 -141
README.md CHANGED
@@ -86,16 +86,6 @@ homepage: https://vlar-group.github.io/PhysInOne.html
86
  margin-bottom: 0.12em;
87
  line-height: 1.18;
88
  }
89
- .physinone-section-body {
90
- margin-left: 24px;
91
- padding-left: 0;
92
- }
93
- .physinone-section-body h3 {
94
- margin-left: 0;
95
- }
96
- .physinone-section-body h4 {
97
- margin-left: 18px;
98
- }
99
  </style>
100
 
101
  <h1 align="center" style="font-size: 42px;">PhysInOne: Visual Physics Learning and Reasoning in One Suite</h1>
@@ -193,12 +183,7 @@ homepage: https://vlar-group.github.io/PhysInOne.html
193
 
194
  <main style="min-width: 0; flex: 1; line-height: 1.38; font-size: 15px;">
195
 
196
- <a id="summary"></a>
197
-
198
- ## 📌 Summary
199
-
200
- <div class="physinone-section-body" data-section="summary">
201
-
202
 
203
  **PhysInOne** is a large-scale synthetic dataset for visual physics learning and reasoning. It contains **153,810 dynamic 3D scenes** and **2 million annotated videos**, covering **71 basic physical phenomena** across four domains of everyday physics: **mechanics**, **optics**, **fluid dynamics**, and **magnetism**.
204
 
@@ -230,12 +215,7 @@ The dataset is designed to support research on physics-aware video generation, f
230
 
231
  </div>
232
 
233
- <a id="release-timetable"></a>
234
-
235
- ## 🚀 Release Timetable
236
-
237
- <div class="physinone-section-body" data-section="release-timetable">
238
-
239
 
240
  | Component | Progress | Status | Notes |
241
  | --------------------- | ----------------------------- | ------------ | --------------------------------- |
@@ -254,27 +234,11 @@ Due to the large scale of PhysInOne, the rendered data and annotations are split
254
 
255
  For large-scale downloading and filtering, please refer to the **How to Download** section below.
256
 
257
-
258
- </div>
259
-
260
- <a id="dataset-structure"></a>
261
-
262
- ## 📦 Dataset Structure
263
-
264
- <div class="physinone-section-body" data-section="dataset-structure">
265
-
266
 
267
  TODO
268
 
269
-
270
- </div>
271
-
272
- <a id="data-splits"></a>
273
-
274
- ## 📊 Data Splits
275
-
276
- <div class="physinone-section-body" data-section="data-splits">
277
-
278
 
279
  PhysInOne is divided into three primary splits: **Train**, **Val**, and **Test**.
280
 
@@ -286,19 +250,9 @@ Each split is generated using **completely distinct 3D meshes, and backgrounds**
286
 
287
  This design guarantees that training, validation, and test sets are fully separated in terms of visual content and scene composition, providing a robust benchmark for generalization and physical reasoning tasks.
288
 
 
289
 
290
- </div>
291
-
292
- <a id="data-fields"></a>
293
-
294
- ## 🧩 Data Fields
295
-
296
- <div class="physinone-section-body" data-section="data-fields">
297
-
298
-
299
- <a id="physical-phenomena"></a>
300
-
301
- ### Physical Phenomenon and Abbreviations
302
 
303
  <details>
304
  <summary>Click to expand full abbreviation table</summary>
@@ -387,27 +341,15 @@ Example: MovingHitsStationary_WindDeflectMotion_BalloonFloat__bg140__TZlWl1
387
 
388
  This naming convention allows users to quickly parse scene metadata and link it to the corresponding physical phenomena, background, and unique identifier.
389
 
390
-
391
- </div>
392
-
393
- <a id="annotation-details"></a>
394
-
395
- ## 📝 Annotation Details
396
-
397
- <div class="physinone-section-body" data-section="annotation-details">
398
-
399
 
400
  PhysInOne provides synchronized visual and physical annotations for each dynamic 3D scene.
401
 
402
- <a id="depth"></a>
403
-
404
- ### Depth
405
 
406
  Depth maps are provided in `.npz` format and are expressed in meters.
407
 
408
- <a id="segmentation"></a>
409
-
410
- ### Segmentation
411
 
412
  Segmentation masks encode background, static foreground objects, and dynamic foreground objects.
413
 
@@ -419,21 +361,15 @@ Expected encoding:
419
  | `1-127` | Static foreground objects |
420
  | `128-255` | Dynamic foreground objects |
421
 
422
- <a id="captions"></a>
423
-
424
- ### Captions
425
 
426
  Each scene includes a `caption.txt` file containing an English paragraph that describes the visual elements and the physical activity.
427
 
428
- <a id="trajectories"></a>
429
-
430
- ### Trajectories
431
 
432
  TODO
433
 
434
- <a id="cameras"></a>
435
-
436
- ### Cameras
437
 
438
  Each scene includes multiple camera viewpoints to support 3D perception, reconstruction, and physics-based visual reasoning tasks.
439
 
@@ -453,23 +389,13 @@ Each scene includes multiple camera viewpoints to support 3D perception, reconst
453
  - The dynamic camera moves along a path randomly sampled on a hemisphere surrounding the center of the main objects, providing diverse viewpoints.
454
  - JSON frame indices correspond directly to video frame indices.
455
 
456
- <a id="point-clouds"></a>
457
-
458
- ### Point Clouds
459
 
460
  Each scene should include `points.ply`.
461
 
462
  The initial point cloud was obtained by back-projecting the pixels from each camera view in the first frame based on depth, followed by randomly sampling 100,000 points from the resulting data.
463
 
464
-
465
- </div>
466
-
467
- <a id="how-to-download"></a>
468
-
469
- ## 📥 How to Download
470
-
471
- <div class="physinone-section-body" data-section="how-to-download">
472
-
473
 
474
  PhysInOne is distributed across multiple Hugging Face dataset repositories because of its large scale. We provide two scripts for selecting and downloading cases:
475
 
@@ -483,9 +409,7 @@ The `filter_cases.py` script supports selection by:
483
  - Physical phenomenon abbreviation: `MovingHitsFixed`, `FrictionStop`, `LiquidTension`, ..., `GranularFall`
484
  - Number of cases: globally sample `num` cases after filtering
485
 
486
- <a id="download-scripts"></a>
487
-
488
- ### 1. Download Scripts
489
 
490
  Please download the `assets` folder, which contains:
491
 
@@ -498,21 +422,15 @@ scripts/
498
  download.py
499
  ```
500
 
501
- <a id="install-dependencies"></a>
502
-
503
- ### 2. Install Dependencies
504
 
505
  ```bash
506
  pip install huggingface_hub tqdm
507
  ```
508
 
509
- <a id="filter-cases"></a>
510
-
511
- ### 3. Filter Cases
512
-
513
- <a id="filter-by-split"></a>
514
 
515
- #### 3.1 Filter by split
516
 
517
  ```bash
518
  python scripts/filter_cases.py \
@@ -520,9 +438,7 @@ python scripts/filter_cases.py \
520
  --output selected_cases.json
521
  ```
522
 
523
- <a id="filter-by-split-and-activity"></a>
524
-
525
- #### 3.2 Filter by split and activity complexity
526
 
527
  ```bash
528
  python scripts/filter_cases.py \
@@ -531,9 +447,7 @@ python scripts/filter_cases.py \
531
  --output selected_cases.json
532
  ```
533
 
534
- <a id="filter-by-phenomenon"></a>
535
-
536
- #### 3.3 Filter by physical phenomenon abbreviation
537
 
538
  By default, phenomenon matching uses `contains` mode. For example, the following command selects all double-physics cases that contain `FrictionStop`:
539
 
@@ -557,9 +471,7 @@ python scripts/filter_cases.py \
557
  --output selected_cases.json
558
  ```
559
 
560
- <a id="random-sampling"></a>
561
-
562
- #### 3.4 Randomly sample a fixed number of cases
563
 
564
  `--num` is the global number of cases sampled after filtering. The default random seed is `42`.
565
 
@@ -573,9 +485,7 @@ python scripts/filter_cases.py \
573
  --output selected_cases.json
574
  ```
575
 
576
- <a id="download-selected-cases"></a>
577
-
578
- ### 4. Download Selected Cases
579
 
580
  Each selected case is downloaded as a zip file from the corresponding Hugging Face shard repository.
581
 
@@ -613,15 +523,7 @@ PhysInOne/
613
  AccelConcaveSpin_AccelSurfaceSpin__bg070__K5ER39_trajectory.zip
614
  ```
615
 
616
-
617
- </div>
618
-
619
- <a id="license"></a>
620
-
621
- ## �� License
622
-
623
- <div class="physinone-section-body" data-section="license">
624
-
625
 
626
  All 3D assets and materials included in PhysInOne have been sourced from publicly available platforms and verified to carry licenses compatible with non-commercial use. These include:
627
 
@@ -634,15 +536,7 @@ In total, assets comply with licenses including CC BY-NC, CC BY-SA, CC BY-NC-SA,
634
 
635
  > ⚠️ Note: PhysInOne is intended for **non-commercial research and educational purposes**. For commercial use, users must verify the licensing terms of individual assets.
636
 
637
-
638
- </div>
639
-
640
- <a id="citation"></a>
641
-
642
- ## 📚 Citation
643
-
644
- <div class="physinone-section-body" data-section="citation">
645
-
646
 
647
  If you use PhysInOne in your research, please cite:
648
 
@@ -655,21 +549,11 @@ If you use PhysInOne in your research, please cite:
655
  }
656
  ```
657
 
658
-
659
- </div>
660
-
661
- <a id="contact"></a>
662
-
663
- ## 📮 Contact
664
-
665
- <div class="physinone-section-body" data-section="contact">
666
-
667
 
668
  For questions about the dataset, please contact:
669
 
670
  - {siyuan.zhou, hejun.wang, hu123.cheng, jinxi.li}@connect.polyu.hk, bo.yang@polyu.edu.hk
671
 
672
- </div>
673
-
674
  </main>
675
  </div>
 
86
  margin-bottom: 0.12em;
87
  line-height: 1.18;
88
  }
 
 
 
 
 
 
 
 
 
 
89
  </style>
90
 
91
  <h1 align="center" style="font-size: 42px;">PhysInOne: Visual Physics Learning and Reasoning in One Suite</h1>
 
183
 
184
  <main style="min-width: 0; flex: 1; line-height: 1.38; font-size: 15px;">
185
 
186
+ <h2 id="summary" style="font-size: 1.9em; line-height: 1.22; margin-top: 1.2em; margin-bottom: 0.5em;">📌 Summary</h2>
 
 
 
 
 
187
 
188
  **PhysInOne** is a large-scale synthetic dataset for visual physics learning and reasoning. It contains **153,810 dynamic 3D scenes** and **2 million annotated videos**, covering **71 basic physical phenomena** across four domains of everyday physics: **mechanics**, **optics**, **fluid dynamics**, and **magnetism**.
189
 
 
215
 
216
  </div>
217
 
218
+ <h2 id="release-timetable" style="font-size: 1.9em; line-height: 1.22; margin-top: 1.2em; margin-bottom: 0.5em;">🚀 Release Timetable</h2>
 
 
 
 
 
219
 
220
  | Component | Progress | Status | Notes |
221
  | --------------------- | ----------------------------- | ------------ | --------------------------------- |
 
234
 
235
  For large-scale downloading and filtering, please refer to the **How to Download** section below.
236
 
237
+ <h2 id="dataset-structure" style="font-size: 1.9em; line-height: 1.22; margin-top: 1.2em; margin-bottom: 0.5em;">📦 Dataset Structure</h2>
 
 
 
 
 
 
 
 
238
 
239
  TODO
240
 
241
+ <h2 id="data-splits" style="font-size: 1.9em; line-height: 1.22; margin-top: 1.2em; margin-bottom: 0.5em;">📊 Data Splits</h2>
 
 
 
 
 
 
 
 
242
 
243
  PhysInOne is divided into three primary splits: **Train**, **Val**, and **Test**.
244
 
 
250
 
251
  This design guarantees that training, validation, and test sets are fully separated in terms of visual content and scene composition, providing a robust benchmark for generalization and physical reasoning tasks.
252
 
253
+ <h2 id="data-fields" style="font-size: 1.9em; line-height: 1.22; margin-top: 1.2em; margin-bottom: 0.5em;">🧩 Data Fields</h2>
254
 
255
+ <h3 id="physical-phenomena" style="font-size: 1.35em; margin-top: 0.75em; margin-bottom: 0.22em; line-height: 1.2; margin-left: 24px;">Physical Phenomenon and Abbreviations</h3>
 
 
 
 
 
 
 
 
 
 
 
256
 
257
  <details>
258
  <summary>Click to expand full abbreviation table</summary>
 
341
 
342
  This naming convention allows users to quickly parse scene metadata and link it to the corresponding physical phenomena, background, and unique identifier.
343
 
344
+ <h2 id="annotation-details" style="font-size: 1.9em; line-height: 1.22; margin-top: 1.2em; margin-bottom: 0.5em;">📝 Annotation Details</h2>
 
 
 
 
 
 
 
 
345
 
346
  PhysInOne provides synchronized visual and physical annotations for each dynamic 3D scene.
347
 
348
+ <h3 id="depth" style="font-size: 1.35em; margin-top: 0.75em; margin-bottom: 0.22em; line-height: 1.2; margin-left: 24px;">Depth</h3>
 
 
349
 
350
  Depth maps are provided in `.npz` format and are expressed in meters.
351
 
352
+ <h3 id="segmentation" style="font-size: 1.35em; margin-top: 0.75em; margin-bottom: 0.22em; line-height: 1.2; margin-left: 24px;">Segmentation</h3>
 
 
353
 
354
  Segmentation masks encode background, static foreground objects, and dynamic foreground objects.
355
 
 
361
  | `1-127` | Static foreground objects |
362
  | `128-255` | Dynamic foreground objects |
363
 
364
+ <h3 id="captions" style="font-size: 1.35em; margin-top: 0.75em; margin-bottom: 0.22em; line-height: 1.2; margin-left: 24px;">Captions</h3>
 
 
365
 
366
  Each scene includes a `caption.txt` file containing an English paragraph that describes the visual elements and the physical activity.
367
 
368
+ <h3 id="trajectories" style="font-size: 1.35em; margin-top: 0.75em; margin-bottom: 0.22em; line-height: 1.2; margin-left: 24px;">Trajectories</h3>
 
 
369
 
370
  TODO
371
 
372
+ <h3 id="cameras" style="font-size: 1.35em; margin-top: 0.75em; margin-bottom: 0.22em; line-height: 1.2; margin-left: 24px;">Cameras</h3>
 
 
373
 
374
  Each scene includes multiple camera viewpoints to support 3D perception, reconstruction, and physics-based visual reasoning tasks.
375
 
 
389
  - The dynamic camera moves along a path randomly sampled on a hemisphere surrounding the center of the main objects, providing diverse viewpoints.
390
  - JSON frame indices correspond directly to video frame indices.
391
 
392
+ <h3 id="point-clouds" style="font-size: 1.35em; margin-top: 0.75em; margin-bottom: 0.22em; line-height: 1.2; margin-left: 24px;">Point Clouds</h3>
 
 
393
 
394
  Each scene should include `points.ply`.
395
 
396
  The initial point cloud was obtained by back-projecting the pixels from each camera view in the first frame based on depth, followed by randomly sampling 100,000 points from the resulting data.
397
 
398
+ <h2 id="how-to-download" style="font-size: 1.9em; line-height: 1.22; margin-top: 1.2em; margin-bottom: 0.5em;">📥 How to Download</h2>
 
 
 
 
 
 
 
 
399
 
400
  PhysInOne is distributed across multiple Hugging Face dataset repositories because of its large scale. We provide two scripts for selecting and downloading cases:
401
 
 
409
  - Physical phenomenon abbreviation: `MovingHitsFixed`, `FrictionStop`, `LiquidTension`, ..., `GranularFall`
410
  - Number of cases: globally sample `num` cases after filtering
411
 
412
+ <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>
 
 
413
 
414
  Please download the `assets` folder, which contains:
415
 
 
422
  download.py
423
  ```
424
 
425
+ <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>
 
 
426
 
427
  ```bash
428
  pip install huggingface_hub tqdm
429
  ```
430
 
431
+ <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>
 
 
 
 
432
 
433
+ <h4 id="filter-by-split" style="font-size: 1.12em; margin-top: 0.55em; margin-bottom: 0.14em; line-height: 1.18; margin-left: 42px;">3.1 Filter by split</h4>
434
 
435
  ```bash
436
  python scripts/filter_cases.py \
 
438
  --output selected_cases.json
439
  ```
440
 
441
+ <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: 42px;">3.2 Filter by split and activity complexity</h4>
 
 
442
 
443
  ```bash
444
  python scripts/filter_cases.py \
 
447
  --output selected_cases.json
448
  ```
449
 
450
+ <h4 id="filter-by-phenomenon" style="font-size: 1.12em; margin-top: 0.55em; margin-bottom: 0.14em; line-height: 1.18; margin-left: 42px;">3.3 Filter by physical phenomenon abbreviation</h4>
 
 
451
 
452
  By default, phenomenon matching uses `contains` mode. For example, the following command selects all double-physics cases that contain `FrictionStop`:
453
 
 
471
  --output selected_cases.json
472
  ```
473
 
474
+ <h4 id="random-sampling" style="font-size: 1.12em; margin-top: 0.55em; margin-bottom: 0.14em; line-height: 1.18; margin-left: 42px;">3.4 Randomly sample a fixed number of cases</h4>
 
 
475
 
476
  `--num` is the global number of cases sampled after filtering. The default random seed is `42`.
477
 
 
485
  --output selected_cases.json
486
  ```
487
 
488
+ <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>
 
 
489
 
490
  Each selected case is downloaded as a zip file from the corresponding Hugging Face shard repository.
491
 
 
523
  AccelConcaveSpin_AccelSurfaceSpin__bg070__K5ER39_trajectory.zip
524
  ```
525
 
526
+ <h2 id="license" style="font-size: 1.9em; line-height: 1.22; margin-top: 1.2em; margin-bottom: 0.5em;">📜 License</h2>
 
 
 
 
 
 
 
 
527
 
528
  All 3D assets and materials included in PhysInOne have been sourced from publicly available platforms and verified to carry licenses compatible with non-commercial use. These include:
529
 
 
536
 
537
  > ⚠️ Note: PhysInOne is intended for **non-commercial research and educational purposes**. For commercial use, users must verify the licensing terms of individual assets.
538
 
539
+ <h2 id="citation" style="font-size: 1.9em; line-height: 1.22; margin-top: 1.2em; margin-bottom: 0.5em;">📚 Citation</h2>
 
 
 
 
 
 
 
 
540
 
541
  If you use PhysInOne in your research, please cite:
542
 
 
549
  }
550
  ```
551
 
552
+ <h2 id="contact" style="font-size: 1.9em; line-height: 1.22; margin-top: 1.2em; margin-bottom: 0.5em;">📮 Contact</h2>
 
 
 
 
 
 
 
 
553
 
554
  For questions about the dataset, please contact:
555
 
556
  - {siyuan.zhou, hejun.wang, hu123.cheng, jinxi.li}@connect.polyu.hk, bo.yang@polyu.edu.hk
557
 
 
 
558
  </main>
559
  </div>