Sync model card overview
Browse files
README.md
CHANGED
|
@@ -10,13 +10,25 @@ tags:
|
|
| 10 |
- video
|
| 11 |
---
|
| 12 |
|
| 13 |
-
# π⁴:
|
| 14 |
|
| 15 |
-
**
|
| 16 |
|
| 17 |
-
Pi4
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
|
| 21 |
## Usage
|
| 22 |
|
|
@@ -33,13 +45,14 @@ prediction = model(images, query_frame=0)
|
|
| 33 |
```
|
| 34 |
|
| 35 |
Replace the example tensor with RGB images in `[0, 1]`, shaped `[B, T, 3, H, W]`.
|
| 36 |
-
Height and width must be divisible by 16.
|
|
|
|
| 37 |
|
| 38 |
From the repository root:
|
| 39 |
|
| 40 |
```bash
|
| 41 |
-
python example.py examples/
|
| 42 |
-
--output outputs/quickstart --query-frame 0 --stride
|
| 43 |
```
|
| 44 |
|
| 45 |
Weights are downloaded and cached automatically. You can also
|
|
|
|
| 10 |
- video
|
| 11 |
---
|
| 12 |
|
| 13 |
+
# π⁴: A Foundation Model for 4D Scene Geometry and Motion
|
| 14 |
|
| 15 |
+
**Physical Intelligence Team · Shanghai Artificial Intelligence Laboratory**
|
| 16 |
|
| 17 |
+
Official Pi4 model weights. See the
|
| 18 |
+
[citation](https://github.com/yyfz/Pi4#citation).
|
| 19 |
+
|
| 20 |
+
**From pixels to a scene in motion.** Pi4 brings geometric reconstruction and
|
| 21 |
+
motion estimation into a single model. It accepts single images, unordered image
|
| 22 |
+
collections, and videos without supplied camera calibration, building a shared
|
| 23 |
+
3D scene representation in one forward pass.
|
| 24 |
+
|
| 25 |
+
- **One compact model.** Approximately **0.5B parameters** for joint geometry
|
| 26 |
+
and motion.
|
| 27 |
+
- **Strong across tasks.** The best overall average rank among the compared
|
| 28 |
+
methods across the paper's **16 geometry evaluation settings**, with competitive
|
| 29 |
+
results in single- and multiview 2D/3D tracking and moving-object segmentation.
|
| 30 |
+
- **Thousands of images, one forward pass.** Joint reconstruction and tracking
|
| 31 |
+
from **thousands of input images**, despite training with at most **64 views**.
|
| 32 |
|
| 33 |
## Usage
|
| 34 |
|
|
|
|
| 45 |
```
|
| 46 |
|
| 47 |
Replace the example tensor with RGB images in `[0, 1]`, shaped `[B, T, 3, H, W]`.
|
| 48 |
+
Height and width must be divisible by 16. Tracking requires at least two
|
| 49 |
+
images. Omit `query_frame` for geometry only, including single-image inference.
|
| 50 |
|
| 51 |
From the repository root:
|
| 52 |
|
| 53 |
```bash
|
| 54 |
+
python example.py examples/figure_skating.mp4 \
|
| 55 |
+
--output outputs/quickstart --query-frame 0 --stride 1 --max-frames 150 --viewer
|
| 56 |
```
|
| 57 |
|
| 58 |
Weights are downloaded and cached automatically. You can also
|