百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
A

Any4D

> 编程语言
开源

Any4D: 统一的前向度量 4D 重建

389 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

Any4D: 统一的前向度量 4D 重建

Notes (12/12)

  • The inference code will be refined and updated over the next few days.
  • A stronger and more generalizable model checkpoint, along with full training code will be released soon.

Stay tuned for updates

Table of Contents

  • Quick Start
    • Installation
    • Models
    • Sample Inference
  • Interactive Demos
    • Online Demo
    • Local Gradio Demo
    • Rerun Demo
  • Acknowledgments
  • Citation

Quick Start

Installation

bash
git clone https://github.com/Any-4D/Any4D.git
cd Any4D

# Create and activate conda environment
conda create -n any4d python=3.12 -y
conda activate any4d

# Optional: Install torch, torchvision & torchaudio specific to your system
# Install Any4D
pip install -e .

# For all optional dependencies
# See pyproject.toml for more details
pip install -e ".[all]"
pre-commit install

Note that we don't pin a specific version of PyTorch or CUDA in our requirements. Please feel free to install PyTorch based on your specific system.

Model Checkpoints

We release the pre-trained Any4D model checkpoint on Hugging Face and Google Drive:

HF Link

bash
# Option 1: Hugging Face
mkdir -p checkpoints
wget -P checkpoints https://huggingface.co/airlabshare/any4d-checkpoint/resolve/main/any4d_4v_combined.pth

☁️ Google Drive Link

bash
# Option 2: Google Drive
mkdir -p checkpoints
cd checkpoints
gdown --folder https://drive.google.com/drive/folders/1SOWr61vuv_bGtow6diAiWpIoUT50qSpk

Sample Inference

For quick example inference, you can run the following command:

bash
# Terminal 1: Start the Rerun server
rerun serve --port 9877

# Terminal 2: Run Any4D demo
python scripts/demo_inference.py --video_images_folder_path assets/stroller --viz --port 9877

We provide multiple examples at assets/example_images. Please look at Rerun Demo for more control over visualization.

Interactive Demos

We provide multiple interactive demos to try out Any4D!

Online Demo

Try our online demo without installation: Hugging Face Demo

Local Gradio Demo

We provide a script to launch our Gradio app. The interface and GUI allows you to upload image sequences/videos, run 4D reconstruction and interactively view them. You can launch this using:

bash
# Install requirements for the app
pip install -e ".[gradio]"

# Launch app locally
python scripts/any4d_gradio.py

Rerun Demo

We provide a demo script for interactive 4D visualization of metric reconstruction results using Rerun.

…

Optionally, if rerun is installed locally, local rerun viewer can be spawned using: rerun --connect rerun+http://127.0.0.1:2004/proxy.

License

This repository is licensed under an open-source Apache 2.0 license.

Acknowledgments

We thank the following projects for their open-source code: MapAnything, DUSt3R, MASt3R, MoGe, VGGT, and DINOv2.

Citation

If you find our repository useful, please consider giving it a star ⭐ and citing our paper in your work:

bibtex
@article{karhade2025any4d,
  title={Any4D: Unified feed-forward metric 4d reconstruction},
  author={Karhade, Jay and Keetha, Nikhil and Zhang, Yuchen and Gupta, Tanisha and Sharma, Akash and Scherer, Sebastian and Ramanan, Deva},
  journal={arXiv preprint arXiv:2512.10935},
  year={2025}
}

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Python

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言