Views
No views yet
hf_hub_download function from the huggingface_hub library:1import os
2import shutil
3from huggingface_hub import hf_hub_download
4
5repo_id = "marstin/fast-spatial-mem"
6local_path = "static/weights"
7path_in_repo = "lvsm_checkpoints/fsm_4dlvsm_patch8_res256.pth"
8
9# Download (cached under ~/.cache/huggingface/hub)
10cached_path = hf_hub_download(
11 repo_id=repo_id,
12 filename=path_in_repo,
13 repo_type="model"
14)
15
16# Copy to your desired local folder
17os.makedirs(os.path.dirname(local_path), exist_ok=True)
18target_path = os.path.join(local_path, os.path.basename(path_in_repo))
19shutil.copy(cached_path, target_path)| Checkpoint | Steoro4D PSNR | Steoro4D LPIPS | Steoro4D SSIM | NVIDIA PSNR | NVIDIA LPIPS | NVIDIA SSIM | DL3DV PSNR | DL3DV LPIPS | DL3DV SSIM |
|---|---|---|---|---|---|---|---|---|---|
lrm_checkpoints/fsm_4dlrm_patch8_res256.pth | 27.54 | 0.163 | 0.841 | 20.17 | 0.337 | 0.567 | 21.89 | 0.314 | 0.692 |
lrm_checkpoints/fsm_4dlrm_patch8_multilen_res256.pth | 24.88 | 0.245 | 0.786 | 23.27 | 0.275 | 0.700 | 20.71 | 0.365 | 0.652 |
lrm_checkpoints/fsm_4dlrm_patch8_static_res256.pth | 28.51 | 0.110 | 0.865 | 16.45 | 0.386 | 0.407 | 23.59 | 0.206 | 0.766 |
lvsm_checkpoints/fsm_3dlvsm_patch8_res256.pth | 32.16 | 0.043 | 0.931 | 23.10 | 0.117 | 0.713 | 24.64 | 0.118 | 0.787 |
lvsm_checkpoints/fsm_4dlvsm_patch8_multilen_res256.pth | 31.24 | 0.072 | 0.925 | 23.90 | 0.105 | 0.747 | 24.54 | 0.135 | 0.772 |
lvsm_checkpoints/fsm_3dlvsm_patch8_res256.pth | N/A | N/A | N/A | N/A | N/A | N/A | 27.01 | 0.084 | 0.859 |
1@article{ma2026fast,
2 title={Fast Spatial Memory with Elastic Test-Time Training},
3 author={Ma, Ziqiao and Yu, Xueyang and Zhen, Haoyu and Yang, Yuncong and Chai, Joyce and Gan, Chuang},
4 journal={arXiv preprint arXiv:2604.07350},
5 year={2026}
6}1@inproceedings{ma20254dlrm,
2 title={4D-LRM: Large Space-Time Reconstruction Model From and To Any View at Any Time},
3 author={Ma, Ziqiao and Chen, Xuweiyi and Yu, Shoubin and Bi, Sai and Zhang, Kai and Ziwen, Chen and Xu, Sihan and Yang, Jianing and Xu, Zexiang and Sunkavalli, Kalyan and others},
4 booktitle={The Thirty-ninth Annual Conference on Neural Information Processing Systems},
5 year={2025}
6}