You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from anomalib.data.utils import InputNormalizationMethod
print(InputNormalizationMethod.NONE)
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
If InputNormalizationMethod is deprecated I suggest updating documentation and also Folder class annotation to reflect that.
Screenshots
No response
Pip/GitHub
pip
What version/branch did you use?
No response
Configuration YAML
not relevant
Logs
Traceback (most recent call last):
File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/home/dev/oc_ml/oc_alien_detection/training_pipeline/training_pipeline/train.py", line 3, in<module>
from anomalib.data.utils import InputNormalizationMethod
ImportError: cannot import name 'InputNormalizationMethod' from 'anomalib.data.utils' (/home/dev/oc_ml/oc_alien_detection/training_pipeline/.venv/lib/python3.10/site-packages/anomalib/data/utils/__init__.py)
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
Describe the bug
In the docs (https://anomalib.readthedocs.io/en/latest/markdown/guides/reference/data/image/folder.html) it shown that
InputNormalizationMethod
should be used withFolder
class, but his enum doesn't exist anymore.Dataset
N/A
Model
N/A
Steps to reproduce the behavior
OS information
OS information:
Expected behavior
If
InputNormalizationMethod
is deprecated I suggest updating documentation and alsoFolder
class annotation to reflect that.Screenshots
No response
Pip/GitHub
pip
What version/branch did you use?
No response
Configuration YAML
not relevant
Logs
Code of Conduct
The text was updated successfully, but these errors were encountered: