openvinotoolkit / anomalib

An anomaly detection library comprising state-of-the-art algorithms and features such as experiment management, hyper-parameter optimization, and edge inference.
https://anomalib.readthedocs.io/en/latest/
Apache License 2.0
3.4k stars 615 forks source link

No module named 'anomalib.config' #2132

Open A0401A opened 3 weeks ago

A0401A commented 3 weeks ago

Describe the bug

(pytorch) F:\anomalib-0.7.0>python tools/train.py --model padim Traceback (most recent call last): File "F:\anomalib-0.7.0\tools\train.py", line 17, in from anomalib.config import get_configurable_parameters ModuleNotFoundError: No module named 'anomalib.config'

Dataset

MVTec

Model

PADiM

Steps to reproduce the behavior

OS information

OS information:

Expected behavior

Screenshots

Pip/GitHub

pip

What version/branch did you use?

No response

Configuration YAML

Logs

Code of Conduct

alexriedel1 commented 3 weeks ago

F:\anomalib-0.7.0 looks like you are using version 0.7.0 which is outdated. Please install the latest version via https://github.com/openvinotoolkit/anomalib?tab=readme-ov-file#-installation