From 55c4625e89e4d084f70f462974c66e67077672cd Mon Sep 17 00:00:00 2001 From: Miao Zheng <76149310+MeowZheng@users.noreply.github.com> Date: Wed, 15 Dec 2021 14:16:09 +0800 Subject: [PATCH] [Docs] Refine readme and docstring (#54) --- README.md | 2 +- mmflow/datasets/pipelines/transforms.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 58a4775..d60ecd3 100644 --- a/README.md +++ b/README.md @@ -78,7 +78,7 @@ Refer to the below tutorials to dive deeper: - [add new modules](docs/en/tutorials/4_new_modules.md) -- [customized runtime](docs/en/tutorials/5_customize_runtime.md)。 +- [customized runtime](docs/en/tutorials/5_customize_runtime.md) ## Contributing diff --git a/mmflow/datasets/pipelines/transforms.py b/mmflow/datasets/pipelines/transforms.py index 4fc1620..aa411a5 100644 --- a/mmflow/datasets/pipelines/transforms.py +++ b/mmflow/datasets/pipelines/transforms.py @@ -722,7 +722,7 @@ def crop(self, img, crop_bbox): return img def __call__(self, results): - """Call function to randomly crop images, semantic segmentation maps. + """Call function to randomly crop images, flow maps. Args: results (dict): Result dict from loading pipeline.