Skip to content

Commit

Permalink
fix import issues
Browse files Browse the repository at this point in the history
  • Loading branch information
negvet committed Aug 29, 2024
1 parent 7e946c3 commit 3243f39
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/intg/test_detection.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from openvino_xai.common.utils import retrieve_otx_model
from openvino_xai.explainer.explainer import Explainer, ExplainMode
from openvino_xai.explainer.utils import get_preprocess_fn
from openvino_xai.methods.black_box.aise import AISEDetection
from openvino_xai.methods.black_box.aise.detection import AISEDetection
from openvino_xai.methods.factory import BlackBoxMethodFactory, WhiteBoxMethodFactory
from openvino_xai.methods.white_box.det_class_probability_map import (
DetClassProbabilityMap,
Expand Down
3 changes: 2 additions & 1 deletion tests/unit/methods/black_box/test_black_box_method.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@

from openvino_xai.common.utils import retrieve_otx_model
from openvino_xai.explainer.utils import get_postprocess_fn, get_preprocess_fn
from openvino_xai.methods.black_box.aise import AISEClassification, AISEDetection
from openvino_xai.methods.black_box.aise.classification import AISEClassification
from openvino_xai.methods.black_box.aise.detection import AISEDetection
from openvino_xai.methods.black_box.base import Preset
from openvino_xai.methods.black_box.rise import RISE
from tests.intg.test_classification import DEFAULT_CLS_MODEL
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/methods/test_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from openvino_xai.common.parameters import Method, Task
from openvino_xai.common.utils import retrieve_otx_model
from openvino_xai.explainer.utils import get_postprocess_fn, get_preprocess_fn
from openvino_xai.methods.black_box.aise import AISEClassification
from openvino_xai.methods.black_box.aise.classification import AISEClassification
from openvino_xai.methods.factory import BlackBoxMethodFactory, WhiteBoxMethodFactory
from openvino_xai.methods.white_box.activation_map import ActivationMap
from openvino_xai.methods.white_box.det_class_probability_map import (
Expand Down

0 comments on commit 3243f39

Please sign in to comment.