Skip to main content

PyTorch Lightning Optical Flow

Project description

PyTorch Lightning Optical Flow

GitHub CI flake8 status GitHub CI pytest status DOI

Introduction

This is a collection of state-of-the-art deep model for estimating optical flow. The main goal is to provide a unified framework where multiple models can be trained and tested more easily.

The work and code from many others are present here. I tried to make sure everything is properly referenced, but please let me know if I missed something.

This is still under development, so some things may not work as intended. I plan to add more models in the future, as well keep improving the platform.

Available models

Results

You can see a table with main evaluation results of the available models here. More results are also available in the folder results.

Disclaimer: These results are the ones obtained by evaluating the available models in this framework in my machine. Your results may be different due to differences in hardware and software. I also do not guarantee that the results of each model will be similar to the ones presented in the respective papers or other original sources. If you need to replicate the original results from a paper, you should use the original implementations.

Getting started

Please take a look at the documentation to learn how to install and use PTLFlow.

Licenses

The original code of this repository is licensed under the Apache 2.0 license.

I have tried to only include or adapt external codes whose licenses are compatible with ours. That being said, it is your responsibility to make sure that your project is in compliance with all the licenses and conditions involved.

The external pretrained weights all have different licenses, which are listed in their respective folders.

The pretrained weights that were trained within this project are available under the CC BY-NC-SA 4.0 license, which I believe that covers the licenses of the datasets used in the training. That being said, I am not a legal expert so if you plan to use them to any purpose other than research, you should check all the involved licenses by yourself. Additionally, the datasets used for the training usually require the user to cite the original papers, so be sure to include their respective references in your work.

Contributing

Contribution are welcome! Please check CONTRIBUTING.md to see how to contribute.

Citing

BibTeX

@misc{morimitsu2021ptlflow,
  author = {Henrique Morimitsu},
  title = {PyTorch Lightning Optical Flow},
  year = {2021},
  publisher = {GitHub},
  journal = {GitHub repository},
  doi = {10.5281/zenodo.4923734},
  howpublished = {\url{https://github.com/hmorimitsu/ptlflow}}
}

Acknowledgements

  • This README file is heavily inspired by the one from the timm repository.
  • Some parts of the code were inspired by or taken from FlowNetPytorch.
  • flownet2-pytorch was also another important source.
  • The current main training routine is based on RAFT.

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

ptlflow-0.1.3.tar.gz (100.5 kB view details)

Uploaded Source

Built Distribution

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

ptlflow-0.1.3-py3-none-any.whl (157.4 kB view details)

Uploaded Python 3

File details

Details for the file ptlflow-0.1.3.tar.gz.

File metadata

  • Download URL: ptlflow-0.1.3.tar.gz
  • Upload date:
  • Size: 100.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.9

File hashes

Hashes for ptlflow-0.1.3.tar.gz
Algorithm Hash digest
SHA256 14a3f64a1314e9500e99a1fba992fc7b3fb05bf473510a1120279086cdf8de83
MD5 d4117d130e42a0f1299da936bf71ba11
BLAKE2b-256 04da2ef7d18b1c7664bb52175bbb3081da909725108fcc36517a9deb801657c4

See more details on using hashes here.

File details

Details for the file ptlflow-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: ptlflow-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 157.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.9

File hashes

Hashes for ptlflow-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 495e7685ff294f30e9fa34742a3e819903170275cfd07911ecd501eea0e3fcc5
MD5 86bfb911144f29a08f84efb6ba3e5f65
BLAKE2b-256 c60a7e5ec151571647ebabd83a085d0dcb75d2d7bf3e3c6155da616ae1290351

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