anomalib
anomalib copied to clipboard
[Bug]: Colab notebook anomalib install -v doesn't work
Describe the bug
To use other subcommand using anomalib install Could not find anomalib. To use this feature, ensure that you have anomalib installed. Could not find openvino. To use this feature, ensure that you have openvino installed. To use comet logger install it using pip install comet-ml To use any logger install it using anomalib install -v /usr/local/lib/python3.10/dist-packages/anomalib/cli/install.py:63: UserWarning: Torch Version will be selected as 2.2.0. torch_install_args = get_torch_install_args(torch_requirement) /usr/local/lib/python3.10/dist-packages/anomalib/cli/utils/installation.py:271: UserWarning: Installed CUDA version is v12.2. v11.8 <= Supported CUDA version <= v12.1. This script will use CUDA v12.1. However, this may not be safe, and you are advised to install the correct version of CUDA. For more details, refer to https://pytorch.org/get-started/locally/ cuda_version = update_cuda_version_with_available_torch_cuda_build(cuda_version, torch_version) ⠋ Installing packages... This may take a few minutes.
[11:21:44] Installation list: ['gitpython', 'anomalib', 'tox', 'timm<=1.0.7,>=1.0.7',
This issue occurring in the google colab. It shows these logs and shell completes running. In both scenarios using pip and from source. %anomalib doesn't work as I use !anomalib install -v. Still having same problem. @samet-akcay
Dataset
N/A
Model
N/A
Steps to reproduce the behavior
NA
OS information
Google Colab
Expected behavior
It should install every dependencies which works fine with workstation installation. Colab installation doesn't work it is not installing dependencies which it should get installed with !anomalib install -v
Screenshots
No response
Pip/GitHub
pip
What version/branch did you use?
No response
Configuration YAML
NA
Logs
NA
Code of Conduct
- [X] I agree to follow this project's Code of Conduct