Spaces:
Running on Zero

4danything / README.md
multimodalart's picture
multimodalart HF Staff
Revert to MoGe pointmaps (VGGT-Omega weights are gated for this account)
71a95e4 verified
|
Raw History Blame Contribute Delete
1.78 kB
metadata
title: 4DAnything
emoji: 🦘
colorFrom: gray
colorTo: indigo
sdk: gradio
sdk_version: 6.33.0
app_file: app.py
short_description: Feed-forward 4D Gaussian reconstruction from a video
python_version: '3.12'
startup_duration_timeout: 1h
license: other
models:
  - ncc2/4DAnything
  - facebook/sam-3d-objects
  - facebook/sam2.1-hiera-large
  - IDEA-Research/grounding-dino-base
  - Ruicheng/moge-vitl

4DAnything

Demo of 4DAnything: Generalizable Feed-Forward 4D Reconstruction In-The-Wild (project page, code, weights).

Pipeline (as in the official inference/precompute.py β†’ infer.py β†’ visualize.py): SAM 2.1 video masks (object picked by BiRefNet saliency or Grounding-DINO text) β†’ MoGe per-frame pointmaps (the repo's --pointmap-model moge option; the default VGGT-Omega weights are gated) β†’ 4DAnything video backbone (fine-tuned SAM 3D Objects) β†’ 4D decoder (canonical Gaussians + per-frame deformation) β†’ renders.

Defaults: 16 frames at stride 3 (β‰ˆ2.5–3 min of ZeroGPU time); up to 24 frames in Advanced settings. VGGT-Omega is not used, so the scene-placement videos of the reference are not produced.

Rendering uses the Inria diff_gaussian_rasterization kernels through a small gsplat.rasterization shim (gsplat/), since gsplat has no prebuilt wheel for the ZeroGPU torch/Blackwell stack.

Licenses: 4DAnything code MIT; 4DAnything and SAM 3D Objects weights under the SAM License.

Examples: kangaroo.mp4 from the 4DAnything repository (MIT); horse.mp4 and cat.mp4 are trimmed from CC0 clips in linoyts/repo-to-space-example-videos.