Add image-to-image task category and refine README
#1
by nielsr HF Staff - opened
README.md
CHANGED
|
@@ -2,9 +2,10 @@
|
|
| 2 |
license: cc-by-nc-nd-4.0
|
| 3 |
size_categories:
|
| 4 |
- 100K<n<1M
|
|
|
|
|
|
|
| 5 |
---
|
| 6 |
|
| 7 |
-
|
| 8 |
# PhysicsGen: Can Generative Models Learn from Images to Predict Complex Physical Relations?
|
| 9 |
|
| 10 |
## Paper
|
|
@@ -14,6 +15,8 @@ Accepted at IEEE/CVF Conference on Computer Vision and Pattern Recognition ([CVP
|
|
| 14 |
Preprint is available here: [https://arxiv.org/abs/2503.05333](https://arxiv.org/abs/2503.05333)
|
| 15 |
|
| 16 |
Website: [https://www.physics-gen.org/](https://www.physics-gen.org/)
|
|
|
|
|
|
|
| 17 |
|
| 18 |
## Overview
|
| 19 |
|
|
@@ -21,7 +24,7 @@ Website: [https://www.physics-gen.org/](https://www.physics-gen.org/)
|
|
| 21 |
|
| 22 |
### Variants
|
| 23 |
|
| 24 |
-
- **Urban Sound Propagation:** [sound_baseline, sound_reflection, sound_diffraction, sound_combined]
|
| 25 |
|
| 26 |
Each sound example includes:
|
| 27 |
- Geographic coordinates: `lat`, `long`
|
|
@@ -29,14 +32,14 @@ Website: [https://www.physics-gen.org/](https://www.physics-gen.org/)
|
|
| 29 |
- Images: `soundmap`, `osm`, `soundmap_512`
|
| 30 |
- Additional metadata: `temperature`, `humidity`, `yaw`, `sample_id`
|
| 31 |
|
| 32 |
-
- **Lens Distortion:** [lens_p1, lens_p2]
|
| 33 |
|
| 34 |
Each lens example includes:
|
| 35 |
- Calibration parameters: `fx`, `k1`, `k2`, `k3`, `p1`, `p2`, `cx`
|
| 36 |
- Label file path: `label_path`
|
| 37 |
- Note: The script for applying the distortion to the CelebA Dataset is located [here](https://github.com/physicsgen/physicsgen/blob/main/eval_scripts/hf_apply_lens_distortion.py).
|
| 38 |
|
| 39 |
-
- **Dynamics of rolling and bouncing movements:** [ball_roll, ball_bounce]
|
| 40 |
|
| 41 |
Each ball example includes:
|
| 42 |
- Metadata: `ImgName`, `StartHeight`, `GroundIncli`, `InputTime`, `TargetTime`
|
|
@@ -60,6 +63,7 @@ input_img = sample["osm"]
|
|
| 60 |
target_img = sample["soundmap_512"]
|
| 61 |
|
| 62 |
# plot Input vs Target Image for a single sample
|
|
|
|
| 63 |
fig, (ax1, ax2) = plt.subplots(1, 2, figsize=(10, 5))
|
| 64 |
ax1.imshow(input_img)
|
| 65 |
ax2.imshow(target_img)
|
|
@@ -67,3 +71,17 @@ plt.show()
|
|
| 67 |
```
|
| 68 |
|
| 69 |

|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
license: cc-by-nc-nd-4.0
|
| 3 |
size_categories:
|
| 4 |
- 100K<n<1M
|
| 5 |
+
task_categories:
|
| 6 |
+
- image-to-image
|
| 7 |
---
|
| 8 |
|
|
|
|
| 9 |
# PhysicsGen: Can Generative Models Learn from Images to Predict Complex Physical Relations?
|
| 10 |
|
| 11 |
## Paper
|
|
|
|
| 15 |
Preprint is available here: [https://arxiv.org/abs/2503.05333](https://arxiv.org/abs/2503.05333)
|
| 16 |
|
| 17 |
Website: [https://www.physics-gen.org/](https://www.physics-gen.org/)
|
| 18 |
+
Github: [https://github.com/physicsgen/physicsgen](https://github.com/physicsgen/physicsgen)
|
| 19 |
+
|
| 20 |
|
| 21 |
## Overview
|
| 22 |
|
|
|
|
| 24 |
|
| 25 |
### Variants
|
| 26 |
|
| 27 |
+
- **Urban Sound Propagation:** [`sound_baseline`, `sound_reflection`, `sound_diffraction`, `sound_combined`]
|
| 28 |
|
| 29 |
Each sound example includes:
|
| 30 |
- Geographic coordinates: `lat`, `long`
|
|
|
|
| 32 |
- Images: `soundmap`, `osm`, `soundmap_512`
|
| 33 |
- Additional metadata: `temperature`, `humidity`, `yaw`, `sample_id`
|
| 34 |
|
| 35 |
+
- **Lens Distortion:** [`lens_p1`, `lens_p2`]
|
| 36 |
|
| 37 |
Each lens example includes:
|
| 38 |
- Calibration parameters: `fx`, `k1`, `k2`, `k3`, `p1`, `p2`, `cx`
|
| 39 |
- Label file path: `label_path`
|
| 40 |
- Note: The script for applying the distortion to the CelebA Dataset is located [here](https://github.com/physicsgen/physicsgen/blob/main/eval_scripts/hf_apply_lens_distortion.py).
|
| 41 |
|
| 42 |
+
- **Dynamics of rolling and bouncing movements:** [`ball_roll`, `ball_bounce`]
|
| 43 |
|
| 44 |
Each ball example includes:
|
| 45 |
- Metadata: `ImgName`, `StartHeight`, `GroundIncli`, `InputTime`, `TargetTime`
|
|
|
|
| 63 |
target_img = sample["soundmap_512"]
|
| 64 |
|
| 65 |
# plot Input vs Target Image for a single sample
|
| 66 |
+
import matplotlib.pyplot as plt
|
| 67 |
fig, (ax1, ax2) = plt.subplots(1, 2, figsize=(10, 5))
|
| 68 |
ax1.imshow(input_img)
|
| 69 |
ax2.imshow(target_img)
|
|
|
|
| 71 |
```
|
| 72 |
|
| 73 |

|
| 74 |
+
|
| 75 |
+
## Results (Summary - see paper for full details)
|
| 76 |
+
|
| 77 |
+
PhysicsGen includes baseline results for several models across the three tasks. See the paper for a complete evaluation.
|
| 78 |
+
|
| 79 |
+
## License
|
| 80 |
+
This dataset is licensed under a [Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International](https://creativecommons.org/licenses/by-nc-nd/4.0/)
|
| 81 |
+
|
| 82 |
+
## Funding Acknowledgement
|
| 83 |
+
We express our gratitude for the financial support provided by the German Federal Ministry of Education and Research (BMBF). This project is part of the "Forschung an Fachhochschulen in Kooperation mit Unternehmen (FH-Kooperativ)" program, within the joint project [KI-Bohrer](https://www.ki-bohrer.de/), and is funded under the grant number 13FH525KX1.
|
| 84 |
+
|
| 85 |
+
<p align="center">
|
| 86 |
+
<img src="figures/bmbf_logo.png" alt="BMBF-Logo">
|
| 87 |
+
</p>
|