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

[Bug]: error: argument subcommand: invalid choice: 'train' (choose from 'install') #2445

Open
1 task done
xin94wang opened this issue Dec 3, 2024 · 22 comments
Open
1 task done

Comments

@xin94wang
Copy link

Describe the bug

1733192666115

Hello, I executed anomalib train --model EfficientAd --data anomalib.data.MVTec --data.train_batch_size 1 after executing anomalib install successfully, and I get this error in the picture.

Dataset

MVTec

Model

N/A

Steps to reproduce the behavior

(ab_env) C:\Users\50691\anomalib>anomalib train --model EfficientAd --data anomalib.data.MVTec --data.train_batch_size 1
To use other subcommand using anomalib install
Usage: anomalib [-h] [-c CONFIG] [--print_config [=flags]] {install} ...
error: argument subcommand: invalid choice: 'train' (choose from 'install')

OS information

OS information:

  • OS: [e.g. Ubuntu 20.04]
  • Python version: [e.g. 3.10.0]
  • Anomalib version: [e.g. 0.3.6]
  • PyTorch version: [e.g. 1.9.0]
  • CUDA/cuDNN version: [e.g. 11.1]
  • GPU models and configuration: [e.g. 2x GeForce RTX 3090]
  • Any other relevant information: [e.g. I'm using a custom dataset]

Expected behavior

111

Screenshots

No response

Pip/GitHub

pip

What version/branch did you use?

No response

Configuration YAML

111

Logs

111

Code of Conduct

  • I agree to follow this project's Code of Conduct
@samet-akcay
Copy link
Contributor

Hi @xin94wang, thanks for reporting this. Can you also specify your system specs so we could reproduce?

Also can you show the output of the following command?

anomalib -h

@xin94wang
Copy link
Author

1733208041290

The computer system I use is windows 11, and I run the commands by way of anaconda prompt, similar to ubuntu's terminal, and this is a graph of the results I get from running anomalib -h.

@xin94wang
Copy link
Author

@samet-akcay I didn't find the file train.py in your library, and I wonder if I don't have the file train.py to cause the error. I have another doubt, if I did not add the file train.py to cause the failure to run, then where is the correct and specific code flow to run, can you provide it?

@samet-akcay
Copy link
Contributor

Looks like anomalib install did not install the packages properly. You therefore do not have to access to anomalib train subcommand.

For example this is the output on my env

╭─ Arguments ───────────────────────────────────────────────────────────────────╮
│ Usage: anomalib [-h] [-c CONFIG] [--print_config [=flags]]                    │
│                 {install,fit,validate,test,train,predict,export,benchmark} ...│
│                                                                               │
│                                                                               │
│ Options:                                                                      │
│   -h, --help            Show this help message and exit.                      │
│   -c, --config CONFIG   Path to a configuration file in json or yaml format.  │
│   --print_config [=flags]                                                     │
│                         Print the configuration after applying all other      │
│                         arguments and exit. The optional flags customizes the │
│                         output and are one or more keywords separated by      │
│                         comma. The supported flags are: comments,             │
│                         skip_default, skip_null.                              │
│                                                                               │
│ Subcommands:                                                                  │
│   For more details of each subcommand, add it as an argument followed by      │
│   --help.                                                                     │
│                                                                               │
│                                                                               │
│   Available subcommands:                                                      │
│     install             Install the full-package for anomalib.                │
│     fit                 Runs the full optimization routine.                   │
│     validate            Perform one evaluation epoch over the validation set. │
│     test                Perform one evaluation epoch over the test set. It's  │
│                         separated from fit to make sure you never run on your │
│     train               Fit the model and then call test on the trained model.│
│     predict             Run inference on a model.                             │
│     export              Export the model to ONNX or OpenVINO format.          │
│     benchmark           Benchmarking pipeline.                                │
│                                                                               │
╰───────────────────────────────────────────────────────────────────────────────╯

@samet-akcay
Copy link
Contributor

@samet-akcay I didn't find the file train.py in your library, and I wonder if I don't have the file train.py to cause the error. I have another doubt, if I did not add the file train.py to cause the failure to run, then where is the correct and specific code flow to run, can you provide it?

I think the problem is most likely that you don't have the proper packages installed. Can you try installing everything via pip?
For example:

pip install -e ".[full]"

@xin94wang
Copy link
Author

@ashishbdatta This is where I run pip install -e “. [full]”.

image

image

(ab_env) C:\Users\50691\anomalib>pip install -e ".[full]"
Obtaining file:///C:/Users/50691/anomalib
Installing build dependencies ... done
Checking if build backend supports build_editable ... done
Getting requirements to build editable ... done
Preparing editable metadata (pyproject.toml) ... done
Requirement already satisfied: omegaconf>=2.1.1 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from anomalib==2.0.0.dev0) (2.3.0)
Requirement already satisfied: rich>=13.5.2 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from anomalib==2.0.0.dev0) (13.9.4)
Requirement already satisfied: jsonargparse>=4.27.7 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from jsonargparse[signatures]>=4.27.7->anomalib==2.0.0.dev0) (4.34.1)
Requirement already satisfied: docstring_parser in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from anomalib==2.0.0.dev0) (0.16)
Requirement already satisfied: rich_argparse in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from anomalib==2.0.0.dev0) (1.6.0)
Requirement already satisfied: lightning-utilities in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from anomalib==2.0.0.dev0) (0.11.9)
Requirement already satisfied: PyYAML>=3.13 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from jsonargparse>=4.27.7->jsonargparse[signatures]>=4.27.7->anomalib==2.0.0.dev0) (6.0.2)
Requirement already satisfied: typeshed-client>=2.1.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from jsonargparse[signatures]>=4.27.7->anomalib==2.0.0.dev0) (2.7.0)
Requirement already satisfied: antlr4-python3-runtime==4.9.* in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from omegaconf>=2.1.1->anomalib==2.0.0.dev0) (4.9.3)
Requirement already satisfied: markdown-it-py>=2.2.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from rich>=13.5.2->anomalib==2.0.0.dev0) (3.0.0)
Requirement already satisfied: pygments<3.0.0,>=2.13.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from rich>=13.5.2->anomalib==2.0.0.dev0) (2.18.0)
Requirement already satisfied: typing-extensions<5.0,>=4.0.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from rich>=13.5.2->anomalib==2.0.0.dev0) (4.12.2)
Requirement already satisfied: av>=10.0.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from anomalib==2.0.0.dev0) (14.0.0)
Requirement already satisfied: einops>=0.3.2 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from anomalib==2.0.0.dev0) (0.8.0)
Requirement already satisfied: freia>=0.2 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from anomalib==2.0.0.dev0) (0.2)
Requirement already satisfied: imgaug==0.4.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from anomalib==2.0.0.dev0) (0.4.0)
Requirement already satisfied: kornia>=0.6.6 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from anomalib==2.0.0.dev0) (0.7.4)
Requirement already satisfied: matplotlib>=3.4.3 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from anomalib==2.0.0.dev0) (3.9.3)
Requirement already satisfied: opencv-python>=4.5.3.56 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from anomalib==2.0.0.dev0) (4.10.0.84)
Requirement already satisfied: pandas>=1.1.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from anomalib==2.0.0.dev0) (2.2.3)
Requirement already satisfied: timm in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from anomalib==2.0.0.dev0) (1.0.11)
Requirement already satisfied: lightning>=2.2 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from anomalib==2.0.0.dev0) (2.4.0)
Requirement already satisfied: torch>=2 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from anomalib==2.0.0.dev0) (2.5.1+cpu)
Requirement already satisfied: torchmetrics>=1.3.2 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from anomalib==2.0.0.dev0) (1.6.0)
Requirement already satisfied: open-clip-torch<2.26.1,>=2.23.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from anomalib==2.0.0.dev0) (2.24.0)
Requirement already satisfied: comet-ml>=3.31.7 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from anomalib==2.0.0.dev0) (3.47.4)
Requirement already satisfied: gradio>=4 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from anomalib==2.0.0.dev0) (5.7.1)
Requirement already satisfied: tensorboard in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from anomalib==2.0.0.dev0) (2.18.0)
Requirement already satisfied: wandb<=0.15.9,>=0.12.17 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from anomalib==2.0.0.dev0) (0.15.9)
Requirement already satisfied: mlflow>=1.0.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from anomalib==2.0.0.dev0) (2.18.0)
Requirement already satisfied: gitpython in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from anomalib==2.0.0.dev0) (3.1.43)
Requirement already satisfied: ipykernel in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from anomalib==2.0.0.dev0) (6.29.5)
Requirement already satisfied: ipywidgets in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from anomalib==2.0.0.dev0) (8.1.5)
Requirement already satisfied: notebook in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from anomalib==2.0.0.dev0) (7.2.2)
Requirement already satisfied: ollama in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from anomalib==2.0.0.dev0) (0.4.2)
Requirement already satisfied: openai in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from anomalib==2.0.0.dev0) (1.55.3)
Requirement already satisfied: python-dotenv in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from anomalib==2.0.0.dev0) (1.0.1)
Requirement already satisfied: transformers in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from anomalib==2.0.0.dev0) (4.46.3)
Requirement already satisfied: openvino>=2024.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from anomalib==2.0.0.dev0) (2024.5.0)
Requirement already satisfied: nncf>=2.10.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from anomalib==2.0.0.dev0) (2.14.0)
Requirement already satisfied: onnx>=1.16.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from anomalib==2.0.0.dev0) (1.17.0)
Requirement already satisfied: six in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from imgaug==0.4.0->anomalib==2.0.0.dev0) (1.16.0)
Requirement already satisfied: numpy>=1.15 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from imgaug==0.4.0->anomalib==2.0.0.dev0) (1.26.4)
Requirement already satisfied: scipy in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from imgaug==0.4.0->anomalib==2.0.0.dev0) (1.14.1)
Requirement already satisfied: Pillow in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from imgaug==0.4.0->anomalib==2.0.0.dev0) (11.0.0)
Requirement already satisfied: scikit-image>=0.14.2 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from imgaug==0.4.0->anomalib==2.0.0.dev0) (0.24.0)
Requirement already satisfied: imageio in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from imgaug==0.4.0->anomalib==2.0.0.dev0) (2.36.1)
Requirement already satisfied: Shapely in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from imgaug==0.4.0->anomalib==2.0.0.dev0) (2.0.6)
Requirement already satisfied: packaging>=17.1 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from lightning-utilities->anomalib==2.0.0.dev0) (24.2)
Requirement already satisfied: setuptools in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from lightning-utilities->anomalib==2.0.0.dev0) (75.1.0)
Requirement already satisfied: everett<3.2.0,>=1.0.1 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from everett[ini]<3.2.0,>=1.0.1->comet-ml>=3.31.7->anomalib==2.0.0.dev0) (3.1.0)
Requirement already satisfied: jsonschema!=3.1.0,>=2.6.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from comet-ml>=3.31.7->anomalib==2.0.0.dev0) (4.23.0)
Requirement already satisfied: psutil>=5.6.3 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from comet-ml>=3.31.7->anomalib==2.0.0.dev0) (6.1.0)
Requirement already satisfied: python-box<7.0.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from comet-ml>=3.31.7->anomalib==2.0.0.dev0) (6.1.0)
Requirement already satisfied: requests-toolbelt>=0.8.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from comet-ml>=3.31.7->anomalib==2.0.0.dev0) (1.0.0)
Requirement already satisfied: requests>=2.18.4 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from comet-ml>=3.31.7->anomalib==2.0.0.dev0) (2.32.3)
Requirement already satisfied: semantic-version>=2.8.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from comet-ml>=3.31.7->anomalib==2.0.0.dev0) (2.10.0)
Requirement already satisfied: sentry-sdk>=1.1.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from comet-ml>=3.31.7->anomalib==2.0.0.dev0) (2.19.0)
Requirement already satisfied: simplejson in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from comet-ml>=3.31.7->anomalib==2.0.0.dev0) (3.19.3)
Requirement already satisfied: urllib3>=1.21.1 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from comet-ml>=3.31.7->anomalib==2.0.0.dev0) (2.2.3)
Requirement already satisfied: wrapt>=1.11.2 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from comet-ml>=3.31.7->anomalib==2.0.0.dev0) (1.17.0)
Requirement already satisfied: wurlitzer>=1.0.2 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from comet-ml>=3.31.7->anomalib==2.0.0.dev0) (3.1.1)
Requirement already satisfied: dulwich!=0.20.33,>=0.20.6 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from comet-ml>=3.31.7->anomalib==2.0.0.dev0) (0.22.6)
Requirement already satisfied: aiofiles<24.0,>=22.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from gradio>=4->anomalib==2.0.0.dev0) (23.2.1)
Requirement already satisfied: anyio<5.0,>=3.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from gradio>=4->anomalib==2.0.0.dev0) (4.6.2.post1)
Requirement already satisfied: fastapi<1.0,>=0.115.2 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from gradio>=4->anomalib==2.0.0.dev0) (0.115.5)
Requirement already satisfied: ffmpy in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from gradio>=4->anomalib==2.0.0.dev0) (0.4.0)
Requirement already satisfied: gradio-client==1.5.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from gradio>=4->anomalib==2.0.0.dev0) (1.5.0)
Requirement already satisfied: httpx>=0.24.1 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from gradio>=4->anomalib==2.0.0.dev0) (0.27.2)
Requirement already satisfied: huggingface-hub>=0.25.1 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from gradio>=4->anomalib==2.0.0.dev0) (0.26.3)
Requirement already satisfied: jinja2<4.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from gradio>=4->anomalib==2.0.0.dev0) (3.1.4)
Requirement already satisfied: markupsafe~=2.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from gradio>=4->anomalib==2.0.0.dev0) (2.1.5)
Requirement already satisfied: orjson~=3.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from gradio>=4->anomalib==2.0.0.dev0) (3.10.12)
Requirement already satisfied: pydantic>=2.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from gradio>=4->anomalib==2.0.0.dev0) (2.10.2)
Requirement already satisfied: pydub in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from gradio>=4->anomalib==2.0.0.dev0) (0.25.1)
Requirement already satisfied: python-multipart==0.0.12 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from gradio>=4->anomalib==2.0.0.dev0) (0.0.12)
Requirement already satisfied: ruff>=0.2.2 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from gradio>=4->anomalib==2.0.0.dev0) (0.8.1)
Requirement already satisfied: safehttpx<1.0,>=0.1.1 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from gradio>=4->anomalib==2.0.0.dev0) (0.1.1)
Requirement already satisfied: starlette<1.0,>=0.40.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from gradio>=4->anomalib==2.0.0.dev0) (0.41.3)
Requirement already satisfied: tomlkit==0.12.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from gradio>=4->anomalib==2.0.0.dev0) (0.12.0)
Requirement already satisfied: typer<1.0,>=0.12 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from gradio>=4->anomalib==2.0.0.dev0) (0.14.0)
Requirement already satisfied: uvicorn>=0.14.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from gradio>=4->anomalib==2.0.0.dev0) (0.32.1)
Requirement already satisfied: fsspec in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from gradio-client==1.5.0->gradio>=4->anomalib==2.0.0.dev0) (2024.10.0)
Requirement already satisfied: websockets<13.0,>=10.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from gradio-client==1.5.0->gradio>=4->anomalib==2.0.0.dev0) (12.0)
Requirement already satisfied: kornia-rs>=0.1.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from kornia>=0.6.6->anomalib==2.0.0.dev0) (0.1.7)
Requirement already satisfied: tqdm<6.0,>=4.57.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from lightning>=2.2->anomalib==2.0.0.dev0) (4.67.1)
Requirement already satisfied: pytorch-lightning in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from lightning>=2.2->anomalib==2.0.0.dev0) (2.4.0)
Requirement already satisfied: mdurl~=0.1 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from markdown-it-py>=2.2.0->rich>=13.5.2->anomalib==2.0.0.dev0) (0.1.2)
Requirement already satisfied: contourpy>=1.0.1 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from matplotlib>=3.4.3->anomalib==2.0.0.dev0) (1.3.1)
Requirement already satisfied: cycler>=0.10 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from matplotlib>=3.4.3->anomalib==2.0.0.dev0) (0.12.1)
Requirement already satisfied: fonttools>=4.22.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from matplotlib>=3.4.3->anomalib==2.0.0.dev0) (4.55.0)
Requirement already satisfied: kiwisolver>=1.3.1 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from matplotlib>=3.4.3->anomalib==2.0.0.dev0) (1.4.7)
Requirement already satisfied: pyparsing>=2.3.1 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from matplotlib>=3.4.3->anomalib==2.0.0.dev0) (3.2.0)
Requirement already satisfied: python-dateutil>=2.7 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from matplotlib>=3.4.3->anomalib==2.0.0.dev0) (2.9.0.post0)
Requirement already satisfied: mlflow-skinny==2.18.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from mlflow>=1.0.0->anomalib==2.0.0.dev0) (2.18.0)
Requirement already satisfied: Flask<4 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from mlflow>=1.0.0->anomalib==2.0.0.dev0) (3.1.0)
Requirement already satisfied: alembic!=1.10.0,<2 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from mlflow>=1.0.0->anomalib==2.0.0.dev0) (1.14.0)
Requirement already satisfied: docker<8,>=4.0.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from mlflow>=1.0.0->anomalib==2.0.0.dev0) (7.1.0)
Requirement already satisfied: graphene<4 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from mlflow>=1.0.0->anomalib==2.0.0.dev0) (3.4.3)
Requirement already satisfied: markdown<4,>=3.3 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from mlflow>=1.0.0->anomalib==2.0.0.dev0) (3.7)
Requirement already satisfied: pyarrow<19,>=4.0.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from mlflow>=1.0.0->anomalib==2.0.0.dev0) (18.1.0)
Requirement already satisfied: scikit-learn<2 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from mlflow>=1.0.0->anomalib==2.0.0.dev0) (1.5.2)
Requirement already satisfied: sqlalchemy<3,>=1.4.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from mlflow>=1.0.0->anomalib==2.0.0.dev0) (2.0.36)
Requirement already satisfied: waitress<4 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from mlflow>=1.0.0->anomalib==2.0.0.dev0) (3.0.2)
Requirement already satisfied: cachetools<6,>=5.0.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from mlflow-skinny==2.18.0->mlflow>=1.0.0->anomalib==2.0.0.dev0) (5.5.0)
Requirement already satisfied: click<9,>=7.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from mlflow-skinny==2.18.0->mlflow>=1.0.0->anomalib==2.0.0.dev0) (8.1.7)
Requirement already satisfied: cloudpickle<4 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from mlflow-skinny==2.18.0->mlflow>=1.0.0->anomalib==2.0.0.dev0) (3.1.0)
Requirement already satisfied: databricks-sdk<1,>=0.20.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from mlflow-skinny==2.18.0->mlflow>=1.0.0->anomalib==2.0.0.dev0) (0.38.0)
Collecting importlib-metadata!=4.7.0,<9,>=3.7.0 (from mlflow-skinny==2.18.0->mlflow>=1.0.0->anomalib==2.0.0.dev0)
Downloading importlib_metadata-8.5.0-py3-none-any.whl.metadata (4.8 kB)
Requirement already satisfied: opentelemetry-api<3,>=1.9.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from mlflow-skinny==2.18.0->mlflow>=1.0.0->anomalib==2.0.0.dev0) (1.28.2)
Requirement already satisfied: opentelemetry-sdk<3,>=1.9.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from mlflow-skinny==2.18.0->mlflow>=1.0.0->anomalib==2.0.0.dev0) (1.28.2)
Requirement already satisfied: protobuf<6,>=3.12.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from mlflow-skinny==2.18.0->mlflow>=1.0.0->anomalib==2.0.0.dev0) (4.25.5)
Requirement already satisfied: sqlparse<1,>=0.4.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from mlflow-skinny==2.18.0->mlflow>=1.0.0->anomalib==2.0.0.dev0) (0.5.2)
Requirement already satisfied: gitdb<5,>=4.0.1 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from gitpython->anomalib==2.0.0.dev0) (4.0.11)
Requirement already satisfied: jstyleson>=0.0.2 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from nncf>=2.10.0->anomalib==2.0.0.dev0) (0.0.2)
Requirement already satisfied: natsort>=7.1.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from nncf>=2.10.0->anomalib==2.0.0.dev0) (8.4.0)
Requirement already satisfied: networkx<=3.3,>=2.6 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from nncf>=2.10.0->anomalib==2.0.0.dev0) (3.3)
Requirement already satisfied: ninja<1.12,>=1.10.0.post2 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from nncf>=2.10.0->anomalib==2.0.0.dev0) (1.11.1.2)
Requirement already satisfied: openvino-telemetry>=2023.2.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from nncf>=2.10.0->anomalib==2.0.0.dev0) (2024.5.0)
Requirement already satisfied: pydot<3.0.0,>=1.4.1 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from nncf>=2.10.0->anomalib==2.0.0.dev0) (2.0.0)
Requirement already satisfied: pymoo>=0.6.0.1 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from nncf>=2.10.0->anomalib==2.0.0.dev0) (0.6.1.3)
Requirement already satisfied: tabulate>=0.9.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from nncf>=2.10.0->anomalib==2.0.0.dev0) (0.9.0)
Requirement already satisfied: torchvision in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from open-clip-torch<2.26.1,>=2.23.0->anomalib==2.0.0.dev0) (0.20.1+cpu)
Requirement already satisfied: regex in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from open-clip-torch<2.26.1,>=2.23.0->anomalib==2.0.0.dev0) (2024.11.6)
Requirement already satisfied: ftfy in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from open-clip-torch<2.26.1,>=2.23.0->anomalib==2.0.0.dev0) (6.3.1)
Requirement already satisfied: sentencepiece in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from open-clip-torch<2.26.1,>=2.23.0->anomalib==2.0.0.dev0) (0.2.0)
Requirement already satisfied: pytz>=2020.1 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from pandas>=1.1.0->anomalib==2.0.0.dev0) (2024.2)
Requirement already satisfied: tzdata>=2022.7 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from pandas>=1.1.0->anomalib==2.0.0.dev0) (2024.2)
Requirement already satisfied: filelock in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from torch>=2->anomalib==2.0.0.dev0) (3.16.1)
Requirement already satisfied: sympy==1.13.1 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from torch>=2->anomalib==2.0.0.dev0) (1.13.1)
Requirement already satisfied: mpmath<1.4,>=1.1.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from sympy==1.13.1->torch>=2->anomalib==2.0.0.dev0) (1.3.0)
Requirement already satisfied: importlib-resources>=1.4.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from typeshed-client>=2.1.0->jsonargparse[signatures]>=4.27.7->anomalib==2.0.0.dev0) (6.4.5)
Requirement already satisfied: docker-pycreds>=0.4.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from wandb<=0.15.9,>=0.12.17->anomalib==2.0.0.dev0) (0.4.0)
Requirement already satisfied: pathtools in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from wandb<=0.15.9,>=0.12.17->anomalib==2.0.0.dev0) (0.1.2)
Requirement already satisfied: setproctitle in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from wandb<=0.15.9,>=0.12.17->anomalib==2.0.0.dev0) (1.3.4)
Requirement already satisfied: appdirs>=1.4.3 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from wandb<=0.15.9,>=0.12.17->anomalib==2.0.0.dev0) (1.4.4)
Requirement already satisfied: comm>=0.1.1 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from ipykernel->anomalib==2.0.0.dev0) (0.2.2)
Requirement already satisfied: debugpy>=1.6.5 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from ipykernel->anomalib==2.0.0.dev0) (1.8.9)
Requirement already satisfied: ipython>=7.23.1 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from ipykernel->anomalib==2.0.0.dev0) (8.30.0)
Requirement already satisfied: jupyter-client>=6.1.12 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from ipykernel->anomalib==2.0.0.dev0) (8.6.3)
Requirement already satisfied: jupyter-core!=5.0.,>=4.12 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from ipykernel->anomalib==2.0.0.dev0) (5.7.2)
Requirement already satisfied: matplotlib-inline>=0.1 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from ipykernel->anomalib==2.0.0.dev0) (0.1.7)
Requirement already satisfied: nest-asyncio in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from ipykernel->anomalib==2.0.0.dev0) (1.6.0)
Requirement already satisfied: pyzmq>=24 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from ipykernel->anomalib==2.0.0.dev0) (26.2.0)
Requirement already satisfied: tornado>=6.1 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from ipykernel->anomalib==2.0.0.dev0) (6.4.2)
Requirement already satisfied: traitlets>=5.4.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from ipykernel->anomalib==2.0.0.dev0) (5.14.3)
Requirement already satisfied: widgetsnbextension~=4.0.12 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from ipywidgets->anomalib==2.0.0.dev0) (4.0.13)
Requirement already satisfied: jupyterlab-widgets~=3.0.12 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from ipywidgets->anomalib==2.0.0.dev0) (3.0.13)
Requirement already satisfied: jupyter-server<3,>=2.4.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from notebook->anomalib==2.0.0.dev0) (2.14.2)
Requirement already satisfied: jupyterlab-server<3,>=2.27.1 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from notebook->anomalib==2.0.0.dev0) (2.27.3)
Requirement already satisfied: jupyterlab<4.3,>=4.2.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from notebook->anomalib==2.0.0.dev0) (4.2.6)
Requirement already satisfied: notebook-shim<0.3,>=0.2 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from notebook->anomalib==2.0.0.dev0) (0.2.4)
Requirement already satisfied: distro<2,>=1.7.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from openai->anomalib==2.0.0.dev0) (1.9.0)
Requirement already satisfied: jiter<1,>=0.4.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from openai->anomalib==2.0.0.dev0) (0.8.0)
Requirement already satisfied: sniffio in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from openai->anomalib==2.0.0.dev0) (1.3.1)
Requirement already satisfied: absl-py>=0.4 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from tensorboard->anomalib==2.0.0.dev0) (2.1.0)
Requirement already satisfied: grpcio>=1.48.2 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from tensorboard->anomalib==2.0.0.dev0) (1.68.1)
Requirement already satisfied: tensorboard-data-server<0.8.0,>=0.7.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from tensorboard->anomalib==2.0.0.dev0) (0.7.2)
Requirement already satisfied: werkzeug>=1.0.1 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from tensorboard->anomalib==2.0.0.dev0) (3.1.3)
Requirement already satisfied: safetensors in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from timm->anomalib==2.0.0.dev0) (0.4.5)
Requirement already satisfied: tokenizers<0.21,>=0.20 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from transformers->anomalib==2.0.0.dev0) (0.20.3)
Requirement already satisfied: Mako in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from alembic!=1.10.0,<2->mlflow>=1.0.0->anomalib==2.0.0.dev0) (1.3.6)
Requirement already satisfied: idna>=2.8 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from anyio<5.0,>=3.0->gradio>=4->anomalib==2.0.0.dev0) (3.10)
Requirement already satisfied: exceptiongroup>=1.0.2 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from anyio<5.0,>=3.0->gradio>=4->anomalib==2.0.0.dev0) (1.2.2)
Requirement already satisfied: colorama in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from click<9,>=7.0->mlflow-skinny==2.18.0->mlflow>=1.0.0->anomalib==2.0.0.dev0) (0.4.6)
Requirement already satisfied: pywin32>=304 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from docker<8,>=4.0.0->mlflow>=1.0.0->anomalib==2.0.0.dev0) (308)
Requirement already satisfied: configobj in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from everett[ini]<3.2.0,>=1.0.1->comet-ml>=3.31.7->anomalib==2.0.0.dev0) (5.0.9)
Requirement already satisfied: itsdangerous>=2.2 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from Flask<4->mlflow>=1.0.0->anomalib==2.0.0.dev0) (2.2.0)
Requirement already satisfied: blinker>=1.9 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from Flask<4->mlflow>=1.0.0->anomalib==2.0.0.dev0) (1.9.0)
Requirement already satisfied: aiohttp!=4.0.0a0,!=4.0.0a1 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from fsspec[http]<2026.0,>=2022.5.0->lightning>=2.2->anomalib==2.0.0.dev0) (3.11.9)
Requirement already satisfied: smmap<6,>=3.0.1 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from gitdb<5,>=4.0.1->gitpython->anomalib==2.0.0.dev0) (5.0.1)
Requirement already satisfied: graphql-core<3.3,>=3.1 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from graphene<4->mlflow>=1.0.0->anomalib==2.0.0.dev0) (3.2.5)
Requirement already satisfied: graphql-relay<3.3,>=3.1 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from graphene<4->mlflow>=1.0.0->anomalib==2.0.0.dev0) (3.2.0)
Requirement already satisfied: certifi in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from httpx>=0.24.1->gradio>=4->anomalib==2.0.0.dev0) (2024.8.30)
Requirement already satisfied: httpcore==1.
in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from httpx>=0.24.1->gradio>=4->anomalib==2.0.0.dev0) (1.0.7)
Requirement already satisfied: h11<0.15,>=0.13 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from httpcore==1.->httpx>=0.24.1->gradio>=4->anomalib==2.0.0.dev0) (0.14.0)
Requirement already satisfied: decorator in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from ipython>=7.23.1->ipykernel->anomalib==2.0.0.dev0) (5.1.1)
Requirement already satisfied: jedi>=0.16 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from ipython>=7.23.1->ipykernel->anomalib==2.0.0.dev0) (0.19.2)
Requirement already satisfied: prompt_toolkit<3.1.0,>=3.0.41 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from ipython>=7.23.1->ipykernel->anomalib==2.0.0.dev0) (3.0.48)
Requirement already satisfied: stack_data in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from ipython>=7.23.1->ipykernel->anomalib==2.0.0.dev0) (0.6.3)
Requirement already satisfied: attrs>=22.2.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from jsonschema!=3.1.0,>=2.6.0->comet-ml>=3.31.7->anomalib==2.0.0.dev0) (24.2.0)
Requirement already satisfied: jsonschema-specifications>=2023.03.6 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from jsonschema!=3.1.0,>=2.6.0->comet-ml>=3.31.7->anomalib==2.0.0.dev0) (2024.10.1)
Requirement already satisfied: referencing>=0.28.4 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from jsonschema!=3.1.0,>=2.6.0->comet-ml>=3.31.7->anomalib==2.0.0.dev0) (0.35.1)
Requirement already satisfied: rpds-py>=0.7.1 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from jsonschema!=3.1.0,>=2.6.0->comet-ml>=3.31.7->anomalib==2.0.0.dev0) (0.21.0)
Requirement already satisfied: platformdirs>=2.5 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from jupyter-core!=5.0.
,>=4.12->ipykernel->anomalib==2.0.0.dev0) (4.3.6)
Requirement already satisfied: argon2-cffi>=21.1 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from jupyter-server<3,>=2.4.0->notebook->anomalib==2.0.0.dev0) (23.1.0)
Requirement already satisfied: jupyter-events>=0.9.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from jupyter-server<3,>=2.4.0->notebook->anomalib==2.0.0.dev0) (0.10.0)
Requirement already satisfied: jupyter-server-terminals>=0.4.4 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from jupyter-server<3,>=2.4.0->notebook->anomalib==2.0.0.dev0) (0.5.3)
Requirement already satisfied: nbconvert>=6.4.4 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from jupyter-server<3,>=2.4.0->notebook->anomalib==2.0.0.dev0) (7.16.4)
Requirement already satisfied: nbformat>=5.3.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from jupyter-server<3,>=2.4.0->notebook->anomalib==2.0.0.dev0) (5.10.4)
Requirement already satisfied: overrides>=5.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from jupyter-server<3,>=2.4.0->notebook->anomalib==2.0.0.dev0) (7.7.0)
Requirement already satisfied: prometheus-client>=0.9 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from jupyter-server<3,>=2.4.0->notebook->anomalib==2.0.0.dev0) (0.21.0)
Requirement already satisfied: pywinpty>=2.0.1 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from jupyter-server<3,>=2.4.0->notebook->anomalib==2.0.0.dev0) (2.0.14)
Requirement already satisfied: send2trash>=1.8.2 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from jupyter-server<3,>=2.4.0->notebook->anomalib==2.0.0.dev0) (1.8.3)
Requirement already satisfied: terminado>=0.8.3 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from jupyter-server<3,>=2.4.0->notebook->anomalib==2.0.0.dev0) (0.18.1)
Requirement already satisfied: websocket-client>=1.7 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from jupyter-server<3,>=2.4.0->notebook->anomalib==2.0.0.dev0) (1.8.0)
Requirement already satisfied: async-lru>=1.0.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from jupyterlab<4.3,>=4.2.0->notebook->anomalib==2.0.0.dev0) (2.0.4)
Requirement already satisfied: jupyter-lsp>=2.0.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from jupyterlab<4.3,>=4.2.0->notebook->anomalib==2.0.0.dev0) (2.2.5)
Collecting tomli>=1.2.2 (from jupyterlab<4.3,>=4.2.0->notebook->anomalib==2.0.0.dev0)
Downloading tomli-2.2.1-py3-none-any.whl.metadata (10 kB)
Requirement already satisfied: babel>=2.10 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from jupyterlab-server<3,>=2.27.1->notebook->anomalib==2.0.0.dev0) (2.16.0)
Requirement already satisfied: json5>=0.9.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from jupyterlab-server<3,>=2.27.1->notebook->anomalib==2.0.0.dev0) (0.10.0)
Requirement already satisfied: annotated-types>=0.6.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from pydantic>=2.0->gradio>=4->anomalib==2.0.0.dev0) (0.7.0)
Requirement already satisfied: pydantic-core==2.27.1 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from pydantic>=2.0->gradio>=4->anomalib==2.0.0.dev0) (2.27.1)
Requirement already satisfied: autograd>=1.4 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from pymoo>=0.6.0.1->nncf>=2.10.0->anomalib==2.0.0.dev0) (1.7.0)
Requirement already satisfied: cma==3.2.2 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from pymoo>=0.6.0.1->nncf>=2.10.0->anomalib==2.0.0.dev0) (3.2.2)
Requirement already satisfied: alive-progress in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from pymoo>=0.6.0.1->nncf>=2.10.0->anomalib==2.0.0.dev0) (3.2.0)
Requirement already satisfied: dill in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from pymoo>=0.6.0.1->nncf>=2.10.0->anomalib==2.0.0.dev0) (0.3.9)
Requirement already satisfied: Deprecated in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from pymoo>=0.6.0.1->nncf>=2.10.0->anomalib==2.0.0.dev0) (1.2.15)
Requirement already satisfied: charset-normalizer<4,>=2 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from requests>=2.18.4->comet-ml>=3.31.7->anomalib==2.0.0.dev0) (3.4.0)
Requirement already satisfied: tifffile>=2022.8.12 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from scikit-image>=0.14.2->imgaug==0.4.0->anomalib==2.0.0.dev0) (2024.9.20)
Requirement already satisfied: lazy-loader>=0.4 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from scikit-image>=0.14.2->imgaug==0.4.0->anomalib==2.0.0.dev0) (0.4)
Requirement already satisfied: joblib>=1.2.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from scikit-learn<2->mlflow>=1.0.0->anomalib==2.0.0.dev0) (1.4.2)
Requirement already satisfied: threadpoolctl>=3.1.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from scikit-learn<2->mlflow>=1.0.0->anomalib==2.0.0.dev0) (3.5.0)
Requirement already satisfied: greenlet!=0.4.17 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from sqlalchemy<3,>=1.4.0->mlflow>=1.0.0->anomalib==2.0.0.dev0) (3.1.1)
Requirement already satisfied: shellingham>=1.3.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from typer<1.0,>=0.12->gradio>=4->anomalib==2.0.0.dev0) (1.5.4)
Requirement already satisfied: wcwidth in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from ftfy->open-clip-torch<2.26.1,>=2.23.0->anomalib==2.0.0.dev0) (0.2.13)
Requirement already satisfied: aiohappyeyeballs>=2.3.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from aiohttp!=4.0.0a0,!=4.0.0a1->fsspec[http]<2026.0,>=2022.5.0->lightning>=2.2->anomalib==2.0.0.dev0) (2.4.4)
Requirement already satisfied: aiosignal>=1.1.2 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from aiohttp!=4.0.0a0,!=4.0.0a1->fsspec[http]<2026.0,>=2022.5.0->lightning>=2.2->anomalib==2.0.0.dev0) (1.3.1)
Requirement already satisfied: async-timeout<6.0,>=4.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from aiohttp!=4.0.0a0,!=4.0.0a1->fsspec[http]<2026.0,>=2022.5.0->lightning>=2.2->anomalib==2.0.0.dev0) (5.0.1)
Requirement already satisfied: frozenlist>=1.1.1 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from aiohttp!=4.0.0a0,!=4.0.0a1->fsspec[http]<2026.0,>=2022.5.0->lightning>=2.2->anomalib==2.0.0.dev0) (1.5.0)
Requirement already satisfied: multidict<7.0,>=4.5 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from aiohttp!=4.0.0a0,!=4.0.0a1->fsspec[http]<2026.0,>=2022.5.0->lightning>=2.2->anomalib==2.0.0.dev0) (6.1.0)
Requirement already satisfied: propcache>=0.2.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from aiohttp!=4.0.0a0,!=4.0.0a1->fsspec[http]<2026.0,>=2022.5.0->lightning>=2.2->anomalib==2.0.0.dev0) (0.2.1)
Requirement already satisfied: yarl<2.0,>=1.17.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from aiohttp!=4.0.0a0,!=4.0.0a1->fsspec[http]<2026.0,>=2022.5.0->lightning>=2.2->anomalib==2.0.0.dev0) (1.18.3)
Requirement already satisfied: argon2-cffi-bindings in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from argon2-cffi>=21.1->jupyter-server<3,>=2.4.0->notebook->anomalib==2.0.0.dev0) (21.2.0)
Requirement already satisfied: google-auth~=2.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from databricks-sdk<1,>=0.20.0->mlflow-skinny==2.18.0->mlflow>=1.0.0->anomalib==2.0.0.dev0) (2.36.0)
Collecting zipp>=3.20 (from importlib-metadata!=4.7.0,<9,>=3.7.0->mlflow-skinny==2.18.0->mlflow>=1.0.0->anomalib==2.0.0.dev0)
Downloading zipp-3.21.0-py3-none-any.whl.metadata (3.7 kB)
Requirement already satisfied: parso<0.9.0,>=0.8.4 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from jedi>=0.16->ipython>=7.23.1->ipykernel->anomalib==2.0.0.dev0) (0.8.4)
Requirement already satisfied: python-json-logger>=2.0.4 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from jupyter-events>=0.9.0->jupyter-server<3,>=2.4.0->notebook->anomalib==2.0.0.dev0) (2.0.7)
Requirement already satisfied: rfc3339-validator in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from jupyter-events>=0.9.0->jupyter-server<3,>=2.4.0->notebook->anomalib==2.0.0.dev0) (0.1.4)
Requirement already satisfied: rfc3986-validator>=0.1.1 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from jupyter-events>=0.9.0->jupyter-server<3,>=2.4.0->notebook->anomalib==2.0.0.dev0) (0.1.1)
Requirement already satisfied: beautifulsoup4 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from nbconvert>=6.4.4->jupyter-server<3,>=2.4.0->notebook->anomalib==2.0.0.dev0) (4.12.3)
Requirement already satisfied: bleach!=5.0.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from nbconvert>=6.4.4->jupyter-server<3,>=2.4.0->notebook->anomalib==2.0.0.dev0) (6.2.0)
Requirement already satisfied: defusedxml in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from nbconvert>=6.4.4->jupyter-server<3,>=2.4.0->notebook->anomalib==2.0.0.dev0) (0.7.1)
Requirement already satisfied: jupyterlab-pygments in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from nbconvert>=6.4.4->jupyter-server<3,>=2.4.0->notebook->anomalib==2.0.0.dev0) (0.3.0)
Requirement already satisfied: mistune<4,>=2.0.3 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from nbconvert>=6.4.4->jupyter-server<3,>=2.4.0->notebook->anomalib==2.0.0.dev0) (3.0.2)
Requirement already satisfied: nbclient>=0.5.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from nbconvert>=6.4.4->jupyter-server<3,>=2.4.0->notebook->anomalib==2.0.0.dev0) (0.10.1)
Requirement already satisfied: pandocfilters>=1.4.1 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from nbconvert>=6.4.4->jupyter-server<3,>=2.4.0->notebook->anomalib==2.0.0.dev0) (1.5.1)
Requirement already satisfied: tinycss2 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from nbconvert>=6.4.4->jupyter-server<3,>=2.4.0->notebook->anomalib==2.0.0.dev0) (1.4.0)
Requirement already satisfied: fastjsonschema>=2.15 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from nbformat>=5.3.0->jupyter-server<3,>=2.4.0->notebook->anomalib==2.0.0.dev0) (2.21.1)
Requirement already satisfied: opentelemetry-semantic-conventions==0.49b2 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from opentelemetry-sdk<3,>=1.9.0->mlflow-skinny==2.18.0->mlflow>=1.0.0->anomalib==2.0.0.dev0) (0.49b2)
Requirement already satisfied: about-time==4.2.1 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from alive-progress->pymoo>=0.6.0.1->nncf>=2.10.0->anomalib==2.0.0.dev0) (4.2.1)
Requirement already satisfied: grapheme==0.6.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from alive-progress->pymoo>=0.6.0.1->nncf>=2.10.0->anomalib==2.0.0.dev0) (0.6.0)
Requirement already satisfied: executing>=1.2.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from stack_data->ipython>=7.23.1->ipykernel->anomalib==2.0.0.dev0) (2.1.0)
Requirement already satisfied: asttokens>=2.1.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from stack_data->ipython>=7.23.1->ipykernel->anomalib==2.0.0.dev0) (3.0.0)
Requirement already satisfied: pure-eval in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from stack_data->ipython>=7.23.1->ipykernel->anomalib==2.0.0.dev0) (0.2.3)
Requirement already satisfied: webencodings in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from bleach!=5.0.0->nbconvert>=6.4.4->jupyter-server<3,>=2.4.0->notebook->anomalib==2.0.0.dev0) (0.5.1)
Requirement already satisfied: pyasn1-modules>=0.2.1 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from google-auth~=2.0->databricks-sdk<1,>=0.20.0->mlflow-skinny==2.18.0->mlflow>=1.0.0->anomalib==2.0.0.dev0) (0.4.1)
Requirement already satisfied: rsa<5,>=3.1.4 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from google-auth~=2.0->databricks-sdk<1,>=0.20.0->mlflow-skinny==2.18.0->mlflow>=1.0.0->anomalib==2.0.0.dev0) (4.9)
Requirement already satisfied: fqdn in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from jsonschema[format-nongpl]>=4.18.0->jupyter-events>=0.9.0->jupyter-server<3,>=2.4.0->notebook->anomalib==2.0.0.dev0) (1.5.1)
Requirement already satisfied: isoduration in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from jsonschema[format-nongpl]>=4.18.0->jupyter-events>=0.9.0->jupyter-server<3,>=2.4.0->notebook->anomalib==2.0.0.dev0) (20.11.0)
Requirement already satisfied: jsonpointer>1.13 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from jsonschema[format-nongpl]>=4.18.0->jupyter-events>=0.9.0->jupyter-server<3,>=2.4.0->notebook->anomalib==2.0.0.dev0) (3.0.0)
Requirement already satisfied: uri-template in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from jsonschema[format-nongpl]>=4.18.0->jupyter-events>=0.9.0->jupyter-server<3,>=2.4.0->notebook->anomalib==2.0.0.dev0) (1.3.0)
Requirement already satisfied: webcolors>=24.6.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from jsonschema[format-nongpl]>=4.18.0->jupyter-events>=0.9.0->jupyter-server<3,>=2.4.0->notebook->anomalib==2.0.0.dev0) (24.11.1)
Requirement already satisfied: cffi>=1.0.1 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from argon2-cffi-bindings->argon2-cffi>=21.1->jupyter-server<3,>=2.4.0->notebook->anomalib==2.0.0.dev0) (1.17.1)
Requirement already satisfied: soupsieve>1.2 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from beautifulsoup4->nbconvert>=6.4.4->jupyter-server<3,>=2.4.0->notebook->anomalib==2.0.0.dev0) (2.6)
Requirement already satisfied: pycparser in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from cffi>=1.0.1->argon2-cffi-bindings->argon2-cffi>=21.1->jupyter-server<3,>=2.4.0->notebook->anomalib==2.0.0.dev0) (2.22)
Requirement already satisfied: pyasn1<0.7.0,>=0.4.6 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from pyasn1-modules>=0.2.1->google-auth~=2.0->databricks-sdk<1,>=0.20.0->mlflow-skinny==2.18.0->mlflow>=1.0.0->anomalib==2.0.0.dev0) (0.6.1)
Requirement already satisfied: arrow>=0.15.0 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from isoduration->jsonschema[format-nongpl]>=4.18.0->jupyter-events>=0.9.0->jupyter-server<3,>=2.4.0->notebook->anomalib==2.0.0.dev0) (1.3.0)
Requirement already satisfied: types-python-dateutil>=2.8.10 in d:\programdata\anaconda3\envs\ab_env\lib\site-packages (from arrow>=0.15.0->isoduration->jsonschema[format-nongpl]>=4.18.0->jupyter-events>=0.9.0->jupyter-server<3,>=2.4.0->notebook->anomalib==2.0.0.dev0) (2.9.0.20241003)
Downloading importlib_metadata-8.5.0-py3-none-any.whl (26 kB)
Downloading tomli-2.2.1-py3-none-any.whl (14 kB)
Downloading zipp-3.21.0-py3-none-any.whl (9.6 kB)
Building wheels for collected packages: anomalib
Building editable for anomalib (pyproject.toml) ... done
Created wheel for anomalib: filename=anomalib-2.0.0.dev0-0.editable-py3-none-any.whl size=14242 sha256=d8b9c019510ed1f342de9ba1c721de53a502e4a2ce12d14fed95be977d4b2cce
Stored in directory: C:\Users\50691\AppData\Local\Temp\pip-ephem-wheel-cache-u7_x_m9w\wheels\39\10\15\0a6af413c579e5837853d6e4625732e7bf671d831edba6767b
Successfully built anomalib
Installing collected packages: zipp, tomli, importlib-metadata, anomalib
Attempting uninstall: anomalib
Found existing installation: anomalib 2.0.0.dev0
Uninstalling anomalib-2.0.0.dev0:
Successfully uninstalled anomalib-2.0.0.dev0
Successfully installed anomalib-2.0.0.dev0 importlib-metadata-8.5.0 tomli-2.2.1 zipp-3.21.0

