Skip to content

Commit bedec40

Browse files
SpriteaMeowZheng
authored andcommitted
Fix the docstring error in the class PascalContextDataset59 (open-mmlab#2450)
## Motivation The docstring in the class PascalContextDataset59 is misleading. Try to fix it. ## Modification The docstring in the class PascalContextDataset59 is changed.
1 parent c143f96 commit bedec40

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

mmseg/datasets/pascal_context.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,10 @@ def __init__(self, split, **kwargs):
5858
class PascalContextDataset59(CustomDataset):
5959
"""PascalContext dataset.
6060
61-
In segmentation map annotation for PascalContext, 0 stands for background,
62-
which is included in 60 categories. ``reduce_zero_label`` is fixed to
63-
False. The ``img_suffix`` is fixed to '.jpg' and ``seg_map_suffix`` is
64-
fixed to '.png'.
61+
In segmentation map annotation for PascalContext59, background is not
62+
included in 59 categories. ``reduce_zero_label`` is fixed to True.
63+
The ``img_suffix`` is fixed to '.jpg' and ``seg_map_suffix`` is fixed
64+
to '.png'.
6565
6666
Args:
6767
split (str): Split txt file for PascalContext.

0 commit comments

Comments
 (0)