Commit d2358c87 authored by Kai Chen's avatar Kai Chen
Browse files

update the documentation for release

parent 9c38b35f
# mmcv
Open MMLab Computer Vision Foundation
## Introduction mmcv
====
.. image:: https://travis-ci.com/open-mmlab/mmcv.svg?branch=master
:target: https://travis-ci.com/open-mmlab/mmcv
.. 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 `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). research projects in MMLAB, such as `mmdetection <https://github.com/open-mmlab/mmdetection>`_.
It provides the following functionalities. It provides the following functionalities.
...@@ -13,21 +27,23 @@ It provides the following functionalities. ...@@ -13,21 +27,23 @@ It provides the following functionalities.
- PyTorch runner with hooking machanism - PyTorch runner with hooking machanism
- Various CNN architectures - Various CNN architectures
See the [documentation](http://mmcv.readthedocs.io/en/latest) for more features and usage. See the `documentation <http://mmcv.readthedocs.io/en/latest>`_ for more features and usage.
### Installation Installation
------------
Try and start with Try and start with
```shell .. code::
pip install mmcv
``` pip install mmcv
or install from source
If you want to install from source .. code::
```shell git clone https://github.com/open-mmlab/mmcv.git
git clone https://github.com/open-mmlab/mmcv.git cd mmcv
cd mmcv pip install . # (add "-e" if you want to develop or modify the codes)
pip install . # (add "-e" if you want to develop or modify the codes)
```
## CNN
The subpackage `mmcv.cnn` ships with lots of CNN backbones and the number is growing.
Different from models provided in `torchvision`, these models are designed
for actual usage in different cases, with highly customizable interfaces.
Taking ResNet as an example, you can specify the following things:
- number of stages
- stage of output feature maps
- location of the stride 2 convolutional layer
- strides and dilation of each stage
- whether to freeze some first stages
- whether to fix BN stats
- whether to fix BN parameters
- whether to use checkpoint to save memory
Welcome to mmcv's documentation! .. include:: ../README.rst
==================================
Contents
========
.. toctree:: .. toctree::
:maxdepth: 2 :maxdepth: 2
intro.md
io.md io.md
image.md image.md
video.md video.md
visualization.md visualization.md
utils.md utils.md
runner.md runner.md
cnn.md
api.rst api.rst
......
...@@ -2,3 +2,5 @@ ...@@ -2,3 +2,5 @@
The runner module aims to help users to start training with less code, while stays The runner module aims to help users to start training with less code, while stays
flexible and configurable. flexible and configurable.
Documentation and examples are still on going.
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment