Skip to content

Commit 0b3a22b

Browse files
authored
Update mmseg/models/decode_heads/decode_head.py
1 parent 67d3862 commit 0b3a22b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mmseg/models/decode_heads/decode_head.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class BaseDecodeHead(BaseModule, metaclass=ABCMeta):
4343
dict(type='DiceLoss', loss_name='loss_dice')]
4444
Default: dict(type='CrossEntropyLoss').
4545
ignore_index (int | None): The label index to be ignored. When using
46-
masked BCE loss, ignore_index should be set to None. Default: 255
46+
masked BCE loss, ignore_index should be set to None. Default: 255.
4747
sampler (dict|None): The config of segmentation map sampler.
4848
Default: None.
4949
align_corners (bool): align_corners argument of F.interpolate.

0 commit comments

Comments
 (0)