Configuration Parsing Warning:In config.json: "model_type" must be a string
OpenSTL PredRNN · KTH Actions (10 → 20 frames)
Ground truth vs prediction, upstream kth20_PredRNN.gif (vis-video).
- Checkpoint: kth20_predrnn_one_ep100
- Method: PredRNN
- 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: 23.57M
- Training: 100 epochs, OneCycle schedule
- License: Apache-2.0
Unofficial mirror of
kth20_predrnn_one_ep100.pthfrom the OpenSTL releasekth20-weights, with a bit-identical safetensors copy. All credit to the OpenSTL authors (CAIRI AI Lab, Westlake University). Also bundled inOpenSTL-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); PredRNN is OpenSTL's re-implementation of another group's method, so credit its authors too. 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 | 23.6M | 2800.0G | 7 | 41.07 | 380.6 | 0.9097 | 27.95 | 0.21892 |
From the OpenSTL docs, not re-measured.
Changes from the Official Release
- Added
model.safetensors,config.json(logged hyper-parameters),openstl_hub.py(loader), the banner GIF.kth20_predrnn_one_ep100.pthandkth20_predrnn_one_ep100.logare 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_predrnn_one_ep100.pth · kth20_predrnn_one_ep100.log · config.json · openstl_hub.py · assets/kth20_PredRNN.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_predrnn_one_ep100", "openstl_hub.py", local_dir=".")
from openstl_hub import load_openstl
method, args = load_openstl("dronefreak/OpenSTL-kth20_predrnn_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 PredRNN paper.
License
Apache-2.0, as in OpenSTL. The training data has its own terms, which may restrict some uses.
- Downloads last month
- 2