d4rt clone
A rebuild of D4RT, a neural network that turns an ordinary video into 3D over time. From the video alone it works out how far away every pixel is, how points move through space, and where the camera was. Ask it about any pixel at any moment and it answers with a 3D point.
A short video clip is resized and fed to the model.
The paper trained on a cluster of 64 TPUs. This rebuild matched its results on one NVIDIA L40S GPU. It equals the paper's depth score on the Sintel benchmark and comes close to VGGT, a model with 7× more parameters (1.635 vs 1.582 error, lower is better).
Camera pose was the weak point. A new 5-layer head, in the style of Pi3 and LoGeR, predicts the rotation as 9 numbers and snaps them to a valid rotation with an SVD. Camera trajectory error fell 53%, which beats the paper's own ViT-B model by 26%.
Training runs 2.4× faster and fits in 46 GB on one GPU. Queries are built in one vectorized batch (256× faster), the dataset is pre-resized and cached in fp16 (35× less disk), and mixed precision plus allocator tuning cut memory. Inference handles 50 clips per second with a 3.5 GB peak.













