mmcv/README.rst

66 lines
1.7 KiB
ReStructuredText
Raw Normal View History

2019-06-24 20:11:30 +08:00
MMCV
2018-10-12 13:07:35 +08:00
====
.. 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
2018-10-12 13:07:35 +08:00
.. 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
------------
2019-06-24 20:11:30 +08:00
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>`_.
2018-10-12 13:07:35 +08:00
It provides the following functionalities.
- Universal IO APIs
- Image/Video processing
2018-10-12 13:07:35 +08:00
- Image and annotation visualization
- Useful utilities (progress bar, timer, ...)
2018-10-13 23:14:58 +08:00
- PyTorch runner with hooking mechanism
2018-10-12 13:07:35 +08:00
- Various CNN architectures
- High-quality implementation of common CUDA ops
2018-10-12 13:07:35 +08:00
See the `documentation <http://mmcv.readthedocs.io/en/latest>`_ for more features and usage.
Note: MMCV requires Python 3.6+.
2020-02-15 15:09:36 +08:00
2018-10-12 13:07:35 +08:00
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
2019-07-31 02:33:58 +08:00
pip install -e .
2020-07-07 01:00:37 +08:00
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`.