Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing explainers to Explainers enum #34

Merged
merged 1 commit into from
Jan 10, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions autoxai/context_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,26 @@

from autoxai import explainer
from autoxai.explainer import (
DeconvolutionCVExplainer,
DeepLIFTCVExplainer,
DeepLIFTSHAPCVExplainer,
GradientSHAPCVExplainer,
GuidedGradCAMCVExplainer,
InputXGradientCVExplainer,
IntegratedGradientsCVExplainer,
LayerConductanceCVExplainer,
LayerDeepLIFTCVExplainer,
LayerDeepLIFTSHAPCVExplainer,
LayerGradCAMCVExplainer,
LayerGradientSHAPCVExplainer,
LayerInputXGradientCVExplainer,
LayerIntegratedGradientsCVExplainer,
LayerLRPCVExplainer,
LayerNoiseTunnelCVExplainer,
LRPCVExplainer,
NoiseTunnelCVExplainer,
OcculusionCVExplainer,
SaliencyCVExplainer,
)
from autoxai.explainer.base_explainer import CVExplainerT
from autoxai.logger import create_logger
Expand Down Expand Up @@ -67,6 +76,15 @@ class Explainers(Enum):
CV_LAYER_GRADIENT_SHAP_EXPLAINER: str = LayerGradientSHAPCVExplainer.__name__
CV_LAYER_LRP_EXPLAINER: str = LayerLRPCVExplainer.__name__
CV_LAYER_GRADCAM_EXPLAINER: str = LayerGradCAMCVExplainer.__name__
CV_INPUT_X_GRADIENT_EXPLAINER: str = InputXGradientCVExplainer.__name__
CV_LAYER_INPUT_X_GRADIENT_EXPLAINER: str = LayerInputXGradientCVExplainer.__name__
CV_DEEPLIFT_EXPLAINER: str = DeepLIFTCVExplainer.__name__
CV_LAYER_DEEPLIFT_EXPLAINER: str = LayerDeepLIFTCVExplainer.__name__
CV_DEEPLIFT_SHAP_EXPLAINER: str = DeepLIFTSHAPCVExplainer.__name__
CV_LAYER_DEEPLIFT_SHAP_EXPLAINER: str = LayerDeepLIFTSHAPCVExplainer.__name__
CV_DECONVOLUTION_EXPLAINER: str = DeconvolutionCVExplainer.__name__
CV_LAYER_CONDUCTANCE_EXPLAINER: str = LayerConductanceCVExplainer.__name__
CV_SALIENCY_EXPLAINER: str = SaliencyCVExplainer.__name__


@dataclass
Expand Down