sniklaus/pytorch-unflow
About
a reimplementation of UnFlow in PyTorch that matches the official TensorFlow version
AI & Machine LearningMeasured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Originalpytorch-unflow
This is a personal reimplementation of UnFlow [1] using PyTorch. Should you be making use of this work, please cite the paper accordingly. Also, make sure to adhere to the licensing terms of the authors. Should you be making use of this particular implementation, please acknowledge it appropriately [2].
For the original TensorFlow version of this work, please see: https://github.com/simonmeister/UnFlow
Other optical flow implementations from me: pytorch-pwc, pytorch-spynet, pytorch-liteflownet
usage
To run it on your own pair of images, use the following command. You can choose between two models, please make sure to see their paper / the code for more details.
python run.py --model css --one ./images/one.png --two ./images/two.png --out ./out.flo
I am afraid that I cannot guarantee that this reimplementation is correct. However, it produced results identical to the implementation of the original authors in the examples that I tried. Please feel free to contribute to this repository by submitting issues and pull requests.
comparison

license
As stated in the licensing terms of the authors of the paper, the models subject to an MIT license. Please make sure to further consult their licensing terms.
references
[1] @inproceedings{Meister_AAAI_2018,
author = {Simon Meister and Junhwa Hur and Stefan Roth},
title = {{UnFlow}: Unsupervised Learning of Optical Flow with a Bidirectional Census Loss},
booktitle = {AAAI},
year = {2018}
}
[2] @misc{pytorch-unflow,
author = {Simon Niklaus},
title = {A Reimplementation of {UnFlow} Using {PyTorch}},
year = {2018},
howpublished = {\url{https://github.com/sniklaus/pytorch-unflow}}
}
Explore related projects
Loading…