vis4d.op.seg.semantic_fpn¶
Semantic FPN Head for segmentation.
Classes
|
SemanticFPNHead used in Panoptic FPN. |
|
Output of the SemanticFPN prediction. |
- class SemanticFPNHead(num_classes=53, in_channels=256, inner_channels=128, start_level=2, end_level=6, dropout_ratio=0.1)[source]¶
SemanticFPNHead used in Panoptic FPN.
Creates an instance of the class.
- Parameters:
num_classes (int) – Number of classes. Default: 53.
in_channels (int) – Number of channels in the input feature map.
inner_channels (int) – Number of channels in inner features.
start_level (int) – The start level of the input features used in SemanticFPN.
end_level (int) – The end level of the used features, the
end_level
-th layer will not be used.dropout_ratio (float) – The drop ratio of dropout layer. Default: 0.1.