Skip to content

Commit

Permalink
fix docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
MengzhangLI committed Feb 25, 2022
1 parent c3dea6e commit 9bd94ef
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion mmseg/models/decode_heads/aspp_head.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion mmseg/models/decode_heads/fcn_head.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion mmseg/models/decode_heads/psp_head.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion mmseg/models/decode_heads/uper_head.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 9bd94ef

Please sign in to comment.