未验证 提交 1893271b 编写于 作者: L LielinJiang 提交者: GitHub

Fix typos (#94)

* fix docs
上级 4953961a
...@@ -16,7 +16,7 @@ import argparse ...@@ -16,7 +16,7 @@ import argparse
def parse_args(): def parse_args():
parser = argparse.ArgumentParser(description='Segmentron') parser = argparse.ArgumentParser(description='PaddleGAN')
parser.add_argument('--config-file', parser.add_argument('--config-file',
metavar="FILE", metavar="FILE",
help='config file path') help='config file path')
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
class Registry(object): class Registry(object):
""" """
The registry that provides name -> object mapping, to support third-party users' custom modules. The registry that provides name -> object mapping, to support third-party users' custom modules.
To create a registry (inside segmentron): To create a registry (inside ppgan):
.. code-block:: python .. code-block:: python
BACKBONE_REGISTRY = Registry('BACKBONE') BACKBONE_REGISTRY = Registry('BACKBONE')
To register an object: To register an object:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册