otx.api.entities.explain_parameters#
This module define the Explain entity.
Functions
|
This is the default progress callback for OptimizationParameters. |
Classes
|
Explain parameters. |
- class otx.api.entities.explain_parameters.ExplainParameters(update_progress: ~typing.Callable[[int, float | None], ~typing.Any] = <function default_progress_callback>, explainer: str = '', process_saliency_maps: bool = False, explain_predicted_classes: bool = True)[source]#
Bases:
object
Explain parameters.
- explainer#
Explain algorithm to be used in explanation mode. Will be converted automatically to lowercase.
- Type:
- process_saliency_maps#
Processing of saliency map includes (1) resize to input image resolution and (2) apply a colormap.
- Type:
- explain_predicted_classes#
Provides explanations only for predicted classes. Otherwise, explain all classes.
- Type: