Closed jpcbertoldo closed 2 days ago
Check out this pull request on
See visual diffs & provide feedback on Jupyter Notebooks.
Powered by ReviewNB
@ashwinvaidya17
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 80.77%. Comparing base (
8ff90a8
) to head (e440725
). Report is 1 commits behind head on feature/pimo.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
I just update the datasets folder to be at anomalib/datasets
instead of anomalib/notebooks/datasets
so users won't get duplicates of mvtec. The other updates are just outputs from re-running the notebook.
Ready to merge @samet-akcay
It looks like an error in the CI environment?
https://github.com/openvinotoolkit/anomalib/actions/runs/11124854850/job/30912580676?pr=2330
bandit...................................................................Failed
- hook id: bandit
- exit code: 1
Traceback (most recent call last):
File "/home/runner/.cache/pre-commit/repoikywl3ep/py_env-python3/bin/bandit", line 5, in <module>
from bandit.cli.main import main
File "/home/runner/.cache/pre-commit/repoikywl3ep/py_env-python3/lib/python3.10/site-packages/bandit/__init__.py", line 7, in <module>
from bandit.core import config # noqa
File "/home/runner/.cache/pre-commit/repoikywl3ep/py_env-python3/lib/python3.10/site-packages/bandit/core/__init__.py", line 7, in <module>
from bandit.core import manager # noqa
File "/home/runner/.cache/pre-commit/repoikywl3ep/py_env-python3/lib/python3.10/site-packages/bandit/core/manager.py", line 16, in <module>
from rich import progress
File "/home/runner/.cache/pre-commit/repoikywl3ep/py_env-python3/lib/python3.10/site-packages/rich/progress.py", line 45, in <module>
from typing_extensions import Self # pragma: no cover
ModuleNotFoundError: No module named 'typing_extensions'
There is a new unrelated error in the CI, in the pre-merge checks. Looks like the environment is configed to use gpus but it is not available.
In src/anomalib/engine/engine.py:332
the Trainer
is initialized with Trainer._cache.args
that contains {'accelerator': 'gpu', ...}
.
Later on, in _AcceleratorConnector.__init__
(lightning code) there is this
@staticmethod
def _choose_gpu_accelerator_backend() -> str:
if MPSAccelerator.is_available():
return "mps"
if CUDAAccelerator.is_available():
return "cuda"
> raise MisconfigurationException("No supported gpu backend found!")
E lightning.fabric.utilities.exceptions.MisconfigurationException: No supported gpu backend found!
which is causing the fail
There is a new unrelated error in the CI, in the pre-merge checks. Looks like the environment is configed to use gpus but it is not available.
In
src/anomalib/engine/engine.py:332
theTrainer
is initialized withTrainer._cache.args
that contains{'accelerator': 'gpu', ...}
.Later on, in
_AcceleratorConnector.__init__
(lightning code) there is this@staticmethod def _choose_gpu_accelerator_backend() -> str: if MPSAccelerator.is_available(): return "mps" if CUDAAccelerator.is_available(): return "cuda" > raise MisconfigurationException("No supported gpu backend found!")
E lightning.fabric.utilities.exceptions.MisconfigurationException: No supported gpu backend found!
which is causing the fail
I think docker needs restarting, @ashwinvaidya17 can do that tomorrow morning.
π Description
add aupimo basic usage tutorial notebook
part of https://github.com/openvinotoolkit/anomalib/pull/2329
β¨ Changes
Select what type of change your PR is:
β Checklist
Before you submit your pull request, please make sure you have completed the following steps:
For more information about code review checklists, see the Code Review Checklist.