otx.algorithms.classification.utils#
OTX Algorithms - Utils.
Functions
Return hierarchical labels list which is adjusted to model outputs classes. |
|
|
Get multihead info by label schema. |
|
Get classification inferencer config by label schema. |
|
Get classification deploy config. |
Get ModelAPI config. |
- otx.algorithms.classification.utils.get_cls_deploy_config(label_schema: LabelSchemaEntity, inference_config: Dict[str, Any])[source]#
Get classification deploy config.
- otx.algorithms.classification.utils.get_cls_inferencer_configuration(label_schema: LabelSchemaEntity)[source]#
Get classification inferencer config by label schema.
- otx.algorithms.classification.utils.get_cls_model_api_configuration(label_schema: LabelSchemaEntity, inference_config: Dict[str, Any])[source]#
Get ModelAPI config.
- otx.algorithms.classification.utils.get_hierarchical_label_list(hierarchical_cls_heads_info: Dict, labels: List) List[LabelEntity] [source]#
Return hierarchical labels list which is adjusted to model outputs classes.
- otx.algorithms.classification.utils.get_multihead_class_info(label_schema: LabelSchemaEntity)[source]#
Get multihead info by label schema.