File size: 3,812 Bytes
4c9f6ed
 
4a8ea3c
 
 
 
 
 
 
4c9f6ed
4a8ea3c
 
 
 
 
 
 
977f887
4a8ea3c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
977f887
 
 
 
 
 
 
 
4a8ea3c
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
---
license: apache-2.0
base_model: facebook/lagernvs_general_512
base_model_relation: adapter
tags:
  - pytorch
  - novel-view-synthesis
  - dynamic-scenes
  - spacetime-view-synthesis
---

# AnySpaceTime

**AnySpaceTime: Feed-Forward Spacetime Novel View Synthesis from Arbitrary Observations**

Qingshan Li, Wenbo Li, King Man Tam, Bohao Zhang, Mingde Yao, Wenge Rong, Si Liu, and Linjiang Huang

[Paper on arXiv](https://arxiv.org/abs/2612.04781) 路 [Project page and demos](https://robotpeak.github.io/AnySpaceTime/) 路 [Code and inference guide](https://github.com/RobotPeak/AnySpaceTime#inference) 路 [Citation](#citation)

AnySpaceTime synthesizes a target image at a specified camera pose and time from calibrated, timestamped RGB observations. A pretrained LagerNVS encoder provides spatial features. A Motion Basis branch adapts those features to the target time, and a LoRA-adapted renderer renders the requested viewpoint. You can hold time fixed and vary the camera for a bullet-time sequence, hold the camera fixed and vary time, or vary both.

## Required checkpoints

Inference requires both files. Each repository names its file `model.pt`, so download them to separate directories.

| Checkpoint | Role | Inference argument |
| --- | --- | --- |
| [AnySpaceTime](https://huggingface.co/CastlePeak/AnySpaceTime/blob/main/model.pt) | Released dynamic checkpoint with the Motion Basis branch and renderer adapters | `--checkpoint` |
| [LagerNVS General 512](https://huggingface.co/facebook/lagernvs_general_512) | Pretrained base model used to initialize inference. Request access on the model page and sign in before downloading. | `--base-checkpoint` |

The model card's Apache-2.0 metadata applies to this release. The separately distributed LagerNVS checkpoint is governed by its own [license and access terms](https://huggingface.co/facebook/lagernvs_general_512).

## Run inference

Follow the [installation guide](https://github.com/RobotPeak/AnySpaceTime#installation) for the Linux/CUDA environment. The inference code uses a BF16-capable NVIDIA GPU. Run these commands from the cloned AnySpaceTime code repository after activating that environment.

```bash
hf auth login
hf download CastlePeak/AnySpaceTime model.pt --local-dir checkpoints/anyspacetime
hf download facebook/lagernvs_general_512 model.pt --local-dir checkpoints/lagernvs

python inference.py \
  --checkpoint checkpoints/anyspacetime/model.pt \
  --base-checkpoint checkpoints/lagernvs/model.pt \
  --input scene.json \
  --output outputs/render
```

The released checkpoint expects **8 calibrated RGB context images at 512 脳 512**. In `scene.json`, set `time_convention` to `normalized` and supply `context` and `queries` lists. Each context entry needs an image path, a 4 脳 4 OpenCV camera-to-world matrix (`c2w`), pixel intrinsics `[fx, fy, cx, cy]`, and a scalar `time`. Each query needs the same camera and time fields. Normalize context and query times using the same reference-frame range. For field details and camera conventions, see the [inference guide](https://github.com/RobotPeak/AnySpaceTime#inference).

Inference writes one PNG per query in input order. Add `--video-fps 24` to also export an MP4 with FFmpeg. Dynamic time queries are intended for interpolation within the reference time range.

## Citation

If you use these weights, please cite the AnySpaceTime manuscript.

```bibtex
@misc{li2026anyspacetimefeedforwardspacetimenovel,
  title={AnySpaceTime: Feed-Forward Spacetime Novel View Synthesis from Arbitrary Observations},
  author={Qingshan Li and Wenbo Li and King Man Tam and Bohao Zhang and Mingde Yao and Wenge Rong and Si Liu and Linjiang Huang},
  year={2026},
  eprint={2612.04781},
  archivePrefix={arXiv},
  primaryClass={cs.CV},
  url={https://arxiv.org/abs/2612.04781},
}
```