Unable to Get the Tensor Nodes Using OpenVINO™ Runtime C++ API in OpenVINO™ API 2.0
Content Type: Troubleshooting | Article ID: 000094847 | Last Reviewed: 05/19/2023
Unable to find the replacement for the following APIs in OpenVINO™ API 2.0 :
Blob::Ptr features_output = infer_request.GetBlob("features");
Blob::Ptr heatmaps_output = infer_request.GetBlob("heatmaps");
Blob::Ptr pafs_output = infer_request.GetBlob("pafs");
The Blob API has been deprecated as of OpenVINO™ 2022 Release and OpenVINO™ API 2.0.
Use the following class to get the Tensor nodes for OpenVINO™ API 2.0:
infer_request.get_tensor(const std::string& tensor_name));
Refer the InferRequest class for OpenVINO™ API 2.0.