vLAR commited on
Commit
6b70bf9
ยท
verified ยท
1 Parent(s): 533e467

Upload README.md

Browse files
Files changed (1) hide show
  1. README.md +100 -0
README.md CHANGED
@@ -184,6 +184,8 @@ homepage: https://vlar-group.github.io/PhysInOne.html
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,7 +217,11 @@ The dataset is designed to support research on physics-aware video generation, f
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,11 +240,19 @@ Due to the large scale of PhysInOne, the rendered data and annotations are split
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,9 +264,15 @@ Each split is generated using **completely distinct 3D meshes, and backgrounds**
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,15 +361,27 @@ Example: MovingHitsStationary_WindDeflectMotion_BalloonFloat__bg140__TZlWl1
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,15 +393,27 @@ Expected encoding:
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,13 +433,23 @@ Each scene includes multiple camera viewpoints to support 3D perception, reconst
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
 
@@ -410,6 +464,8 @@ The `filter_cases.py` script supports selection by:
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,15 +478,25 @@ scripts/
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,7 +504,11 @@ 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,7 +517,11 @@ 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,7 +545,11 @@ python scripts/filter_cases.py \
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,7 +563,13 @@ python scripts/filter_cases.py \
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,7 +607,13 @@ PhysInOne/
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,7 +626,11 @@ In total, assets comply with licenses including CC BY-NC, CC BY-SA, CC BY-NC-SA,
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,11 +643,17 @@ If you use PhysInOne in your research, please cite:
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>
 
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
+ <div style="margin-left: 24px;">
188
+
189
 
190
  **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**.
191
 
 
217
 
218
  </div>
219
 
220
+ </div>
221
+
222
  <h2 id="release-timetable" style="font-size: 1.9em; line-height: 1.22; margin-top: 1.2em; margin-bottom: 0.5em;">๐Ÿš€ Release Timetable</h2>
223
+ <div style="margin-left: 24px;">
224
+
225
 
226
  | Component | Progress | Status | Notes |
227
  | --------------------- | ----------------------------- | ------------ | --------------------------------- |
 
240
 
241
  For large-scale downloading and filtering, please refer to the **How to Download** section below.
242
 
243
+ </div>
244
+
245
  <h2 id="dataset-structure" style="font-size: 1.9em; line-height: 1.22; margin-top: 1.2em; margin-bottom: 0.5em;">๐Ÿ“ฆ Dataset Structure</h2>
246
+ <div style="margin-left: 24px;">
247
+
248
 
249
  TODO
250
 
251
+ </div>
252
+
253
  <h2 id="data-splits" style="font-size: 1.9em; line-height: 1.22; margin-top: 1.2em; margin-bottom: 0.5em;">๐Ÿ“Š Data Splits</h2>
254
+ <div style="margin-left: 24px;">
255
+
256
 
257
  PhysInOne is divided into three primary splits: **Train**, **Val**, and **Test**.
258
 
 
264
 
265
  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.
266
 
267
+ </div>
268
+
269
  <h2 id="data-fields" style="font-size: 1.9em; line-height: 1.22; margin-top: 1.2em; margin-bottom: 0.5em;">๐Ÿงฉ Data Fields</h2>
270
+ <div style="margin-left: 24px;">
271
+
272
 
273
  <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>
274
+ <div style="margin-left: 24px;">
275
+
276
 
277
  <details>
278
  <summary>Click to expand full abbreviation table</summary>
 
361
 
362
  This naming convention allows users to quickly parse scene metadata and link it to the corresponding physical phenomena, background, and unique identifier.
363
 
364
+ </div>
365
+
366
+ </div>
367
+
368
  <h2 id="annotation-details" style="font-size: 1.9em; line-height: 1.22; margin-top: 1.2em; margin-bottom: 0.5em;">๐Ÿ“ Annotation Details</h2>
369
+ <div style="margin-left: 24px;">
370
+
371
 
372
  PhysInOne provides synchronized visual and physical annotations for each dynamic 3D scene.
373
 
374
  <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>
375
+ <div style="margin-left: 24px;">
376
+
377
 
378
  Depth maps are provided in `.npz` format and are expressed in meters.
379
 
380
+ </div>
381
+
382
  <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>
383
+ <div style="margin-left: 24px;">
384
+
385
 
386
  Segmentation masks encode background, static foreground objects, and dynamic foreground objects.
387
 
 
393
  | `1-127` | Static foreground objects |
394
  | `128-255` | Dynamic foreground objects |
395
 
396
+ </div>
397
+
398
  <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>
399
+ <div style="margin-left: 24px;">
400
+
401
 
402
  Each scene includes a `caption.txt` file containing an English paragraph that describes the visual elements and the physical activity.
