|
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
3.81 kB
| 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}, | |
| } | |
| ``` | |