We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
openvino_inferencer.py
line 204
tuple(list(self.input_blob.partial_shape)[2:][::-1]) type:(<Dimension: 256>, <Dimension: 256>) should input type: [256, 256]
N/A
PatchCore
python tools/inference/openvino_inference.py
OS information:
rDsize = self.input_blob.partial_shape[2:][::-1] image = cv2.resize(image, [dim.max_length for dim in rDsize])
No response
pip
Patchcore YAML
Backend tkagg is interactive backend. Turning interactive mode on. Traceback (most recent call last): File "C:\Users\huangbing\AppData\Roaming\JetBrains\IdeaIC2024.2\plugins\python-ce\helpers\pydev\pydevd.py", line 1570, in _exec pydev_imports.execfile(file, globals, locals) # execute the script File "C:\Users\huangbing\AppData\Roaming\JetBrains\IdeaIC2024.2\plugins\python-ce\helpers\pydev\_pydev_imps\_pydev_execfile.py", line 18, in execfile exec(compile(contents+"\n", file, 'exec'), glob, loc) File "G:\study\anomalib-main\openvino_infer.py", line 100, in <module> infer(args) File "G:\study\anomalib-main\openvino_infer.py", line 82, in infer predictions = inferencer.predict(image=image) File "G:\study\anomalib-main\src\anomalib\deploy\inferencers\openvino_inferencer.py", line 204, in predict image = cv2.resize(image, tuple(list(self.input_blob.partial_shape)[2:][::-1])) cv2.error: OpenCV(4.10.0) :-1: error: (-5:Bad argument) in function 'resize'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
openvino_inferencer.py
line 204
tuple(list(self.input_blob.partial_shape)[2:][::-1]) type:(<Dimension: 256>, <Dimension: 256>)
should input type: [256, 256]
Dataset
N/A
Model
PatchCore
Steps to reproduce the behavior
python tools/inference/openvino_inference.py
OS information
OS information:
Expected behavior
Screenshots
No response
Pip/GitHub
pip
What version/branch did you use?
No response
Configuration YAML
Patchcore YAML
Logs
Code of Conduct
The text was updated successfully, but these errors were encountered: