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

Exception: Exception occurred during running replacer "REPLACEMENT_ID model conversion

MCC
Beginner
1,926 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
1,911 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

 

0 Kudos
MCC
Beginner
1,881 Views

Hi Rizal,

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

 

Regards,

MCC

 

0 Kudos
MCC
Beginner
1,877 Views

Hi Rizal,

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

 

Thanks,

MCC

0 Kudos
Rizal_Intel
Moderator
1,869 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


0 Kudos
MCC
Beginner
1,864 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

0 Kudos
Rizal_Intel
Moderator
1,860 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


0 Kudos
Reply