OpenSTL TAU · KTH Actions (10 → 20 frames)

TAU ground truth vs prediction on KTH

Ground truth vs prediction, upstream kth20_TAU.gif (vis-video).

License Paper Code Benchmark repo

  • Checkpoint: kth20_tau_one_ep100
  • Method: TAU
  • 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: 14.96M
  • Training: 100 epochs, OneCycle schedule
  • License: Apache-2.0

Unofficial mirror of kth20_tau_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.

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 15.0M 73.8G 55 45.32 421.7 0.9086 27.10 0.22856

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), the banner GIF. kth20_tau_one_ep100.pth and kth20_tau_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_tau_one_ep100.pth · kth20_tau_one_ep100.log · config.json · openstl_hub.py · assets/kth20_TAU.gif

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_tau_one_ep100", "openstl_hub.py", local_dir=".")
from openstl_hub import load_openstl

method, args = load_openstl("dronefreak/OpenSTL-kth20_tau_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}
}

TAU is from the same group (Tan et al., CVPR 2023); please cite it as well.

License

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

Downloads last month
4
Safetensors
Model size
15M 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_tau_one_ep100

Collection including dronefreak/OpenSTL-kth20_tau_one_ep100

Paper for dronefreak/OpenSTL-kth20_tau_one_ep100