Skip to content

Commit d4eaee3

Browse files
authored
Revert "🚚 Refactor Benchmarking Script (#1216)"
This reverts commit 784767f.
1 parent 5a46d03 commit d4eaee3

File tree

7 files changed

+289
-425
lines changed

7 files changed

+289
-425
lines changed

pyproject.toml

-3
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,6 @@ target-version = "py38"
5858
# Allow imports relative to the "src" and "tests" directories.
5959
src = ["src", "tests"]
6060

61-
[tool.ruff.isort]
62-
known-third-party = ["wandb", "comet_ml"]
63-
6461
[tool.ruff.mccabe]
6562
# Unlike Flake8, default to a complexity level of 10.
6663
max-complexity = 10

requirements/loggers.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
comet-ml>=3.31.7
22
gradio>=2.9.4
33
tensorboard
4-
wandb>=0.13.0
4+
wandb==0.12.17
55
GitPython
66
ipykernel

src/anomalib/utils/sweep/__init__.py

+2-6
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,12 @@
55

66
from .config import flatten_sweep_params, get_run_config, set_in_nested_config
77
from .helpers import get_openvino_throughput, get_sweep_callbacks, get_torch_throughput
8-
from .utils import Status, exception_wrapper, redirect_output
98

109
__all__ = [
11-
"exception_wrapper",
12-
"flatten_sweep_params",
1310
"get_run_config",
11+
"set_in_nested_config",
1412
"get_sweep_callbacks",
1513
"get_openvino_throughput",
1614
"get_torch_throughput",
17-
"set_in_nested_config",
18-
"redirect_output",
19-
"Status",
15+
"flatten_sweep_params",
2016
]

src/anomalib/utils/sweep/utils.py

-105
This file was deleted.

0 commit comments

Comments
 (0)