Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.
6404 Discussions

Can I use the output blob of A network as the input blob of B network?

Hu__Shuping
Beginner
331 Views

For some reason, I need to use the output blob of A network as the input blob of B network, the size of the output blob is 1 * 256 * 21 * 21(fp32),and the size of the input blob is 1 * 256 * 21 * 21(fp32) as well, but when I trying to do this, the error occurs that "terminate called after throwing an instance of 'InferenceEngine::details::InferenceEngineException' what(): output channels value 256 is not supported for HWC [by G-API]. Expected range (inclusive): [1;4]."

 

the code is: 

InferenceEngine::Blob::Ptr output_blob1 = request1.GetBlob(outputName1);
request2.SetBlob(inputName2, output_blob1);
request2.Infer();

0 Kudos
1 Reply
Iffa_Intel
Moderator
308 Views

Greetings,


This case is similar to Github Case #7524 : https://github.com/openvinotoolkit/openvino/issues/7524


We already provide answer there, hence please help to continue on that thread instead.

I'm closing this case.



Sincerely,

Iffa


0 Kudos
Reply