-
Notifications
You must be signed in to change notification settings - Fork 694
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]: Anomalib does not work with Python<=3.11.3 #2393
Comments
In my python 3.11.9 environment, this issue is not reproduced at all in both |
Yeah, I'm also using Python 3.11, which works fine |
@harimkang @samet-akcay Thank you for your reply. Hmm... Maybe python added a new feature during patch updates (e.g. 3.11.0 → 3.11.1). I'll check the cPython sources. |
I've confirmed that the
Now I'll send a PR to fix this. |
Describe the bug
Anomalib depends on the new feature introduced with Python 3.12, which causes an error on Python 3.11.
When I simply run the train command from tutorial, anomalib raise the following error.
This behaviour is due to the
filter
argument was introduced in the Python 3.12, but I'm using Python 3.11 (I can't upgrade to 3.12 because I'm using the python of Databricks).Dataset
MVTec
Model
PatchCore
Steps to reproduce the behavior
pip install anomalib==1.1.1
OS information
OS information:
Expected behavior
Screenshots
No response
Pip/GitHub
pip
What version/branch did you use?
1.1.1
Configuration YAML
**no configuration file**
Logs
Code of Conduct
The text was updated successfully, but these errors were encountered: