nathalie000/4DAnything
Machine LearningVision modelsReconstruct complete 4D objects from casual monocular videos in a single forward pass, for research use.
Overview
4DAnything is a research pipeline that reconstructs a complete 4D object from a casual monocular video in a single forward pass. Given one clip, it recovers object masks, pointmaps and camera poses, then produces an object reconstruction that includes geometry, deformation and skinning, and renders it as video. The authors are from Carnegie Mellon University, and the README links an interactive 4D scene viewer on the project page Interactive 4D and released weights on Hugging Face.
The system builds on SAM 3D Objects for the backbone and Gaussian decoder, TRELLIS sparse latents, VGGT-Omega for pointmaps and cameras, and PAD3R for node deformation and skinning README. It targets researchers and practitioners who need 4D reconstruction from uncontrolled, in-the-wild footage rather than multi-view captures.
Quick start
Requirements: Linux, an NVIDIA GPU with at least 24 GB for 32 frames (about 48 GB for 50 frames), Python 3.11, CUDA 12.4, torch 2.6.0 and torchvision 0.21.0.
- Clone and install:
git clone https://github.com/nathalie000/4DAnything.git
cd 4DAnything
git submodule update --init --recursive
conda create -n 4danything python=3.11 -y && conda activate 4danything
pip install -r requirements.txt
pip install -e .
- Request access to the gated weights facebook/sam-3d-objects and facebook/VGGT-Omega on Hugging Face, then download from the repository root. VGGT-Omega fetches on first use.
hf auth login
bash scripts/download_checkpoints.sh
- Run the three inference stages on the bundled kangaroo example:
python inference/precompute.py --input assets/examples/kangaroo.mp4 # masks, pointmaps, camera poses
python inference/infer.py --out outputs/kangaroo # 4DAnything reconstruction
python inference/visualize.py --out outputs/kangaroo # rendered videos
Each step writes into one folder per clip under outputs/kangaroo/; visualization outputs rendered videos of the reconstruction.
Input and object selection
One object is reconstructed per run. By default the most salient object in the middle frame is selected with BiRefNet and tracked with SAM 2.1; with --prompt, Grounding-DINO finds the named object instead. If the wrong object is chosen in precompute/masks/, name it (--prompt dog), draw a box (--box 120,80,560,400), click a point (--point 420,260) or supply your own masks with --masks. Several visible objects require one run each.
Constraints
- Linux with a CUDA-capable NVIDIA GPU is required; memory scales with clip length (24 GB for 32 frames, roughly 48 GB for 50).
- SAM 3D Objects and VGGT-Omega weights are gated and carry their own licenses; VGGT-Omega is under the FAIR Noncommercial Research License, which limits commercial use of the full pipeline.
- The README's arXiv link is a placeholder, so the paper and citation entry are not yet available in final form.
- The project is an inference release: there is no training code described.
HotRepo's take
4DAnything entered HotRepo's new-project record on 2026-12-03 with 109 stars and 5 forks, gaining 9 stars over about one hour (from 100 to 109) according to the recorded window. That short observation only supports the fact that it appeared and drew early attention; it does not establish a trend. The significance lies in the technical package: a one-pass, monocular-video 4D object reconstruction that appears to release inference code and weights together, while depending on gated research backbones whose noncommercial license and GPU requirements will shape who can actually run it.
Written by AI from the project's public information and HotRepo's records, updated . The project's own docs are the source of truth.
You might also like
- yyfz/Pi4Reconstructs 4D scene geometry and camera motion from images or video in a single forward pass, for graphics and vision researchers.
- zju3dv/SplatAnythingFeed-forward 3D Gaussian splatting model that reconstructs objects, rooms, streets, rigs and panoramas from images.
- speridlabs/idol-sdkTurns a single object image into a standard 3D Gaussian splat on consumer GPUs, for 3D artists, researchers and developers.
- Carol-lyh/JeverationRun a frozen vision-language model that generates full images in one forward pass across text-to-image, image-to-image and dense prediction tasks.
- niconielsen32/open-reality-viewReconstructs a streamed surround-camera drive as a 3D Gaussian world for free-camera replay, for autonomous-driving and novel-view researchers.