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.
6411 Discussões

Exception: Exception occurred during running replacer "REPLACEMENT_ID model conversion

MCC
Principiante
2.357 Visualizações

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 Respostas
Rizal_Intel
Moderador
2.342 Visualizações

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
Principiante
2.312 Visualizações

Hi Rizal,

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

 

Regards,

MCC

 

MCC
Principiante
2.308 Visualizações

Hi Rizal,

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

 

Thanks,

MCC

Rizal_Intel
Moderador
2.300 Visualizações

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
Principiante
2.295 Visualizações

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
Moderador
2.291 Visualizações

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


Responder