-
Notifications
You must be signed in to change notification settings - Fork 713
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]: OpenVINOInferencer.init() got an unexpected keyword argument 'metadata_path' #1489
Closed
1 task done
Comments
Hello. Thanks for reporting, metadata_path was indeed renamed to metadata. |
@adrianboguszewski, will you be able to check this out when you work on anomalib stuff |
This just needs to be changed from metadata_path to metadata I believe. It wasn't in some cases like notebooks 501. Hope that helps. |
@samet-akcay I'll verify all notebooks on Friday :) |
great thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
https://github.com/openvinotoolkit/anomalib/blob/main/notebooks/500_use_cases/501_dobot/501a_training_a_model_with_cubes_from_a_robotic_arm.ipynb
Load the OpenVINO Model
inferencer = OpenVINOInferencer(
path=openvino_model_path, # Path to the OpenVINO IR model.
metadata_path=metadata_path, # Path to the metadata file.
device="CPU", # We would like to run it on an Intel CPU.
)
when I run this code, I get error:
TypeError: OpenVINOInferencer.init() got an unexpected keyword argument 'metadata_path'
then I edit code:
metadata_path=metadata_path -> metadata=metadata_path
inferencer = OpenVINOInferencer(
path=openvino_model_path, # Path to the OpenVINO IR model.
metadata=metadata_path, # Path to the metadata file.
device="CPU", # We would like to run it on an Intel CPU.
)
Dataset
N/A
Model
N/A
Steps to reproduce the behavior
NA
OS information
NA
Expected behavior
NA
Screenshots
No response
Pip/GitHub
GitHub
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: