Configuration Parsing Warning:In config.json: "model_type" must be a string
OpenSTL PhyDNet · Moving MNIST (10 → 10 frames)
Ground truth vs prediction, upstream mmnist_PhyDNet.gif (vis-video).
- Checkpoint: mmnist_phydnet_one_ep2000
- Method: PhyDNet
- Benchmark: Moving MNIST, 10 to 10 frames
- Shape: 10 x 1 x 64 x 64 in, 10 x 1 x 64 x 64 out
- Parameters: 3.09M
- Training: 2000 epochs, OneCycle schedule
- License: Apache-2.0
Unofficial mirror of
mmnist_phydnet_one_ep2000.pthfrom the OpenSTL releasemmnist-weights, with a bit-identical safetensors copy. All credit to the OpenSTL authors (CAIRI AI Lab, Westlake University). Also bundled inOpenSTL-MovingMNIST.
Disclaimer
Not affiliated with or endorsed by the OpenSTL authors. The checkpoint and log are from release mmnist-weights of https://github.com/chengtan9907/OpenSTL (Apache-2.0, Copyright 2022-2023 CAIRI AI Lab); PhyDNet 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: Moving MNIST (Srivastava et al., ICML 2015), synthesised from MNIST digits.
Results
| Setting | Params | FLOPs | FPS | MSE | MAE | SSIM | PSNR |
|---|---|---|---|---|---|---|---|
| 2000 epoch | 3.1M | 15.3G | 182 | 20.35 | 61.47 | 0.9559 | 24.21 |
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.mmnist_phydnet_one_ep2000.pthandmmnist_phydnet_one_ep2000.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 · mmnist_phydnet_one_ep2000.pth · mmnist_phydnet_one_ep2000.log · config.json · openstl_hub.py · assets/mmnist_PhyDNet.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-mmnist_phydnet_one_ep2000", "openstl_hub.py", local_dir=".")
from openstl_hub import load_openstl
method, args = load_openstl("dronefreak/OpenSTL-mmnist_phydnet_one_ep2000") # 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 PhyDNet paper.
License
Apache-2.0, as in OpenSTL. The training data has its own terms, which may restrict some uses.
- Downloads last month
- 2