|
Download README.md from dronefreak/OpenSTL-MovingMNIST-CIFAR: direct link, hf CLI and curl.
- Browser
- Download file 20 kB
-
https://huggingface.co/dronefreak/OpenSTL-MovingMNIST-CIFAR/resolve/main/README.md
- Command line
-
hf download hf://dronefreak/OpenSTL-MovingMNIST-CIFAR/README.md
-
curl -L -o README.md https://huggingface.co/dronefreak/OpenSTL-MovingMNIST-CIFAR/resolve/main/README.md
20 kB
| license: apache-2.0 | |
| library_name: pytorch | |
| tags: | |
| - video-prediction | |
| - spatiotemporal-forecasting | |
| - openstl | |
| - safetensors | |
| - moving-mnist | |
| - cifar10 | |
| # OpenSTL Checkpoints: Moving MNIST-CIFAR (10 β 10 frames) | |
| <video controls autoplay loop muted playsinline width="900" poster="https://huggingface.co/dronefreak/OpenSTL-MovingMNIST-CIFAR/resolve/main/assets/demo_banner_poster.jpg" src="https://huggingface.co/dronefreak/OpenSTL-MovingMNIST-CIFAR/resolve/main/assets/demo_banner.mp4"></video> | |
| [](https://www.apache.org/licenses/LICENSE-2.0) [](https://arxiv.org/abs/2306.11249) [](https://github.com/chengtan9907/OpenSTL) [](https://huggingface.co/dronefreak/OpenSTL-MovingMNIST-CIFAR/tree/main) | |
| - **Benchmark:** Moving MNIST-CIFAR, 10 to 10 frames | |
| - **Checkpoints:** 23 | |
| - **Task:** spatiotemporal predictive learning | |
| - **Source:** OpenSTL GitHub release mmnist-cifar-weights | |
| - **License:** Apache-2.0 | |
| > **Unofficial mirror.** These are the pretrained weights and training logs that the [OpenSTL](https://github.com/chengtan9907/OpenSTL) authors (CAIRI AI Lab, Westlake University) published as GitHub release assets, re-hosted here with safetensors copies so they stay available. All credit belongs to the original authors. | |
| ## Disclaimer | |
| This repo is not affiliated with or endorsed by the OpenSTL authors. The weights come from the [`mmnist-cifar-weights`](https://github.com/chengtan9907/OpenSTL/releases/tag/mmnist-cifar-weights) release of https://github.com/chengtan9907/OpenSTL, which is licensed under Apache-2.0 (Copyright 2022-2023 CAIRI AI Lab). The model zoo tables come from [`docs/en/model_zoos`](https://github.com/chengtan9907/OpenSTL/tree/OpenSTL-Lightning/docs/en/model_zoos). Several methods are OpenSTL re-implementations of other authors' work (ConvLSTM, PredNet, PredRNN family, E3D-LSTM, MIM, CrevNet, PhyDNet, MAU, DMVFN); please credit them too. If you are an author and want this mirror changed or removed, open a discussion on this repo. | |
| **Training data.** Moving MNIST-CIFAR, synthesised by OpenSTL from MNIST digits and CIFAR-10 images. | |
| **Task.** Predict 10 future frames of Moving MNIST digits over CIFAR-10 backgrounds (64x64 RGB) from 10 observed frames. | |
| ## Changes from the Official Release | |
| - Added `model.safetensors` next to every original `.pth` (23 checkpoints). Tensors are bit-identical to the original state dicts. | |
| - Grouped each checkpoint with its training log in one folder named after the original file. | |
| - Rewrote the model-zoo links to point at this repo. 28 links in the upstream docs use the wrong file names (`moganet` vs `moga`, `mlpmixer` vs `mlp`, `dmvfn` vs `dmfvn`, `mfmnist_` vs `fmnist_`); here they resolve to the files that actually exist. | |
| - Added `openstl_hub.py`, a loader that rebuilds each architecture from its training log. | |
| - Added the upstream visualisation GIFs (`visualizations/`) and a banner made from six of them. | |
| ### Problems in the upstream release | |
| Found while verifying the files. They are documented here and left as they are. | |
| - The docs link `mmnist_cifar_dmvfn_one_ep200.log`, `mmnist_cifar_dmvfn_one_ep200.pth`, but these files were never uploaded to the release. Those rows show "not released". | |
| - `mmnist_cifar_predrnn_one_ep200`: the docs list 23.8M parameters for the PredRNN row, the checkpoint has 24.56M. | |
| - `mmnist_cifar_predrnnv2_one_ep200`: the docs list 23.9M parameters for the PredRNN.V2 row, the checkpoint has 24.58M. | |
| ## Model Zoo | |
| Results, parameter counts, FLOPs and FPS are copied from the OpenSTL docs; they were not re-measured here. `model` and `log` link to the files in this repo. | |
| Similar to [Moving MNIST](http://arxiv.org/abs/1502.04681), we further design the advanced version of MNIST with complex backgrounds from CIFAR-10, i.e., MMNIST-CIFAR benchmark, using $10\rightarrow 10$ frames prediction setting following [PredRNN](https://dl.acm.org/doi/abs/10.5555/3294771.3294855). Metrics (MSE, MAE, SSIM, pSNR) of the best models are reported in three trials. Parameters (M), FLOPs (G), and V100 inference FPS (s) are also reported for all methods. All methods are trained by Adam optimizer with Onecycle scheduler and **single GPU**. | |
| ### **STL Benchmarks on MMNIST-CIFAR** | |
| For a fair comparison of different methods, we report the best results when models are trained to convergence. We provide config files in [configs/mmnist_cifar](https://github.com/chengtan9907/OpenSTL/tree/OpenSTLv0.3.0/configs/mmnist_cifar). | |
| | Method | Setting | Params | FLOPs | FPS | MSE | MAE | SSIM | PSNR | Download | | |
| |--------------|:----------:|:------:|:------:|:---:|:------:|:------:|:------:|:-----:|:------------:| | |
| | ConvLSTM-S | 200 epoch | 15.5M | 58.8G | 113 | 73.31 | 338.56 | 0.9204 | 23.09 | [model](https://huggingface.co/dronefreak/OpenSTL-MovingMNIST-CIFAR/blob/main/mmnist_cifar_convlstm_one_ep200/mmnist_cifar_convlstm_one_ep200.pth) \| [log](https://huggingface.co/dronefreak/OpenSTL-MovingMNIST-CIFAR/blob/main/mmnist_cifar_convlstm_one_ep200/mmnist_cifar_convlstm_one_ep200.log) | | |
| | ConvLSTM-L | 200 epoch | 34.4M | 130.0G | 50 | 62.86 | 291.05 | 0.9337 | 23.83 | [model](https://huggingface.co/dronefreak/OpenSTL-MovingMNIST-CIFAR/blob/main/mmnist_cifar_convlstm_l_one_ep200/mmnist_cifar_convlstm_l_one_ep200.pth) \| [log](https://huggingface.co/dronefreak/OpenSTL-MovingMNIST-CIFAR/blob/main/mmnist_cifar_convlstm_l_one_ep200/mmnist_cifar_convlstm_l_one_ep200.log) | | |
| | PredNet | 200 epoch | 12.5M | 8.6G | 945 | 286.70 | 514.14 | 0.8139 | 17.49 | [model](https://huggingface.co/dronefreak/OpenSTL-MovingMNIST-CIFAR/blob/main/mmnist_cifar_prednet_one_ep200/mmnist_cifar_prednet_one_ep200.pth) \| [log](https://huggingface.co/dronefreak/OpenSTL-MovingMNIST-CIFAR/blob/main/mmnist_cifar_prednet_one_ep200/mmnist_cifar_prednet_one_ep200.log) | | |
| | PhyDNet | 200 epoch | 3.1M | 15.3G | 182 | 142.54 | 700.37 | 0.8276 | 19.92 | [model](https://huggingface.co/dronefreak/OpenSTL-MovingMNIST-CIFAR/blob/main/mmnist_cifar_phydnet_one_ep200/mmnist_cifar_phydnet_one_ep200.pth) \| [log](https://huggingface.co/dronefreak/OpenSTL-MovingMNIST-CIFAR/blob/main/mmnist_cifar_phydnet_one_ep200/mmnist_cifar_phydnet_one_ep200.log) | | |
| | PredRNN | 200 epoch | 23.8M | 116.0G | 54 | 50.09 | 225.04 | 0.9499 | 24.90 | [model](https://huggingface.co/dronefreak/OpenSTL-MovingMNIST-CIFAR/blob/main/mmnist_cifar_predrnn_one_ep200/mmnist_cifar_predrnn_one_ep200.pth) \| [log](https://huggingface.co/dronefreak/OpenSTL-MovingMNIST-CIFAR/blob/main/mmnist_cifar_predrnn_one_ep200/mmnist_cifar_predrnn_one_ep200.log) | | |
| | PredRNN++ | 200 epoch | 38.6M | 171.7G | 38 | 44.19 | 198.27 | 0.9567 | 25.60 | [model](https://huggingface.co/dronefreak/OpenSTL-MovingMNIST-CIFAR/blob/main/mmnist_cifar_predrnnpp_one_ep200/mmnist_cifar_predrnnpp_one_ep200.pth) \| [log](https://huggingface.co/dronefreak/OpenSTL-MovingMNIST-CIFAR/blob/main/mmnist_cifar_predrnnpp_one_ep200/mmnist_cifar_predrnnpp_one_ep200.log) | | |
| | MIM | 200 epoch | 38.8M | 183.0G | 37 | 48.63 | 213.44 | 0.9521 | 25.08 | [model](https://huggingface.co/dronefreak/OpenSTL-MovingMNIST-CIFAR/blob/main/mmnist_cifar_mim_one_ep200/mmnist_cifar_mim_one_ep200.pth) \| [log](https://huggingface.co/dronefreak/OpenSTL-MovingMNIST-CIFAR/blob/main/mmnist_cifar_mim_one_ep200/mmnist_cifar_mim_one_ep200.log) | | |
| | MAU | 200 epoch | 4.5M | 17.8G | 201 | 58.84 | 255.76 | 0.9408 | 24.19 | [model](https://huggingface.co/dronefreak/OpenSTL-MovingMNIST-CIFAR/blob/main/mmnist_cifar_mau_one_ep200/mmnist_cifar_mau_one_ep200.pth) \| [log](https://huggingface.co/dronefreak/OpenSTL-MovingMNIST-CIFAR/blob/main/mmnist_cifar_mau_one_ep200/mmnist_cifar_mau_one_ep200.log) | | |
| | E3D-LSTM | 200 epoch | 52.8M | 306.0G | 18 | 80.79 | 214.86 | 0.9314 | 22.89 | [model](https://huggingface.co/dronefreak/OpenSTL-MovingMNIST-CIFAR/blob/main/mmnist_cifar_e3dlstm_one_ep200/mmnist_cifar_e3dlstm_one_ep200.pth) \| [log](https://huggingface.co/dronefreak/OpenSTL-MovingMNIST-CIFAR/blob/main/mmnist_cifar_e3dlstm_one_ep200/mmnist_cifar_e3dlstm_one_ep200.log) | | |
| | PredRNN.V2 | 200 epoch | 23.9M | 116.6G | 52 | 57.27 | 252.29 | 0.9419 | 24.24 | [model](https://huggingface.co/dronefreak/OpenSTL-MovingMNIST-CIFAR/blob/main/mmnist_cifar_predrnnv2_one_ep200/mmnist_cifar_predrnnv2_one_ep200.pth) \| [log](https://huggingface.co/dronefreak/OpenSTL-MovingMNIST-CIFAR/blob/main/mmnist_cifar_predrnnv2_one_ep200/mmnist_cifar_predrnnv2_one_ep200.log) | | |
| | DMVFN | 200 epoch | 3.6M | 0.2G | 960 | 298.73 | 606.92 | 0.7765 | 17.07 | model not released \| log not released | | |
| | SimVP+IncepU | 200 epoch | 58.0M | 19.4G | 209 | 59.83 | 214.54 | 0.9414 | 24.15 | [model](https://huggingface.co/dronefreak/OpenSTL-MovingMNIST-CIFAR/blob/main/mmnist_cifar_simvp_incepu_one_ep200/mmnist_cifar_simvp_incepu_one_ep200.pth) \| [log](https://huggingface.co/dronefreak/OpenSTL-MovingMNIST-CIFAR/blob/main/mmnist_cifar_simvp_incepu_one_ep200/mmnist_cifar_simvp_incepu_one_ep200.log) | | |
| | SimVP+gSTA-S | 200 epoch | 46.8M | 16.5G | 282 | 51.13 | 185.13 | 0.9512 | 24.93 | [model](https://huggingface.co/dronefreak/OpenSTL-MovingMNIST-CIFAR/blob/main/mmnist_cifar_simvp_gsta_one_ep200/mmnist_cifar_simvp_gsta_one_ep200.pth) \| [log](https://huggingface.co/dronefreak/OpenSTL-MovingMNIST-CIFAR/blob/main/mmnist_cifar_simvp_gsta_one_ep200/mmnist_cifar_simvp_gsta_one_ep200.log) | | |
| | TAU | 200 epoch | 44.7M | 16.0G | 275 | 48.17 | 177.35 | 0.9539 | 25.21 | [model](https://huggingface.co/dronefreak/OpenSTL-MovingMNIST-CIFAR/blob/main/mmnist_cifar_tau_one_ep200/mmnist_cifar_tau_one_ep200.pth) \| [log](https://huggingface.co/dronefreak/OpenSTL-MovingMNIST-CIFAR/blob/main/mmnist_cifar_tau_one_ep200/mmnist_cifar_tau_one_ep200.log) | | |
| ### **Benchmark of MetaFormers Based on SimVP (MetaVP)** | |
| Since the hidden Translator in [SimVP](https://arxiv.org/abs/2211.12509) can be replaced by any [Metaformer](https://arxiv.org/abs/2111.11418) block which achieves `token mixing` and `channel mixing`, we benchmark popular Metaformer architectures on SimVP with training times of 200 epochs. We provide config files in [configs/mmnist_cifar/simvp](https://github.com/chengtan9907/OpenSTL/tree/OpenSTLv0.3.0/configs/mmnist_cifar/simvp/). | |
| | MetaFormer | Setting | Params | FLOPs | FPS | MSE | MAE | SSIM | PSNR | Download | | |
| |------------------|:----------:|:------:|:-----:|:---:|:-----:|:------:|:------:|:-----:|:------------:| | |
| | IncepU (SimVPv1) | 200 epoch | 58.0M | 19.4G | 209 | 59.83 | 214.54 | 0.9414 | 24.15 | [model](https://huggingface.co/dronefreak/OpenSTL-MovingMNIST-CIFAR/blob/main/mmnist_cifar_simvp_incepu_one_ep200/mmnist_cifar_simvp_incepu_one_ep200.pth) \| [log](https://huggingface.co/dronefreak/OpenSTL-MovingMNIST-CIFAR/blob/main/mmnist_cifar_simvp_incepu_one_ep200/mmnist_cifar_simvp_incepu_one_ep200.log) | | |
| | gSTA (SimVPv2) | 200 epoch | 46.8M | 16.5G | 282 | 51.13 | 185.13 | 0.9512 | 24.93 | [model](https://huggingface.co/dronefreak/OpenSTL-MovingMNIST-CIFAR/blob/main/mmnist_cifar_simvp_gsta_one_ep200/mmnist_cifar_simvp_gsta_one_ep200.pth) \| [log](https://huggingface.co/dronefreak/OpenSTL-MovingMNIST-CIFAR/blob/main/mmnist_cifar_simvp_gsta_one_ep200/mmnist_cifar_simvp_gsta_one_ep200.log) | | |
| | ViT | 200 epoch | 46.1M | 16.9G | 290 | 64.94 | 234.01 | 0.9354 | 23.90 | [model](https://huggingface.co/dronefreak/OpenSTL-MovingMNIST-CIFAR/blob/main/mmnist_cifar_simvp_vit_one_ep200/mmnist_cifar_simvp_vit_one_ep200.pth) \| [log](https://huggingface.co/dronefreak/OpenSTL-MovingMNIST-CIFAR/blob/main/mmnist_cifar_simvp_vit_one_ep200/mmnist_cifar_simvp_vit_one_ep200.log) | | |
| | Swin Transformer | 200 epoch | 46.1M | 16.4G | 294 | 57.11 | 207.45 | 0.9443 | 24.34 | [model](https://huggingface.co/dronefreak/OpenSTL-MovingMNIST-CIFAR/blob/main/mmnist_cifar_simvp_swin_one_ep200/mmnist_cifar_simvp_swin_one_ep200.pth) \| [log](https://huggingface.co/dronefreak/OpenSTL-MovingMNIST-CIFAR/blob/main/mmnist_cifar_simvp_swin_one_ep200/mmnist_cifar_simvp_swin_one_ep200.log) | | |
| | Uniformer | 200 epoch | 44.8M | 16.5G | 296 | 56.96 | 207.51 | 0.9442 | 24.38 | [model](https://huggingface.co/dronefreak/OpenSTL-MovingMNIST-CIFAR/blob/main/mmnist_cifar_simvp_uniformer_one_ep200/mmnist_cifar_simvp_uniformer_one_ep200.pth) \| [log](https://huggingface.co/dronefreak/OpenSTL-MovingMNIST-CIFAR/blob/main/mmnist_cifar_simvp_uniformer_one_ep200/mmnist_cifar_simvp_uniformer_one_ep200.log) | | |
| | MLP-Mixer | 200 epoch | 38.2M | 14.7G | 334 | 57.03 | 206.46 | 0.9446 | 24.34 | [model](https://huggingface.co/dronefreak/OpenSTL-MovingMNIST-CIFAR/blob/main/mmnist_cifar_simvp_mlpmixer_one_ep200/mmnist_cifar_simvp_mlpmixer_one_ep200.pth) \| [log](https://huggingface.co/dronefreak/OpenSTL-MovingMNIST-CIFAR/blob/main/mmnist_cifar_simvp_mlpmixer_one_ep200/mmnist_cifar_simvp_mlpmixer_one_ep200.log) | | |
| | ConvMixer | 200 epoch | 3.9M | 5.5G | 658 | 59.29 | 219.76 | 0.9403 | 24.17 | [model](https://huggingface.co/dronefreak/OpenSTL-MovingMNIST-CIFAR/blob/main/mmnist_cifar_simvp_convmixer_one_ep200/mmnist_cifar_simvp_convmixer_one_ep200.pth) \| [log](https://huggingface.co/dronefreak/OpenSTL-MovingMNIST-CIFAR/blob/main/mmnist_cifar_simvp_convmixer_one_ep200/mmnist_cifar_simvp_convmixer_one_ep200.log) | | |
| | Poolformer | 200 epoch | 37.1M | 14.1G | 341 | 60.98 | 219.50 | 0.9399 | 24.16 | [model](https://huggingface.co/dronefreak/OpenSTL-MovingMNIST-CIFAR/blob/main/mmnist_cifar_simvp_poolformer_one_ep200/mmnist_cifar_simvp_poolformer_one_ep200.pth) \| [log](https://huggingface.co/dronefreak/OpenSTL-MovingMNIST-CIFAR/blob/main/mmnist_cifar_simvp_poolformer_one_ep200/mmnist_cifar_simvp_poolformer_one_ep200.log) | | |
| | ConvNeXt | 200 epoch | 37.3M | 14.1G | 344 | 51.39 | 187.17 | 0.9503 | 24.89 | [model](https://huggingface.co/dronefreak/OpenSTL-MovingMNIST-CIFAR/blob/main/mmnist_cifar_simvp_convnext_one_ep200/mmnist_cifar_simvp_convnext_one_ep200.pth) \| [log](https://huggingface.co/dronefreak/OpenSTL-MovingMNIST-CIFAR/blob/main/mmnist_cifar_simvp_convnext_one_ep200/mmnist_cifar_simvp_convnext_one_ep200.log) | | |
| | VAN | 200 epoch | 44.5M | 16.0G | 288 | 59.59 | 221.32 | 0.9398 | 25.20 | [model](https://huggingface.co/dronefreak/OpenSTL-MovingMNIST-CIFAR/blob/main/mmnist_cifar_simvp_van_one_ep200/mmnist_cifar_simvp_van_one_ep200.pth) \| [log](https://huggingface.co/dronefreak/OpenSTL-MovingMNIST-CIFAR/blob/main/mmnist_cifar_simvp_van_one_ep200/mmnist_cifar_simvp_van_one_ep200.log) | | |
| | HorNet | 200 epoch | 45.7M | 16.3G | 287 | 55.79 | 202.73 | 0.9456 | 24.49 | [model](https://huggingface.co/dronefreak/OpenSTL-MovingMNIST-CIFAR/blob/main/mmnist_cifar_simvp_hornet_one_ep200/mmnist_cifar_simvp_hornet_one_ep200.pth) \| [log](https://huggingface.co/dronefreak/OpenSTL-MovingMNIST-CIFAR/blob/main/mmnist_cifar_simvp_hornet_one_ep200/mmnist_cifar_simvp_hornet_one_ep200.log) | | |
| | MogaNet | 200 epoch | 46.8M | 16.5G | 255 | 49.48 | 184.11 | 0.9521 | 25.07 | [model](https://huggingface.co/dronefreak/OpenSTL-MovingMNIST-CIFAR/blob/main/mmnist_cifar_simvp_moganet_one_ep200/mmnist_cifar_simvp_moganet_one_ep200.pth) \| [log](https://huggingface.co/dronefreak/OpenSTL-MovingMNIST-CIFAR/blob/main/mmnist_cifar_simvp_moganet_one_ep200/mmnist_cifar_simvp_moganet_one_ep200.log) | | |
| | TAU | 200 epoch | 44.7M | 16.0G | 275 | 48.17 | 177.35 | 0.9539 | 25.21 | [model](https://huggingface.co/dronefreak/OpenSTL-MovingMNIST-CIFAR/blob/main/mmnist_cifar_tau_one_ep200/mmnist_cifar_tau_one_ep200.pth) \| [log](https://huggingface.co/dronefreak/OpenSTL-MovingMNIST-CIFAR/blob/main/mmnist_cifar_tau_one_ep200/mmnist_cifar_tau_one_ep200.log) | | |
| <p align="right">(<a href="#top">back to top</a>)</p> | |
| ## Structure | |
| ``` | |
| OpenSTL-MovingMNIST-CIFAR/ | |
| βββ mmnist_cifar_tau_one_ep200/ | |
| β βββ model.safetensors # weights (safetensors) | |
| β βββ mmnist_cifar_tau_one_ep200.pth # original checkpoint, unchanged | |
| β βββ mmnist_cifar_tau_one_ep200.log # original training log (hyper-parameters + test metrics) | |
| βββ ... # 23 checkpoint folders in total | |
| βββ visualizations/*.gif # upstream ground-truth vs prediction GIFs | |
| βββ openstl_hub.py # loader | |
| βββ assets/demo_banner.mp4 | |
| ``` | |
| ## Usage | |
| The checkpoints need the OpenSTL code they were trained with (branch `OpenSTLv0.3.0`). `openstl_hub.py` rebuilds the network from the hyper-parameters in the checkpoint's own log and loads the weights strictly. | |
| ```bash | |
| git clone -b OpenSTLv0.3.0 https://github.com/chengtan9907/OpenSTL | |
| pip install -e OpenSTL "timm<=0.6.11" huggingface_hub safetensors | |
| ``` | |
| ```python | |
| import torch | |
| from huggingface_hub import hf_hub_download | |
| hf_hub_download("dronefreak/OpenSTL-MovingMNIST-CIFAR", "openstl_hub.py", local_dir=".") | |
| from openstl_hub import load_openstl | |
| method, args = load_openstl("dronefreak/OpenSTL-MovingMNIST-CIFAR", "mmnist_cifar_tau_one_ep200") | |
| T, C, H, W = args.in_shape | |
| x = torch.rand(1, args.pre_seq_length, C, H, W) # observed frames, values in [0, 1] | |
| y = torch.zeros(1, args.aft_seq_length, C, H, W) # placeholder for the frames to predict | |
| with torch.no_grad(): | |
| pred = method._predict(x, y) # (1, aft_seq_length, C, H, W) | |
| ``` | |
| `method.model` is the plain `torch.nn.Module`. RNN-type methods (ConvLSTM, PredRNN family, MIM, MAU, E3D-LSTM) take the target tensor only for its shape at test time. For DMVFN the loader returns only the network (its training wrapper downloads VGG19 for a loss); it predicts one frame: `method.model(torch.cat([x, y], 1), training=False)[-1]`. CrevNet's code calls `.cuda()` internally; on CPU run it inside `with openstl_hub.cuda_to_cpu():`. CrevNet also reads the whole 20-frame clip (`torch.cat([x_all_10, y], 1)` with `x` of length `in_shape[0]`) and its recurrent state is sized for the training batch, so call it with batches of `args.batch_size` (16). | |
| To use the weights without OpenSTL's loader: `safetensors.torch.load_file("<name>/model.safetensors")` gives a state dict for the matching OpenSTL model class. | |
| ## Verification | |
| - All 23 release checkpoints downloaded and size-checked against the GitHub API. | |
| - `model.safetensors` round trip: same keys, dtypes, shapes and raw bytes as the `.pth` for all 23 checkpoints. A perturbed tensor is detected as a negative control. | |
| - Functional check: every checkpoint was rebuilt from its own log with OpenSTL v0.3.0, loaded with `strict=True`, and ran a CPU forward pass with the expected output shape and finite values. A corrupted state dict is rejected as a negative control. These steps run through the same `openstl_hub.py` that ships here. | |
| - Parameter counts of the loaded networks were cross-checked against the Params column of the docs. Any disagreement is listed above. | |
| - Accuracy metrics were **not** re-evaluated; the table numbers are the authors'. | |
| ## Citation | |
| ```bibtex | |
| @inproceedings{tan2023openstl, | |
| title={OpenSTL: A Comprehensive Benchmark of Spatio-Temporal Predictive Learning}, | |
| author={Tan, Cheng and Li, Siyuan and Gao, Zhangyang and Guan, Wenfei and Wang, Zedong and Liu, Zicheng and Wu, Lirong and Li, Stan Z}, | |
| booktitle={Conference on Neural Information Processing Systems Datasets and Benchmarks Track}, | |
| year={2023} | |
| } | |
| ``` | |
| Please also cite the paper of the method you use (links in the table above). | |
| ## License | |
| The weights, logs and visualisations are redistributed under the [Apache License 2.0](https://github.com/chengtan9907/OpenSTL/blob/OpenSTLv0.3.0/LICENSE) of the OpenSTL repository (Copyright 2022-2023 CAIRI AI Lab). The training data has its own terms (see Training data above), which may restrict some uses of the models. | |