(ab_env) C:\Users\50691\anomalib>

@xin94wang
Copy link
Author

@samet-akcay When I run pip install -e “. [full]” and then go to execute anomalib train --model Patchcore --data anomalib.data.MVTec, the error is reported as shown here
image

@samet-akcay
Copy link
Contributor

hmm, this is peculiar. Can you show the output of anomalib install -v?

@xin94wang
Copy link
Author

@samet-akcay
This is the result of running anomalib install -v

image
....
image

@samet-akcay
Copy link
Contributor

looks like it is complete. Can you try the API to see if everything else working ok

from anomalib.data import MVTec
from anomalib.models import Patchcore
from anomalib.engine import Engine

datamodule = MVTec()
model = Patchcore()
engine = Engine()

engine.train(datamodule=datamodule, model=model)

@xin94wang
Copy link
Author

looks like it is complete. Can you try the API to see if everything else working ok

from anomalib.data import MVTec
from anomalib.models import Patchcore
from anomalib.engine import Engine

datamodule = MVTec()
model = Patchcore()
engine = Engine()

engine.train(datamodule=datamodule, model=model)

Is this running these lines of code directly on the terminal?
Still add these lines of code to the train.exe file, and then use Python train.exe

@samet-akcay
Copy link
Contributor

samet-akcay commented Dec 3, 2024

