mirror of
https://github.com/open-mmlab/mmsegmentation.git
synced 2025-06-03 22:03:48 +08:00
change 'reduct' to 'reduce' (#298)
This commit is contained in:
parent
7678ecc333
commit
b77623e783
@ -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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user