Skip to main content

Implementation of D4RT, Efficiently Reconstructing Dynamic Scenes

Project description

d4rt (wip)

Implementation of D4RT, Efficiently Reconstructing Dynamic Scenes, Deepmind

install

$ pip install d4rt

usage

import torch
from d4rt import D4RT

model = D4RT(
    dim = 512,
    video_image_size = 128,
    video_patch_size = 32,
    video_max_time_len = 10,
    enc_depth = 6,
    dec_depth = 6
)

videos = torch.randn(2, 10, 3, 128, 128)
points = torch.randn(2, 5, 3)
queries = torch.randn(2, 5, 512)

loss = model(
    videos,
    coors = torch.randint(0, 128, (2, 5, 2)),
    time_src = torch.randint(0, 10, (2, 5)),
    time_tgt = torch.randint(0, 10, (2, 5)),
    time_camera = torch.randint(0, 10, (2, 5)),
    points = points
)

loss.backward()

pred = model(videos, queries = queries) # (2, 5, 3)
assert pred.shape == (2, 5, 3)

citations

@article{zhang2025d4rt,
    title   = {Efficiently Reconstructing Dynamic Scenes One D4RT at a Time},
    author  = {Zhang, Chuhan and Le Moing, Guillaume and Koppula, Skanda and Rocco, Ignacio and Momeni, Liliane and Xie, Junyu and Sun, Shuyang and Sukthankar, Rahul and Barral, Jo{\"e}lle K. and Hadsell, Raia and Ghahramani, Zoubin and Zisserman, Andrew and Zhang, Junlin and Sajjadi, Mehdi S. M.},
    journal = {arXiv preprint},
    year    = {2025}
}
@inproceedings{liu2026geometryaware,
    title   = {Geometry-aware 4D Video Generation for Robot Manipulation},
    author  = {Zeyi Liu and Shuang Li and Eric Cousineau and Siyuan Feng and Benjamin Burchfiel and Shuran Song},
    booktitle = {The Fourteenth International Conference on Learning Representations},
    year    = {2026},
    url     = {https://openreview.net/forum?id=18gC6pZVVc}
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

d4rt-0.0.3.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

d4rt-0.0.3-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file d4rt-0.0.3.tar.gz.

File metadata

  • Download URL: d4rt-0.0.3.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.17

File hashes

Hashes for d4rt-0.0.3.tar.gz
Algorithm Hash digest
SHA256 623e33fb22c7c71e371d69b892b1a4bd187b03f4386edcc8a449cb4349f55614
MD5 07d6f764c29601ac7075242f28c435bb
BLAKE2b-256 f1c0bc09db8d1f88bb5a59bb3a1242ba631c732db9aaa628748b35c4e4a2b73a

See more details on using hashes here.

File details

Details for the file d4rt-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: d4rt-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.17

File hashes

Hashes for d4rt-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7dae476e838eaf2ef13fa4c74039fd696f8522eba250b9bc26f846df14b43b70
MD5 f65cff4c22f5fdf601536ff7947d9269
BLAKE2b-256 7eba61e8d7d9c64efb8ad5f0348e88a7882207f235fc777d7140b89ef2edbcbf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page