otx.algorithms.segmentation.utils#

Collection of utils for task implementation in Segmentation Task.

Functions

get_activation_map(features[, normalize])

Getter activation_map functions.

get_seg_model_api_configuration(...)

Get ModelAPI config.

otx.algorithms.segmentation.utils.get_activation_map(features: ndarray | Iterable | int | float, normalize: bool = True)[source]#

Getter activation_map functions.

otx.algorithms.segmentation.utils.get_seg_model_api_configuration(label_schema: LabelSchemaEntity, hyperparams: ConfigDict)[source]#

Get ModelAPI config.