Skip to content

Commit

Permalink
try to fix fence IoU nan and grass 0;
Browse files Browse the repository at this point in the history
  • Loading branch information
sennnnn committed Apr 8, 2021
1 parent b081822 commit f898336
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mmseg/datasets/pascal_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,6 @@ def __init__(self, split, **kwargs):
img_suffix='.jpg',
seg_map_suffix='.png',
split=split,
reduce_zero_label=True,
reduce_zero_label=False,
**kwargs)
assert osp.exists(self.img_dir) and self.split is not None

0 comments on commit f898336

Please sign in to comment.