README.md 1.35 KB
Newer Older
mashun1's avatar
mashun1 committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# BasicSR docs

This folder includes:

- Auto-generated API in [*basicsr.readthedocs.io*](https://basicsr.readthedocs.io/en/latest/#)
- Other documents about BasicSR

## 中文文档

我们提供了更完整的 BasicSR 中文解读文档 PDF,你所需要的内容可以在相应的章节中找到。

文档的最新版可以从 [BasicSR-docs/releases](https://github.com/XPixelGroup/BasicSR-docs/releases) 下载。

欢迎大家一起来帮助查找文档中的错误,完善文档。

## 如何在本地自动生成 API docs

```bash
cd docs
make html
```

## 规范

rst 语法参考: https://3vshej.cn/rstSyntax/

着重几个点:

```rst
- 空行
- :file:`file`, :func:`func`, :class:`class`, :math:`\gamma`
- **粗体**,*斜体*
- ``Paper: title``
- Reference: link
```

Examples:

```python
class SPyNetTOF(nn.Module):
    """SPyNet architecture for TOF.

    Note that this implementation is specifically for TOFlow. Please use :file:`spynet_arch.py` for general use.
    They differ in the following aspects:

    1. The basic modules here contain BatchNorm.
    2. Normalization and denormalization are not done here, as they are done in TOFlow.

    ``Paper: Optical Flow Estimation using a Spatial Pyramid Network``

    Reference: https://github.com/Coldog2333/pytoflow

    Args:
        load_path (str): Path for pretrained SPyNet. Default: None.
    """
```