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.

Error in meta file conversion


Im using the command "python3 --input_meta_graph <INPUT_META_GRAPH>.meta" to convert a meta file )attached with other files) and I keep getting an error ( Exception occurred during running replacer "REPLACEMENT_ID" (<class 'extensions.middle.PartialInfer.PartialInfer'>): Stopped shape/value propagation at "training/Adam/gradients/loss/dense_4_loss/Mean_grad/add" node.).

I cant seem to resolve this error.

Kindly help.

0 Kudos
1 Reply

Dearest Kobresli, Abdallah,

I noticed there's a *.pb in the folder you provided. Is it frozen ? If the *.pb is not frozen please freeze it using Tensorflow protobuf freezing instructions in OpenVino docs. Or you can also use, a Tensorflow tool. Sometimes meta graphs and checkpoints don't work well within Model Optimizer. In this case, you can freeze your *.pb and often succeed that way.

Let me know if this helps you.

For freezing you do need to know output layer names. You should already know this if you built the model yourself. Or you can fire up Tensorboard and see what the Output layer(s) are.

Thanks and I hope it helps,



0 Kudos