From 1893271b94924f0ef4e6a3b0df1f7eda96ceb9fc Mon Sep 17 00:00:00 2001 From: LielinJiang <50691816+LielinJiang@users.noreply.github.com> Date: Thu, 19 Nov 2020 20:50:05 +0800 Subject: [PATCH] Fix typos (#94) * fix docs --- ppgan/utils/options.py | 2 +- ppgan/utils/registry.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ppgan/utils/options.py b/ppgan/utils/options.py index 10a4066..9aff161 100644 --- a/ppgan/utils/options.py +++ b/ppgan/utils/options.py @@ -16,7 +16,7 @@ import argparse def parse_args(): - parser = argparse.ArgumentParser(description='Segmentron') + parser = argparse.ArgumentParser(description='PaddleGAN') parser.add_argument('--config-file', metavar="FILE", help='config file path') diff --git a/ppgan/utils/registry.py b/ppgan/utils/registry.py index d8cd1ce..979572d 100644 --- a/ppgan/utils/registry.py +++ b/ppgan/utils/registry.py @@ -16,7 +16,7 @@ class Registry(object): """ 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 BACKBONE_REGISTRY = Registry('BACKBONE') To register an object: -- GitLab