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
Unfortunately the OV API doesn't allow extracting this information from the model. It's under discussion right now and it should be available in one of the future releases.
You can use the ModelProto object's API to extract the ONNX metadata though. Here's a C++ snippet which does exactly that https://gist.github.com/tomdol/8dae97218a8a9e56cb12919dd3e026d4. You can do something similar in Python by iterating over model.metadata_props where the model is a result of onnx.load_model() function call.
Description:
I put some information into the onnx metadata_props by the onnx package (model link):
Get metadata by the onnxruntime package.
Question: How to get the metadata info by OpenVINO?
Thanks!
The text was updated successfully, but these errors were encountered: