Simplify model card: remove release settings and quickstart, add method figure
Browse files
README.md
CHANGED
|
@@ -6,13 +6,18 @@ license: apache-2.0
|
|
| 6 |
|
| 7 |
[Paper](https://arxiv.org/abs/2611.26516) | [Project Page](https://fogradio.github.io/plan4d-project/) | [Code](https://github.com/AMAP-ML/plan4d)
|
| 8 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
**Plan4D turns an observed scene and a text-specified action into a future
|
| 10 |
video and a dynamic 3D world.** A video generator and a geometry decoder share
|
| 11 |
the same latent trajectory, producing synchronized RGB, depth, camera
|
| 12 |
parameters, point clouds, and scene flow.
|
| 13 |
|
| 14 |
-
This repository contains the two Plan4D checkpoints. Code, installation,
|
| 15 |
-
training instructions are in the
|
|
|
|
| 16 |
|
| 17 |
## Checkpoints
|
| 18 |
|
|
@@ -39,45 +44,11 @@ The two Plan4D files do **not** include the base LongCat DiT, text encoder,
|
|
| 39 |
tokenizer, Wan VAE, or the pretrained DA3 bundle. Download
|
| 40 |
[LongCat-Video](https://huggingface.co/meituan-longcat/LongCat-Video),
|
| 41 |
[Depth Anything 3](https://github.com/ByteDance-Seed/Depth-Anything-3), and the
|
| 42 |
-
Wan 2.1 VAE separately, and follow the recommended checkpoint layout
|
|
|
|
| 43 |
[GitHub README](https://github.com/AMAP-ML/plan4d). The reference setup uses
|
| 44 |
`DA3NESTED-GIANT-LARGE`; the stitched decoder loads its giant anyview branch.
|
| 45 |
|
| 46 |
-
## Release Settings
|
| 47 |
-
|
| 48 |
-
The decoder file does not bundle a training-arguments sidecar. Pass the
|
| 49 |
-
release settings explicitly, as in the inference commands:
|
| 50 |
-
|
| 51 |
-
- Injection layer: `enc_blocks_1`
|
| 52 |
-
- Projection: `conv3d_k5x3x3_o1536_s1x2x2_p2x1x1`
|
| 53 |
-
- DA3 reference view: `first`; resolution: `504`
|
| 54 |
-
- Decoder weights: full stitched parameters, detected from the checkpoint
|
| 55 |
-
- Scene-flow architecture: `da3-giant-sceneflow`; head weights are embedded in `Stitched_Decoder.pth` (no separate `scene_flow_head.bin`)
|
| 56 |
-
- Video LoRA: rank `32`, alpha `32`, with the default LongCat target modules
|
| 57 |
-
|
| 58 |
-
## Quickstart
|
| 59 |
-
|
| 60 |
-
Run the complete text/condition-to-video-and-geometry pipeline with both
|
| 61 |
-
checkpoints:
|
| 62 |
-
|
| 63 |
-
```bash
|
| 64 |
-
bash scripts/infer_pipeline.sh \
|
| 65 |
-
--dit_lora_path checkpoints/plan4d/VDM_LoRA.safetensors \
|
| 66 |
-
--stitched_decoder_checkpoint_path checkpoints/plan4d/Stitched_Decoder.pth \
|
| 67 |
-
--stitching_layer_location enc_blocks_1 \
|
| 68 |
-
--da3_ref_view_strategy first \
|
| 69 |
-
--num_frames 81 --max_frames 81 \
|
| 70 |
-
--dit_lora_rank 32 --dit_lora_alpha 32 \
|
| 71 |
-
--prompt "A person moves an object across a table." \
|
| 72 |
-
--task_type ti2v \
|
| 73 |
-
--condition_path /path/to/first_frame.png \
|
| 74 |
-
--output_dir outputs/demo
|
| 75 |
-
```
|
| 76 |
-
|
| 77 |
-
See the [GitHub README](https://github.com/AMAP-ML/plan4d) for installation,
|
| 78 |
-
stage-wise inference (scene flow / stitched geometry / joint generation), and
|
| 79 |
-
training instructions.
|
| 80 |
-
|
| 81 |
## License
|
| 82 |
|
| 83 |
The Plan4D checkpoints are released under the [Apache 2.0 License](https://www.apache.org/licenses/LICENSE-2.0).
|
|
|
|
| 6 |
|
| 7 |
[Paper](https://arxiv.org/abs/2611.26516) | [Project Page](https://fogradio.github.io/plan4d-project/) | [Code](https://github.com/AMAP-ML/plan4d)
|
| 8 |
|
| 9 |
+
<p align="center">
|
| 10 |
+
<img src="method.webp" alt="Plan4D method overview" width="100%">
|
| 11 |
+
</p>
|
| 12 |
+
|
| 13 |
**Plan4D turns an observed scene and a text-specified action into a future
|
| 14 |
video and a dynamic 3D world.** A video generator and a geometry decoder share
|
| 15 |
the same latent trajectory, producing synchronized RGB, depth, camera
|
| 16 |
parameters, point clouds, and scene flow.
|
| 17 |
|
| 18 |
+
This repository contains the two Plan4D checkpoints. Code, installation,
|
| 19 |
+
inference, and training instructions are in the
|
| 20 |
+
[GitHub repository](https://github.com/AMAP-ML/plan4d).
|
| 21 |
|
| 22 |
## Checkpoints
|
| 23 |
|
|
|
|
| 44 |
tokenizer, Wan VAE, or the pretrained DA3 bundle. Download
|
| 45 |
[LongCat-Video](https://huggingface.co/meituan-longcat/LongCat-Video),
|
| 46 |
[Depth Anything 3](https://github.com/ByteDance-Seed/Depth-Anything-3), and the
|
| 47 |
+
Wan 2.1 VAE separately, and follow the recommended checkpoint layout and
|
| 48 |
+
release settings in the
|
| 49 |
[GitHub README](https://github.com/AMAP-ML/plan4d). The reference setup uses
|
| 50 |
`DA3NESTED-GIANT-LARGE`; the stitched decoder loads its giant anyview branch.
|
| 51 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 52 |
## License
|
| 53 |
|
| 54 |
The Plan4D checkpoints are released under the [Apache 2.0 License](https://www.apache.org/licenses/LICENSE-2.0).
|