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

Move export functionality to AnomalyModule as class methods #1803

Merged
Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

### Changed

- πŸ”¨ Move all export functionalities to AnomalyModule as base methods in https://github.com/openvinotoolkit/anomalib/pull/1803
- πŸ”¨ Version bump by @ashwinvaidya17 in https://github.com/openvinotoolkit/anomalib/pull/1305
- πŸ”¨ Modify README custom dataset by @Kiminjo in https://github.com/openvinotoolkit/anomalib/pull/1314
- πŸ”¨ Change the documentation URL in `README.md` and add commands to run each inferencer by @samet-akcay in https://github.com/openvinotoolkit/anomalib/pull/1326
Expand Down
2 changes: 1 addition & 1 deletion notebooks/000_getting_started/001_getting_started.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@
"from anomalib import TaskType\n",
"from anomalib.data import MVTec\n",
"from anomalib.data.utils import read_image\n",
"from anomalib.deploy import ExportType, OpenVINOInferencer\n",
"from anomalib.deploy import OpenVINOInferencer, ExportType\n",
"from anomalib.engine import Engine\n",
"from anomalib.models import Padim"
]
Expand Down
12 changes: 2 additions & 10 deletions src/anomalib/deploy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,7 @@
# Copyright (C) 2022-2024 Intel Corporation
# SPDX-License-Identifier: Apache-2.0

from .export import ExportType, export_to_onnx, export_to_openvino, export_to_torch
from .export import ExportType
from .inferencers import Inferencer, OpenVINOInferencer, TorchInferencer

__all__ = [
"ExportType",
"Inferencer",
"OpenVINOInferencer",
"TorchInferencer",
"export_to_onnx",
"export_to_openvino",
"export_to_torch",
]
__all__ = ["Inferencer", "OpenVINOInferencer", "TorchInferencer", "ExportType"]
Loading