From b77623e783c0a41808ac90259afb8a596cedef45 Mon Sep 17 00:00:00 2001 From: yinchimaoliang Date: Mon, 14 Dec 2020 02:06:01 +0800 Subject: [PATCH] change 'reduct' to 'reduce' (#298) --- mmseg/datasets/pipelines/loading.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mmseg/datasets/pipelines/loading.py b/mmseg/datasets/pipelines/loading.py index a98ddf20b..fdfc496ba 100644 --- a/mmseg/datasets/pipelines/loading.py +++ b/mmseg/datasets/pipelines/loading.py @@ -91,7 +91,7 @@ class LoadAnnotations(object): """Load annotations for semantic segmentation. Args: - reduct_zero_label (bool): Whether reduce all label value by 1. + reduce_zero_label (bool): Whether reduce all label value by 1. Usually used for datasets where 0 is background label. Default: False. file_client_args (dict): Arguments to instantiate a FileClient.