mmflow


Namemmflow JSON
Version 0.5.2 PyPI version JSON
download
home_pagehttps://github.com/open-mmlab/mmflow
SummaryOpenMMLab Optical flow Toolbox and Benchmark
upload_time2023-01-10 16:30:52
maintainer
docs_urlNone
authorMMFlow Contributors
requires_python
licenseApache License 2.0
keywords computer vision optical flow
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <div align="center">
  <img src="resources/mmflow-logo.png" width="600"/>
    <div>&nbsp;</div>
  <div align="center">
    <b><font size="5">OpenMMLab website</font></b>
    <sup>
      <a href="https://openmmlab.com">
        <i><font size="4">HOT</font></i>
      </a>
    </sup>
    &nbsp;&nbsp;&nbsp;&nbsp;
    <b><font size="5">OpenMMLab platform</font></b>
    <sup>
      <a href="https://platform.openmmlab.com">
        <i><font size="4">TRY IT OUT</font></i>
      </a>
    </sup>
  </div>
  <div>&nbsp;</div>

[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/mmflow)](https://pypi.org/project/mmflow/)
[![PyPI](https://img.shields.io/pypi/v/mmflow)](https://pypi.org/project/mmflow)
[![docs](https://img.shields.io/badge/docs-latest-blue)](https://mmflow.readthedocs.io/en/latest/)
[![badge](https://github.com/open-mmlab/mmflow/workflows/build/badge.svg)](https://github.com/open-mmlab/mmflow/actions)
[![codecov](https://codecov.io/gh/open-mmlab/mmflow/branch/master/graph/badge.svg)](https://codecov.io/gh/open-mmlab/mmflow)
[![license](https://img.shields.io/github/license/open-mmlab/mmflow.svg)](https://github.com/open-mmlab/mmflow/blob/master/LICENSE)
[![open issues](https://isitmaintained.com/badge/open/open-mmlab/mmflow.svg)](https://github.com/open-mmlab/mmflow/issues)

[📘Documentation](https://mmflow.readthedocs.io/en/latest/) |
[🛠️Installation](https://mmflow.readthedocs.io/en/latest/install.html) |
[👀Model Zoo](https://mmflow.readthedocs.io/en/latest/model_zoo.html) |
[🤔Reporting Issues](https://github.com/open-mmlab/mmflow/issues/new/choose)

</div>

<div align="center">

English | [简体中文](README_zh-CN.md)

</div>

## Introduction

MMFlow is an open source optical flow toolbox based on PyTorch. It is a part of the [OpenMMLab](https://openmmlab.com/) project.

The master branch works with **PyTorch 1.5+**.

<https://user-images.githubusercontent.com/76149310/141947796-af4f1e67-60c9-48ed-9dd6-fcd809a7d991.mp4>

### Major features

- **The First Unified Framework for Optical Flow**

  MMFlow is the first toolbox that provides a framework for unified implementation and evaluation of optical flow algorithms.

- **Flexible and Modular Design**

  We decompose the flow estimation framework into different components,
  which makes it much easy and flexible to build a new model by combining different modules.

- **Plenty of Algorithms and Datasets Out of the Box**

  The toolbox directly supports popular and contemporary optical flow models, *e.g.* FlowNet, PWC-Net, RAFT, etc,
  and representative datasets, FlyingChairs, FlyingThings3D, Sintel, KITTI, etc.

## What's New

**v0.5.2** was released in 01/10/2023:

- Add flow1d attention

Please refer to [changelog.md](docs/en/changelog.md) for details and release history.

## Installation

Please refer to [install.md](docs/en/install.md) for installation and
guidance in [dataset_prepare](docs/en/dataset_prepare.md) for dataset preparation.

## Get Started

If you're new of optical flow, you can start with [learn the basics](docs/en/intro.md). If you’re familiar with it, check out [getting_started](docs/en/getting_started.md) to try out MMFlow.

Refer to the below tutorials to dive deeper:

- [config](docs/en/tutorials/0_config.md)

- [model inference](docs/en/tutorials/1_inference.md)

- [fine tuning](docs/en/tutorials/2_finetune.md)

- [data pipeline](docs/en/tutorials/3_data_pipeline.md)

- [add new modules](docs/en/tutorials/4_new_modules.md)

- [customized runtime](docs/en/tutorials/5_customize_runtime.md)

## Benchmark and model zoo

Results and models are available in the [model zoo](docs/en/model_zoo.md).

Supported methods:

- [x] [FlowNet (ICCV'2015)](configs/flownet/README.md)
- [x] [FlowNet2 (CVPR'2017)](configs/flownet2/README.md)
- [x] [PWC-Net (CVPR'2018)](configs/pwcnet/README.md)
- [x] [LiteFlowNet (CVPR'2018)](configs/liteflownet/README.md)
- [x] [LiteFlowNet2 (TPAMI'2020)](configs/liteflownet2/README.md)
- [x] [IRR (CVPR'2019)](configs/irr/README.md)
- [x] [MaskFlownet (CVPR'2020)](configs/maskflownet/README.md)
- [x] [RAFT (ECCV'2020)](configs/raft/README.md)
- [x] [GMA (ICCV' 2021)](configs/gma/README.md)

## Contributing

We appreciate all contributions improving MMFlow. Please refer to [CONTRIBUTING.md](https://github.com/open-mmlab/mmcv/blob/master/CONTRIBUTING.md) in MMCV for more details about the contributing guideline.

## Acknowledgement

MMFlow is an open source project that is contributed by researchers and engineers from various colleges and companies. We appreciate all the contributors who implement their methods or add new features, as well as users who give valuable feedbacks.
We wish that the toolbox and benchmark could serve the growing research community by providing a flexible toolkit to reimplement existing methods and develop their own new flow algorithm.

## Citation

If you use this toolbox or benchmark in your research, please cite this project.

```BibTeX
@misc{2021mmflow,
    title={{MMFlow}: OpenMMLab Optical Flow Toolbox and Benchmark},
    author={MMFlow Contributors},
    howpublished = {\url{https://github.com/open-mmlab/mmflow}},
    year={2021}
}
```

## License

This project is released under the [Apache 2.0 license](LICENSE).

## Projects in OpenMMLab

- [MMCV](https://github.com/open-mmlab/mmcv): OpenMMLab foundational library for computer vision.
- [MIM](https://github.com/open-mmlab/mim): MIM installs OpenMMLab packages.
- [MMClassification](https://github.com/open-mmlab/mmclassification): OpenMMLab image classification toolbox and benchmark.
- [MMDetection](https://github.com/open-mmlab/mmdetection): OpenMMLab detection toolbox and benchmark.
- [MMDetection3D](https://github.com/open-mmlab/mmdetection3d): OpenMMLab's next-generation platform for general 3D object detection.
- [MMRotate](https://github.com/open-mmlab/mmrotate): OpenMMLab rotated object detection toolbox and benchmark.
- [MMSegmentation](https://github.com/open-mmlab/mmsegmentation): OpenMMLab semantic segmentation toolbox and benchmark.
- [MMOCR](https://github.com/open-mmlab/mmocr): OpenMMLab text detection, recognition, and understanding toolbox.
- [MMPose](https://github.com/open-mmlab/mmpose): OpenMMLab pose estimation toolbox and benchmark.
- [MMHuman3D](https://github.com/open-mmlab/mmhuman3d): OpenMMLab 3D human parametric model toolbox and benchmark.
- [MMSelfSup](https://github.com/open-mmlab/mmselfsup): OpenMMLab self-supervised learning toolbox and benchmark.
- [MMRazor](https://github.com/open-mmlab/mmrazor): OpenMMLab model compression toolbox and benchmark.
- [MMFewShot](https://github.com/open-mmlab/mmfewshot): OpenMMLab fewshot learning toolbox and benchmark.
- [MMAction2](https://github.com/open-mmlab/mmaction2): OpenMMLab's next-generation action understanding toolbox and benchmark.
- [MMTracking](https://github.com/open-mmlab/mmtracking): OpenMMLab video perception toolbox and benchmark.
- [MMFlow](https://github.com/open-mmlab/mmflow): OpenMMLab optical flow toolbox and benchmark.
- [MMEditing](https://github.com/open-mmlab/mmediting): OpenMMLab image and video editing toolbox.
- [MMGeneration](https://github.com/open-mmlab/mmgeneration): OpenMMLab image and video generative models toolbox.
- [MMDeploy](https://github.com/open-mmlab/mmdeploy): OpenMMLab Model Deployment Framework.



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/open-mmlab/mmflow",
    "name": "mmflow",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "computer vision,optical flow",
    "author": "MMFlow Contributors",
    "author_email": "openmmlab@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/42/6d/76e0b5a94311c8d7552af349e7f0ec810a2048ec8e62ddf00ba0510bcec0/mmflow-0.5.2.tar.gz",
    "platform": null,
    "description": "<div align=\"center\">\n  <img src=\"resources/mmflow-logo.png\" width=\"600\"/>\n    <div>&nbsp;</div>\n  <div align=\"center\">\n    <b><font size=\"5\">OpenMMLab website</font></b>\n    <sup>\n      <a href=\"https://openmmlab.com\">\n        <i><font size=\"4\">HOT</font></i>\n      </a>\n    </sup>\n    &nbsp;&nbsp;&nbsp;&nbsp;\n    <b><font size=\"5\">OpenMMLab platform</font></b>\n    <sup>\n      <a href=\"https://platform.openmmlab.com\">\n        <i><font size=\"4\">TRY IT OUT</font></i>\n      </a>\n    </sup>\n  </div>\n  <div>&nbsp;</div>\n\n[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/mmflow)](https://pypi.org/project/mmflow/)\n[![PyPI](https://img.shields.io/pypi/v/mmflow)](https://pypi.org/project/mmflow)\n[![docs](https://img.shields.io/badge/docs-latest-blue)](https://mmflow.readthedocs.io/en/latest/)\n[![badge](https://github.com/open-mmlab/mmflow/workflows/build/badge.svg)](https://github.com/open-mmlab/mmflow/actions)\n[![codecov](https://codecov.io/gh/open-mmlab/mmflow/branch/master/graph/badge.svg)](https://codecov.io/gh/open-mmlab/mmflow)\n[![license](https://img.shields.io/github/license/open-mmlab/mmflow.svg)](https://github.com/open-mmlab/mmflow/blob/master/LICENSE)\n[![open issues](https://isitmaintained.com/badge/open/open-mmlab/mmflow.svg)](https://github.com/open-mmlab/mmflow/issues)\n\n[\ud83d\udcd8Documentation](https://mmflow.readthedocs.io/en/latest/) |\n[\ud83d\udee0\ufe0fInstallation](https://mmflow.readthedocs.io/en/latest/install.html) |\n[\ud83d\udc40Model Zoo](https://mmflow.readthedocs.io/en/latest/model_zoo.html) |\n[\ud83e\udd14Reporting Issues](https://github.com/open-mmlab/mmflow/issues/new/choose)\n\n</div>\n\n<div align=\"center\">\n\nEnglish | [\u7b80\u4f53\u4e2d\u6587](README_zh-CN.md)\n\n</div>\n\n## Introduction\n\nMMFlow is an open source optical flow toolbox based on PyTorch. It is a part of the [OpenMMLab](https://openmmlab.com/) project.\n\nThe master branch works with **PyTorch 1.5+**.\n\n<https://user-images.githubusercontent.com/76149310/141947796-af4f1e67-60c9-48ed-9dd6-fcd809a7d991.mp4>\n\n### Major features\n\n- **The First Unified Framework for Optical Flow**\n\n  MMFlow is the first toolbox that provides a framework for unified implementation and evaluation of optical flow algorithms.\n\n- **Flexible and Modular Design**\n\n  We decompose the flow estimation framework into different components,\n  which makes it much easy and flexible to build a new model by combining different modules.\n\n- **Plenty of Algorithms and Datasets Out of the Box**\n\n  The toolbox directly supports popular and contemporary optical flow models, *e.g.* FlowNet, PWC-Net, RAFT, etc,\n  and representative datasets, FlyingChairs, FlyingThings3D, Sintel, KITTI, etc.\n\n## What's New\n\n**v0.5.2** was released in 01/10/2023:\n\n- Add flow1d attention\n\nPlease refer to [changelog.md](docs/en/changelog.md) for details and release history.\n\n## Installation\n\nPlease refer to [install.md](docs/en/install.md) for installation and\nguidance in [dataset_prepare](docs/en/dataset_prepare.md) for dataset preparation.\n\n## Get Started\n\nIf you're new of optical flow, you can start with [learn the basics](docs/en/intro.md). If you\u2019re familiar with it, check out [getting_started](docs/en/getting_started.md) to try out MMFlow.\n\nRefer to the below tutorials to dive deeper:\n\n- [config](docs/en/tutorials/0_config.md)\n\n- [model inference](docs/en/tutorials/1_inference.md)\n\n- [fine tuning](docs/en/tutorials/2_finetune.md)\n\n- [data pipeline](docs/en/tutorials/3_data_pipeline.md)\n\n- [add new modules](docs/en/tutorials/4_new_modules.md)\n\n- [customized runtime](docs/en/tutorials/5_customize_runtime.md)\n\n## Benchmark and model zoo\n\nResults and models are available in the [model zoo](docs/en/model_zoo.md).\n\nSupported methods:\n\n- [x] [FlowNet (ICCV'2015)](configs/flownet/README.md)\n- [x] [FlowNet2 (CVPR'2017)](configs/flownet2/README.md)\n- [x] [PWC-Net (CVPR'2018)](configs/pwcnet/README.md)\n- [x] [LiteFlowNet (CVPR'2018)](configs/liteflownet/README.md)\n- [x] [LiteFlowNet2 (TPAMI'2020)](configs/liteflownet2/README.md)\n- [x] [IRR (CVPR'2019)](configs/irr/README.md)\n- [x] [MaskFlownet (CVPR'2020)](configs/maskflownet/README.md)\n- [x] [RAFT (ECCV'2020)](configs/raft/README.md)\n- [x] [GMA (ICCV' 2021)](configs/gma/README.md)\n\n## Contributing\n\nWe appreciate all contributions improving MMFlow. Please refer to [CONTRIBUTING.md](https://github.com/open-mmlab/mmcv/blob/master/CONTRIBUTING.md) in MMCV for more details about the contributing guideline.\n\n## Acknowledgement\n\nMMFlow is an open source project that is contributed by researchers and engineers from various colleges and companies. We appreciate all the contributors who implement their methods or add new features, as well as users who give valuable feedbacks.\nWe wish that the toolbox and benchmark could serve the growing research community by providing a flexible toolkit to reimplement existing methods and develop their own new flow algorithm.\n\n## Citation\n\nIf you use this toolbox or benchmark in your research, please cite this project.\n\n```BibTeX\n@misc{2021mmflow,\n    title={{MMFlow}: OpenMMLab Optical Flow Toolbox and Benchmark},\n    author={MMFlow Contributors},\n    howpublished = {\\url{https://github.com/open-mmlab/mmflow}},\n    year={2021}\n}\n```\n\n## License\n\nThis project is released under the [Apache 2.0 license](LICENSE).\n\n## Projects in OpenMMLab\n\n- [MMCV](https://github.com/open-mmlab/mmcv): OpenMMLab foundational library for computer vision.\n- [MIM](https://github.com/open-mmlab/mim): MIM installs OpenMMLab packages.\n- [MMClassification](https://github.com/open-mmlab/mmclassification): OpenMMLab image classification toolbox and benchmark.\n- [MMDetection](https://github.com/open-mmlab/mmdetection): OpenMMLab detection toolbox and benchmark.\n- [MMDetection3D](https://github.com/open-mmlab/mmdetection3d): OpenMMLab's next-generation platform for general 3D object detection.\n- [MMRotate](https://github.com/open-mmlab/mmrotate): OpenMMLab rotated object detection toolbox and benchmark.\n- [MMSegmentation](https://github.com/open-mmlab/mmsegmentation): OpenMMLab semantic segmentation toolbox and benchmark.\n- [MMOCR](https://github.com/open-mmlab/mmocr): OpenMMLab text detection, recognition, and understanding toolbox.\n- [MMPose](https://github.com/open-mmlab/mmpose): OpenMMLab pose estimation toolbox and benchmark.\n- [MMHuman3D](https://github.com/open-mmlab/mmhuman3d): OpenMMLab 3D human parametric model toolbox and benchmark.\n- [MMSelfSup](https://github.com/open-mmlab/mmselfsup): OpenMMLab self-supervised learning toolbox and benchmark.\n- [MMRazor](https://github.com/open-mmlab/mmrazor): OpenMMLab model compression toolbox and benchmark.\n- [MMFewShot](https://github.com/open-mmlab/mmfewshot): OpenMMLab fewshot learning toolbox and benchmark.\n- [MMAction2](https://github.com/open-mmlab/mmaction2): OpenMMLab's next-generation action understanding toolbox and benchmark.\n- [MMTracking](https://github.com/open-mmlab/mmtracking): OpenMMLab video perception toolbox and benchmark.\n- [MMFlow](https://github.com/open-mmlab/mmflow): OpenMMLab optical flow toolbox and benchmark.\n- [MMEditing](https://github.com/open-mmlab/mmediting): OpenMMLab image and video editing toolbox.\n- [MMGeneration](https://github.com/open-mmlab/mmgeneration): OpenMMLab image and video generative models toolbox.\n- [MMDeploy](https://github.com/open-mmlab/mmdeploy): OpenMMLab Model Deployment Framework.\n\n\n",
    "bugtrack_url": null,
    "license": "Apache License 2.0",
    "summary": "OpenMMLab Optical flow Toolbox and Benchmark",
    "version": "0.5.2",
    "split_keywords": [
        "computer vision",
        "optical flow"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f708420cab284e57ad7b406086ed022c5dd58ca146e7ceb5edeb1e7e49562b09",
                "md5": "1812f0de4bb8385e6912bb090b18a667",
                "sha256": "d77d3f677d1b681e9bb01b00bc698836b14d7a30fc88464b2c4efdcb3f2736c2"
            },
            "downloads": -1,
            "filename": "mmflow-0.5.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "1812f0de4bb8385e6912bb090b18a667",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 295365,
            "upload_time": "2023-01-10T16:30:50",
            "upload_time_iso_8601": "2023-01-10T16:30:50.707076Z",
            "url": "https://files.pythonhosted.org/packages/f7/08/420cab284e57ad7b406086ed022c5dd58ca146e7ceb5edeb1e7e49562b09/mmflow-0.5.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "426d76e0b5a94311c8d7552af349e7f0ec810a2048ec8e62ddf00ba0510bcec0",
                "md5": "f865ae76a091ec8fcd4bff6d48cc7142",
                "sha256": "29e6b346bd413c98ee19fc1e04e51a7c6843193ee439da453c47e07f7534eb04"
            },
            "downloads": -1,
            "filename": "mmflow-0.5.2.tar.gz",
            "has_sig": false,
            "md5_digest": "f865ae76a091ec8fcd4bff6d48cc7142",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 140168,
            "upload_time": "2023-01-10T16:30:52",
            "upload_time_iso_8601": "2023-01-10T16:30:52.469623Z",
            "url": "https://files.pythonhosted.org/packages/42/6d/76e0b5a94311c8d7552af349e7f0ec810a2048ec8e62ddf00ba0510bcec0/mmflow-0.5.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-01-10 16:30:52",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "open-mmlab",
    "github_project": "mmflow",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "mmflow"
}
        
Elapsed time: 0.02865s