OpenSTL SimVP + ViT · KTH Actions (10 → 20 frames)

License Paper Code Benchmark repo

  • Checkpoint: kth20_simvp_vit_one_ep100
  • Method: SimVP + ViT
  • Benchmark: KTH Actions, 10 to 20 frames
  • Shape: 10 x 1 x 128 x 128 in, 20 x 1 x 128 x 128 out
  • Parameters: 15.33M
  • Training: 100 epochs, OneCycle schedule
  • License: Apache-2.0

Unofficial mirror of kth20_simvp_vit_one_ep100.pth from the OpenSTL release kth20-weights, with a bit-identical safetensors copy. All credit to the OpenSTL authors (CAIRI AI Lab, Westlake University). Also bundled in OpenSTL-KTH.

Upstream problem: The docs list 12.7M parameters for this row; the checkpoint has 15.33M.

Disclaimer

Not affiliated with or endorsed by the OpenSTL authors. The checkpoint and log are from release kth20-weights of https://github.com/chengtan9907/OpenSTL (Apache-2.0, Copyright 2022-2023 CAIRI AI Lab). Authors can request changes or removal through a discussion on this repo.

Training data: KTH Actions (Schüldt, Laptev and Caputo, ICPR 2004). The KTH authors state the dataset is free for non-commercial use, so check those terms before any commercial use of these weights.

Results

Setting Params FLOPs FPS MSE MAE SSIM PSNR LPIPS
100 epoch 12.7M 112.0G 28 56.57 459.3 0.8947 26.19 0.27494

From the OpenSTL docs, not re-measured.

Changes from the Official Release

  • Added model.safetensors (DDP module. prefix removed), config.json (logged hyper-parameters), openstl_hub.py (loader). kth20_simvp_vit_one_ep100.pth and kth20_simvp_vit_one_ep100.log are unchanged.
  • Verified: bit-exact safetensors round trip, strict load and CPU forward pass with OpenSTL v0.3.0, SHA-256 of every file after upload. Metrics were not re-evaluated.

Structure

model.safetensors · kth20_simvp_vit_one_ep100.pth · kth20_simvp_vit_one_ep100.log · config.json · openstl_hub.py

Usage

git clone -b OpenSTLv0.3.0 https://github.com/chengtan9907/OpenSTL && pip install -e OpenSTL "timm<=0.6.11" huggingface_hub safetensors
import torch
from huggingface_hub import hf_hub_download
hf_hub_download("dronefreak/OpenSTL-kth20_simvp_vit_one_ep100", "openstl_hub.py", local_dir=".")
from openstl_hub import load_openstl

method, args = load_openstl("dronefreak/OpenSTL-kth20_simvp_vit_one_ep100")  # rebuilt from the log, strict load
T, C, H, W = args.in_shape
x = torch.rand(1, args.pre_seq_length, C, H, W)   # observed frames in [0, 1]
y = torch.zeros(1, args.aft_seq_length, C, H, W)
with torch.no_grad():
    pred = method._predict(x, y)  # (1, aft_seq_length, C, H, W)

Citation

@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 original ViT paper.

License

Apache-2.0, as in OpenSTL. The training data has its own terms, which may restrict some uses.

Downloads last month
2
Safetensors
Model size
15.3M params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Dataset used to train dronefreak/OpenSTL-kth20_simvp_vit_one_ep100

Collection including dronefreak/OpenSTL-kth20_simvp_vit_one_ep100

Paper for dronefreak/OpenSTL-kth20_simvp_vit_one_ep100