-
Notifications
You must be signed in to change notification settings - Fork 672
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]: Colab notebook anomalib install -v doesn't work #2222
Comments
This also happens to me today. It seems like this happens only at Colab. |
@krupeshp @papago2355 Thank you for reporting the issue. I've checked and this only happens with colab. It doesn't install properly and the output also freezes and says it's done, but it doesn't install properly. It's hard to tell if this is a problem with anomalib or colab, but there are alternatives. !pip install anomalib[full] In my colab environment (python 3.10), the above command works fine. |
@harimkang Thank you! This solves the issue. I highly doubt this is something from Colab since every other online editors and python notebook services are working 100% fine. |
Good to know! |
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
Code of Conduct
The text was updated successfully, but these errors were encountered: