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.

Model optimiser subgraph replacement

Sunando_S_Intel
Employee
614 Views

Hi,

I was using model optimiser and had a question regarding the subgraph replacement for tensorflow/caffe.

I am experimenting with a simple model performing a filter operation followed by Relu. (to be precise Conv -> Inv_-> Concat -> Relu). I want to replace this subgraph by Conv ->ICR (basically having a hand rolled version of InV->Cat->Relu). 

I have added a replacement extension in the model_optimizer/extensions/front/tf however the final IR bin files seem not to have any effect. Can you please help em out.

Regards

 

 

 

 

 

0 Kudos
2 Replies
Monique_J_Intel
Employee
614 Views

Hi Sunando,

Are you converting a TF model or a caffe model and could you share the file that you are trying to convert to IR?

Kind Regards,

Monique Jones

0 Kudos
Rik_A_Intel
Employee
614 Views

Hi,

This was initially a caffe graph but when we discovered there was no support for subgraph replacement in caffe (see other forum post from me) we tried Tensor flow. This post can be regarded as a duplicate of mine ("BUG(?) Sub graph replacement in caffe flow is missing").

 

0 Kudos
Reply