Skip to main content

PyTorch package for SSTM optical flow inference

Project description

SSTM

This repository contains the source code for our paper:

SSTM: Spatiotemporal recurrent transformers for multi-frame optical flow estimation
Neurocomputing, 2023
Fisseha A. Ferede, Madhusudhanan Balasubramanian

I. Architecture

II. Trained Models

Trained models can be downloaded here, Download Trained Models sstm_t++-things.pth, sstm_t++-sintel.pth, sstm_t++-kitti.pth are trained weights as described in the SSTM manuscript.

Further, fine-tuned weights from our paper, KinemaNet, are also provided which includes sstm_t++-speckle-sintel.pth and sstm_t++-speckle.pth

III. Evaluation

# Clone SSTM repository
git clone https://github.com/Computational-Ocularscience/SSTM.git
conda env create -f sstm.yml
conda activate sstm
python SSTM/evaluate.py --model=checkpoints/sstm_t++-sintel.pth --dataset=sintel

IV. Train

./train.sh

V. Sample Results

The following results visually showcase the superiority of our method compared to other recent state-of-the-art methods. Signifying our methods ability to exploit temporal information across multiple frames to give a more generalized optical flow estimate.

  1. Sample results on standard benchmark datasest for optical flow estimation (Sintel and KITTI2015)
  1. Sample results on unseen datasets (datasets that were not part of training or validation)

VI. Cite

If you find this work useful please cite:

@article{ferede2023sstm,
  title={SSTM: Spatiotemporal recurrent transformers for multi-frame optical flow estimation},
  author={Ferede, Fisseha Admasu and Balasubramanian, Madhusudhanan},
  journal={Neurocomputing},
  volume={558},
  pages={126705},
  year={2023},
  publisher={Elsevier}
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sstm_flow-0.1.2.tar.gz (26.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sstm_flow-0.1.2-py3-none-any.whl (29.3 kB view details)

Uploaded Python 3

File details

Details for the file sstm_flow-0.1.2.tar.gz.

File metadata

  • Download URL: sstm_flow-0.1.2.tar.gz
  • Upload date:
  • Size: 26.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.19

File hashes

Hashes for sstm_flow-0.1.2.tar.gz
Algorithm Hash digest
SHA256 8bf3a225037f72be1ad7876398e2da1bb70db6a692121db870716c1958fc04e3
MD5 ae1a0ef1278c601d70a303b5ad9a0b4e
BLAKE2b-256 e836a319e99fb6ec2a4a70480240137bb8860617cd4b513981f71261c0eaf685

See more details on using hashes here.

File details

Details for the file sstm_flow-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: sstm_flow-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 29.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.19

File hashes

Hashes for sstm_flow-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 42c80917d285793d30846e973ef29bd78a0a28dfadd2c1562c3fb96e7e352e81
MD5 d51a81a45ad79ffb6230bbf41bce7e72
BLAKE2b-256 e9928d1f437769ef145a5e0da7d06c9db9a697f61d17b1bacd02e1d0e9490338

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page