403
 
404
+ </div>
405
+
406
  <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>
407
+ <div style="margin-left: 24px;">
408
+
409
 
410
  TODO
411
 
412
+ </div>
413
+
414
  <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>
415
+ <div style="margin-left: 24px;">
416
+
417
 
418
  Each scene includes multiple camera viewpoints to support 3D perception, reconstruction, and physics-based visual reasoning tasks.
419
 
 
433
  - The dynamic camera moves along a path randomly sampled on a hemisphere surrounding the center of the main objects, providing diverse viewpoints.
434
  - JSON frame indices correspond directly to video frame indices.
435
 
436
+ </div>
437
+
438
  <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>
439
+ <div style="margin-left: 24px;">
440
+
441
 
442
  Each scene should include `points.ply`.
443
 
444
  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.
445
 
446
+ </div>
447
+
448
+ </div>
449
+
450
  <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>
451
+ <div style="margin-left: 24px;">
452
+
453
 
454
  PhysInOne is distributed across multiple Hugging Face dataset repositories because of its large scale. We provide two scripts for selecting and downloading cases:
455
 
 
464
  - Number of cases: globally sample `num` cases after filtering
465
 
466
  <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>
467
+ <div style="margin-left: 24px;">
468
+
469
 
470
  Please download the `assets` folder, which contains:
471
 
 
478
  download.py
479
  ```
480
 
481
+ </div>
482
+
483
  <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>
484
+ <div style="margin-left: 24px;">
485
+
486
 
487
  ```bash
488
  pip install huggingface_hub tqdm
489
  ```
490
 
491
+ </div>
492
+
493
  <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>
494
+ <div style="margin-left: 24px;">
495
+
496
 
497
  <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>
498
+ <div style="margin-left: 24px;">
499
+
500
 
501
  ```bash
502
  python scripts/filter_cases.py \
 
504
  --output selected_cases.json
505
  ```
506
 
507
+ </div>
508
+
509
  <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>
510
+ <div style="margin-left: 24px;">
511
+
512
 
513
  ```bash
514
  python scripts/filter_cases.py \
 
517
  --output selected_cases.json
518
  ```
519
 
520
+ </div>
521
+
522
  <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>
523
+ <div style="margin-left: 24px;">
524
+
525
 
526
  By default, phenomenon matching uses `contains` mode. For example, the following command selects all double-physics cases that contain `FrictionStop`:
527
 
 
545
  --output selected_cases.json
546
  ```
547
 
548
+ </div>
549
+
550
  <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>
551
+ <div style="margin-left: 24px;">
552
+
553
 
554
  `--num` is the global number of cases sampled after filtering. The default random seed is `42`.
555
 
 
563
  --output selected_cases.json
564
  ```
565
 
566
+ </div>
567
+
568
+ </div>
569
+
570
  <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>
571
+ <div style="margin-left: 24px;">
572
+
573
 
574
  Each selected case is downloaded as a zip file from the corresponding Hugging Face shard repository.
575
 
 
607
  AccelConcaveSpin_AccelSurfaceSpin__bg070__K5ER39_trajectory.zip
608
  ```
609
 
610
+ </div>
611
+
612
+ </div>
613
+
614
  <h2 id="license" style="font-size: 1.9em; line-height: 1.22; margin-top: 1.2em; margin-bottom: 0.5em;">๐Ÿ“œ License</h2>
615
+ <div style="margin-left: 24px;">
616
+
617
 
618
  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:
619
 
 
626
 
627
  > โš ๏ธ Note: PhysInOne is intended for **non-commercial research and educational purposes**. For commercial use, users must verify the licensing terms of individual assets.
628
 
629
+ </div>
630
+
631
  <h2 id="citation" style="font-size: 1.9em; line-height: 1.22; margin-top: 1.2em; margin-bottom: 0.5em;">๐Ÿ“š Citation</h2>
632
+ <div style="margin-left: 24px;">
633
+
634
 
635
  If you use PhysInOne in your research, please cite:
636
 
 
643
  }
644
  ```
645
 
646
+ </div>
647
+
648
  <h2 id="contact" style="font-size: 1.9em; line-height: 1.22; margin-top: 1.2em; margin-bottom: 0.5em;">๐Ÿ“ฎ Contact</h2>
649
+ <div style="margin-left: 24px;">
650
+
651
 
652
  For questions about the dataset, please contact:
653
 
654
  - {siyuan.zhou, hejun.wang, hu123.cheng, jinxi.li}@connect.polyu.hk, bo.yang@polyu.edu.hk
655
 
656
+ </div>
657
+
658
  </main>
659
  </div>