Document AnySpaceTime weights, inference, and paper citation
Browse files123---license: apache-2.0---1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465---license: apache-2.0base_model: facebook/lagernvs_general_512base_model_relation: adaptertags:- 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[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 checkpointsInference 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 inferenceFollow 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.```bashhf auth loginhf download CastlePeak/AnySpaceTime model.pt --local-dir checkpoints/anyspacetimehf download facebook/lagernvs_general_512 model.pt --local-dir checkpoints/lagernvspython 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.## CitationIf you use these weights, please cite the AnySpaceTime manuscript.```bibtex@misc{anyspacetime,title = {AnySpaceTime: Feed-Forward Spacetime Novel View Synthesis from Arbitrary Observations},author = {Li, Qingshan and Li, Wenbo and Tam, King Man and Zhang, Bohao andYao, Mingde and Rong, Wenge and Liu, Si and Huang, Linjiang},url = {https://robotpeak.github.io/AnySpaceTime/},note = {Project manuscript}}```
README.md+62