Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
MengzhangLI committed Nov 22, 2022
1 parent 589d8ac commit 9144071
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mmseg/models/decode_heads/knet_head.py
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,9 @@ class IterativeDecodeHead(BaseDecodeHead):

def __init__(self, num_stages, kernel_generate_head, kernel_update_head,
**kwargs):
# ``IterativeDecodeHead`` would skip initialization of
# ``BaseDecodeHead`` which would be called when building
# ``self.kernel_generate_head``.
super(BaseDecodeHead, self).__init__(**kwargs)
assert num_stages == len(kernel_update_head)
self.num_stages = num_stages
Expand Down

0 comments on commit 9144071

Please sign in to comment.