Views
No views yet
| File | Size | SHA-256 |
|---|---|---|
ViTime_Model.pth | 296,778,986 bytes | 6513b03b352163337c333526fd3634b07db789665cd9f87648f9661efe0cff1a |
v1.0.0.1from huggingface_hub import hf_hub_download
2
3checkpoint_path = hf_hub_download(
4 repo_id="IkeYEUNG/ViTime",
5 filename="ViTime_Model.pth",
6 revision="v1.0.0",
7)
8print(checkpoint_path)hf download IkeYEUNG/ViTime ViTime_Model.pth --revision v1.0.01git clone https://github.com/IkeYang/ViTime.git
2cd ViTime
3python -m pip install -r requirements.txtv1.0.0 checkpoint automatically on first
use and reuses the Hugging Face cache on later runs:1import numpy as np
2from main import ViTimePrediction
3
4x = np.sin(np.arange(512) / 10)
5model = ViTimePrediction(device="cuda:0", model_name="MAE", lookbackRatio=None)
6prediction = model.prediction(x, future_length=720)
7print(prediction.shape).pth checkpoint format for compatibility with the official code. Load serialized PyTorch checkpoints only from trusted sources and pin the v1.0.0 revision for reproducible use.1@article{yang2025vitime,
2 title={{ViTime}: Foundation Model for Time Series Forecasting Powered by Vision Intelligence},
3 author={Yang, Luoxiao and Wang, Yun and Fan, Xinqi and Cohen, Israel and Chen, Jingdong and Zhang, Zijun},
4 journal={Transactions on Machine Learning Research},
5 year={2025},
6 url={https://openreview.net/forum?id=XInsJDBIkp},
7 note={Published in Transactions on Machine Learning Research (10/2025)}
8}