diff --git a/mmseg/models/decode_heads/aspp_head.py b/mmseg/models/decode_heads/aspp_head.py index 29b4cdd07c..7059aee961 100644 --- a/mmseg/models/decode_heads/aspp_head.py +++ b/mmseg/models/decode_heads/aspp_head.py @@ -93,7 +93,7 @@ def __init__(self, dilations=(1, 6, 12, 18), **kwargs): def _forward_feature(self, inputs): """Forward function for feature maps before classifying each pixel with - `self.cls_seg` fc. + ``self.cls_seg`` fc. Args: inputs (list[Tensor]): List of multi-level img features. diff --git a/mmseg/models/decode_heads/fcn_head.py b/mmseg/models/decode_heads/fcn_head.py index 20dfc7bbf7..fb79a0d7c7 100644 --- a/mmseg/models/decode_heads/fcn_head.py +++ b/mmseg/models/decode_heads/fcn_head.py @@ -74,7 +74,7 @@ def __init__(self, def _forward_feature(self, inputs): """Forward function for feature maps before classifying each pixel with - `self.cls_seg` fc. + ``self.cls_seg`` fc. Args: inputs (list[Tensor]): List of multi-level img features. diff --git a/mmseg/models/decode_heads/psp_head.py b/mmseg/models/decode_heads/psp_head.py index 4ad31f7bed..6990676ff2 100644 --- a/mmseg/models/decode_heads/psp_head.py +++ b/mmseg/models/decode_heads/psp_head.py @@ -94,7 +94,7 @@ def __init__(self, pool_scales=(1, 2, 3, 6), **kwargs): def _forward_feature(self, inputs): """Forward function for feature maps before classifying each pixel with - `self.cls_seg` fc. + ``self.cls_seg`` fc. Args: inputs (list[Tensor]): List of multi-level img features. diff --git a/mmseg/models/decode_heads/uper_head.py b/mmseg/models/decode_heads/uper_head.py index 59c1101bb7..e752896d61 100644 --- a/mmseg/models/decode_heads/uper_head.py +++ b/mmseg/models/decode_heads/uper_head.py @@ -86,7 +86,7 @@ def psp_forward(self, inputs): def _forward_feature(self, inputs): """Forward function for feature maps before classifying each pixel with - `self.cls_seg` fc. + ``self.cls_seg`` fc. Args: inputs (list[Tensor]): List of multi-level img features.