Intel® Distribution of OpenVINO™ Toolkit
Community support and discussions about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all things computer vision-related on Intel® platforms.
5541 Discussions

Exception: Exception occurred during running replacer "REPLACEMENT_ID model conversion

MCC
Beginner
801 Views

I have issues while converting  a custom PB frozen model . Other custom models were work, but this one got some errors. 

Below is my environment:

OS: Both Windows 10 

Python Version : 3.6.8

TF version : 1.15.4

Openvino Version : openvino_2021.2.185

I am adding the log file here.

 

0 Kudos
6 Replies
Rizal_Intel
Moderator
785 Views

Hi MCC,

 

You are receiving a lot of "Shape and content size of tensor don't match" warning.

You may need to specify the input size as it seems that the propagated size is not correct.

 

Regards,

Rizal

 

MCC
Beginner
755 Views

Hi Rizal,

I provided  "--input" with "--input_shape" and "-b 1"   for mo.py, and both way got the same error. 

 

Regards,

MCC

 

MCC
Beginner
751 Views

Hi Rizal,

I fixed it. Just need to add "--static_shape".

 

Thanks,

MCC

Rizal_Intel
Moderator
743 Views

Hi MCC,


Congratulation on being able to fix it.

Can you share what is different compared to your other custom models for other readers that may encounter the same issue as you?


Is there anything else you would like to ask?


Regards,

Rizal


MCC
Beginner
738 Views

Hi Rizal,

I guess the issue is kernel size between layers. For some reasons, this model did not use resnet like architecture. 

Regards,

MCC

Rizal_Intel
Moderator
734 Views

Hi MCC,


Thank you for the information.


Intel will no longer monitor this thread. If you need any additional information from Intel, please submit a new question.


Regards,

Rizal


Reply