you could create a python file like train.py and paste this inside

@xin94wang
Copy link
Author

I followed your method and put the train.py file in the directory “\anomalib\myproj\train.py”, the result is as below, he is downloading the mvtec dataset, but I have this dataset in my computer, I am not sure how to use it, please ask! Where do I view it?

image

@samet-akcay
Copy link
Contributor

samet-akcay commented Dec 3, 2024

then you should be providing the path to your MVTec dataset when creating the datamodule. for example,

...
datamodule = MVTec(root=</path/to/your/mvtec>)
...

@xin94wang
Copy link
Author

After specifying the dataset path, this error appears again
image

@samet-akcay
Copy link
Contributor

I would check the dataset. Are you sure that you have the full dataset-category

@xin94wang
Copy link
Author

1733230190191

1733230127082

1733230141892

@Occupied-By-Aurora
Copy link

I have the same problem and wanted to ask if you solved it?

@xin94wang
Copy link
Author

I have the same problem and wanted to ask if you solved it?

no,I have not solved this problem.

@samet-akcay
Copy link
Contributor

I have the same problem and wanted to ask if you solved it?

are you on windows as well? Do you use pypi version of anomalib or did you install it from source?

@Occupied-By-Aurora
Copy link

I'm using a source code installation on Windows.

@ashwinvaidya17
Copy link
Collaborator

If you are using the source code installation then can you try removing the import statements from the try/catch block


It might then print the error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants