This repository is the official implementation of our paper:
SKFlow: Learning Optical Flow with Super Kernels
Shangkun Sun, Yuanqi Chen, Yu Zhu, Guodong Guo, Ge Li
NeurIPS 2022
The code is tested on PyTorch 1.10.0, Python 3.9.7. To install requirements:
pip install -r requirements.txt
SKFlow uses the following datasets for training and evaluation:
Datasets are suggested to be organized as follows:
├── datasets
├── Sintel
├── test
├── training
├── KITTI
├── testing
├── training
├── devkit
├── FlyingChairs_release
├── data
├── FlyingThings3D
├── frames_cleanpass
├── frames_finalpass
├── optical_flow
To train the model(s) in the paper, run this command:
sh scripts/train.sh
To evaluate our model (e.g. on Sintel), run:
sh scripts/infer.sh
Pre-trained models could be downloaded here:
Parts of code are adapted from the following repositories. We thank the authors for their great contribution to the community: