Skip to content

Commit

Permalink
Revert "🚚 Refactor Benchmarking Script (#1216)"
Browse files Browse the repository at this point in the history
This reverts commit 784767f.
  • Loading branch information
samet-akcay authored Aug 7, 2023
1 parent 5a46d03 commit d4eaee3
Show file tree
Hide file tree
Showing 7 changed files with 289 additions and 425 deletions.
3 changes: 0 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,6 @@ target-version = "py38"
# Allow imports relative to the "src" and "tests" directories.
src = ["src", "tests"]

[tool.ruff.isort]
known-third-party = ["wandb", "comet_ml"]

[tool.ruff.mccabe]
# Unlike Flake8, default to a complexity level of 10.
max-complexity = 10
Expand Down
2 changes: 1 addition & 1 deletion requirements/loggers.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
comet-ml>=3.31.7
gradio>=2.9.4
tensorboard
wandb>=0.13.0
wandb==0.12.17
GitPython
ipykernel
8 changes: 2 additions & 6 deletions src/anomalib/utils/sweep/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,12 @@

from .config import flatten_sweep_params, get_run_config, set_in_nested_config
from .helpers import get_openvino_throughput, get_sweep_callbacks, get_torch_throughput
from .utils import Status, exception_wrapper, redirect_output

__all__ = [
"exception_wrapper",
"flatten_sweep_params",
"get_run_config",
"set_in_nested_config",
"get_sweep_callbacks",
"get_openvino_throughput",
"get_torch_throughput",
"set_in_nested_config",
"redirect_output",
"Status",
"flatten_sweep_params",
]
105 changes: 0 additions & 105 deletions src/anomalib/utils/sweep/utils.py

This file was deleted.

Loading

0 comments on commit d4eaee3

Please sign in to comment.