Download README.md from CastlePeak/AnySpaceTime: direct link, hf CLI and curl.
- Browser
- Download file 3.81 kB
-
https://huggingface.co/CastlePeak/AnySpaceTime/resolve/main/README.md
- Command line
-
hf download hf://CastlePeak/AnySpaceTime/README.md
-
curl -L -o README.md https://huggingface.co/CastlePeak/AnySpaceTime/resolve/main/README.md
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 路 Project page and demos 路 Code and inference guide 路 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 | Released dynamic checkpoint with the Motion Basis branch and renderer adapters | --checkpoint |
| 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.
Run inference
Follow the installation guide 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.
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.
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.
@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},
}