OpenMMLab Computer Vision Foundation
 
 
 
 
Go to file
Kai Chen b11c56603f
fix syncbn when dist is unavailabel (#388)
2020-07-07 15:04:50 +08:00
.github/workflows Add macos building in github action (#387) 2020-07-07 13:14:24 +08:00
docs Fix docstring formats (#383) 2020-07-04 00:55:25 +08:00
examples Fix docstring formats (#383) 2020-07-04 00:55:25 +08:00
mmcv fix syncbn when dist is unavailabel (#388) 2020-07-07 15:04:50 +08:00
tests Fix docstring formats (#383) 2020-07-04 00:55:25 +08:00
.dockerignore fix dependencies (#146) 2019-11-21 23:34:26 +08:00
.gitignore Add docs for CNN modules (#266) 2020-05-05 12:02:33 +08:00
.pre-commit-config.yaml update pre-commit hook config (#384) 2020-07-04 02:53:51 +08:00
.readthedocs.yml add missing requirements for the doc building (#269) 2020-05-05 14:22:23 +08:00
CONTRIBUTING.md Update pre-commit hook config (#200) 2020-03-01 15:51:40 +08:00
Dockerfile fix dependencies (#146) 2019-11-21 23:34:26 +08:00
LICENSE Add copyright header (#171) 2020-01-10 13:34:42 +08:00
MANIFEST.in include cuda and cpp files (#379) 2020-07-02 19:18:22 +08:00
README.rst fix macOS compile (#386) 2020-07-07 01:00:37 +08:00
requirements.txt include cuda and cpp files (#379) 2020-07-02 19:18:22 +08:00
setup.cfg Add macos building in github action (#387) 2020-07-07 13:14:24 +08:00
setup.py fix macOS compile (#386) 2020-07-07 01:00:37 +08:00

README.rst

MMCV
====

.. image:: https://img.shields.io/pypi/v/mmcv
  :target: https://pypi.org/project/mmcv

.. image:: https://github.com/open-mmlab/mmcv/workflows/build/badge.svg
  :target: https://github.com/open-mmlab/mmcv/actions

.. image:: https://codecov.io/gh/open-mmlab/mmcv/branch/master/graph/badge.svg
  :target: https://codecov.io/gh/open-mmlab/mmcv

.. image:: 	https://img.shields.io/github/license/open-mmlab/mmcv.svg
  :target: https://github.com/open-mmlab/mmcv/blob/master/LICENSE


Introduction
------------

MMCV is a foundational python library for computer vision research and supports many
research projects in MMLAB, such as `MMDetection <https://github.com/open-mmlab/mmdetection>`_
and `MMAction <https://github.com/open-mmlab/mmaction>`_.

It provides the following functionalities.

- Universal IO APIs
- Image/Video processing
- Image and annotation visualization
- Useful utilities (progress bar, timer, ...)
- PyTorch runner with hooking mechanism
- Various CNN architectures
- High-quality implementation of common CUDA ops

See the `documentation <http://mmcv.readthedocs.io/en/latest>`_ for more features and usage.

Note: MMCV requires Python 3.6+.


Installation
------------

Try and start with

.. code::

    pip install mmcv


or install from source

.. code::

    git clone https://github.com/open-mmlab/mmcv.git
    cd mmcv
    pip install -e .

If you are on macOS, replace the last command with

.. code::

   CC=lang CXX=clang++ CFLAGS='-stdlib=libc++' pip install -e .

Note: If you would like to use :code:`opencv-python-headless` instead of :code:`opencv-python`,
e.g., in a minimum container environment or servers without GUI,
you can first install it before installing MMCV to skip the installation of :code:`opencv-python`.