class documentation
class HeadSegmentationMetadata(HeadMetadata):
Metadata for a segmentation head.
| Instance Variable | background |
Whether the pixels classified as index 0 should be treated as background. |
| Instance Variable | classes |
Names of classes segmented by the model. |
| Instance Variable | is |
Whether the output already contains softmax probabilities. |
| Instance Variable | n |
Number of classes segmented by the model. |
Inherited from HeadMetadata:
| Class Variable | model |
Undocumented |
| Instance Variable | postprocessor |
Optional path to the postprocessor. |