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.
6392 Discussions

OpenVINO onnx ERROR: Data batch channel count (1) does not match filter input channel count (2)

tangweijie_twj
Beginner
750 Views

I had a problem when I tried to inference with my onnx IR documents.  Before this, I've already transferred my onnx network.  The network was firstly built on MATLAB Deep Network Designer, then I used a transfer formulation to transfer it to onnx format. When I tried to transfer it to IR documents in OpenVINO, it always came out an error that something was wrong with the input_shape and I posted a question on this community. However, now the input data is prepared but a new error came out. The input data was a file saved by GNU Radio file sink. At first, it was a binary file but I've already transferred it to a two dimension data file because the input data in MATLAB was this format.

My operating environment:

Ubuntu 18.04.5

OpenVINO 2021.3.394

Python 3.8Screenshot from 2021-06-04 10-49-47.png

0 Kudos
2 Replies
IntelSupport
Community Manager
730 Views

Hi tangweijie_twj,

Thanks for reaching out. I have tested your model and encountered the same error. I tested your model with the OpenVINO Benchmark app and the same error arises. It seems that your onnx model might miss some parameters during the conversion. Could you share your command for converting the model into the IR? Did you specify the batch parameter?

 

Regards,

Aznie


0 Kudos
IntelSupport
Community Manager
711 Views

Hi tangweijie_twj,

Thank you for your question. If you need any additional information from Intel, please submit a new question as this thread is no longer being monitored. 


Regards,

Aznie


0 Kudos
Reply