change 'reduct' to 'reduce' (#298)

This commit is contained in:
yinchimaoliang 2020-12-14 02:06:01 +08:00 committed by GitHub
parent 7678ecc333
commit b77623e783

View File

@ -91,7 +91,7 @@ class LoadAnnotations(object):
"""Load annotations for semantic segmentation. """Load annotations for semantic segmentation.
Args: 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. Usually used for datasets where 0 is background label.
Default: False. Default: False.
file_client_args (dict): Arguments to instantiate a FileClient. file_client_args (dict): Arguments to instantiate a FileClient.