<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic It seems like you are using in Intel® Distribution of OpenVINO™ Toolkit</title>
    <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Model-Optimizer-not-able-to-convert-Custom-Trained-model/m-p/1172317#M16506</link>
    <description>&lt;P&gt;It seems like you are using an older version of OpenVINO. Please try converting the model after installing the latest version of OpenVINO(2020.2) and let us know the results.&lt;/P&gt;</description>
    <pubDate>Tue, 28 Apr 2020 08:50:31 GMT</pubDate>
    <dc:creator>JAIVIN_J_Intel</dc:creator>
    <dc:date>2020-04-28T08:50:31Z</dc:date>
    <item>
      <title>Model Optimizer not able to convert Custom Trained model.</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Model-Optimizer-not-able-to-convert-Custom-Trained-model/m-p/1172314#M16503</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my project , I am usign the&amp;nbsp;"faster_rcnn_resnet101_coco" from &lt;A href="https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/detection_model_zoo.md.&amp;nbsp;" target="_blank"&gt;https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/detection_model_zoo.md.&amp;nbsp;&lt;/A&gt;;&lt;/P&gt;&lt;P&gt;I downloaded model and retrain it using my own custom dataset with 9 classes.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After i done retraining, the model is tested using tensorflow object detection and successfully inference with 9 object being detected.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then i pass my custom trained&amp;nbsp;faster_rcnn_resnet101 for model optimizer to convert to OpenVINO IR&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After a few try and error, i found an interesting issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;1)&amp;nbsp;"faster_rcnn_resnet101_coco" model i download from tensorflow model zoo, the pipiline.config set "num_classes: 90 " - SUCCESS&amp;nbsp;convert to IR model&lt;/P&gt;&lt;P&gt;2) Custom trained&amp;nbsp;faster_rcnn_resnet101 model,&amp;nbsp;the pipiline.config set "num_classes: 9 " - FAILED&amp;nbsp;&amp;nbsp;to convert&amp;nbsp;&lt;/P&gt;&lt;P&gt;3) Custom trained&amp;nbsp;faster_rcnn_resnet101 model,&amp;nbsp;the pipiline.config set "num_classes: 1 " - SUCCESS&amp;nbsp;convert to IR model&lt;/P&gt;&lt;P&gt;** all model conversion run with same command. Just different on "pipeline.config" "num_classes:"&lt;/P&gt;&lt;P&gt;Somehow, the "num_class" in the pipeline have significant impact on converting model.&amp;nbsp;&lt;/P&gt;&lt;P&gt;After convert, i able to inference the&amp;nbsp;Custom trained&amp;nbsp;faster_rcnn_resnet101 model, but it only detect 1 class of item only.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea why this happen?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Yee Hern&lt;/P&gt;</description>
      <pubDate>Sun, 26 Apr 2020 12:29:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Model-Optimizer-not-able-to-convert-Custom-Trained-model/m-p/1172314#M16503</guid>
      <dc:creator>Hern__Yee</dc:creator>
      <dc:date>2020-04-26T12:29:47Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Model-Optimizer-not-able-to-convert-Custom-Trained-model/m-p/1172315#M16504</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Could you please specify the command used to convert the model IR and the entire log observed when the issue happens.&lt;/P&gt;&lt;P&gt;You may also refer to the steps for&amp;nbsp;&lt;A href="https://docs.openvinotoolkit.org/latest/_docs_MO_DG_prepare_model_convert_model_tf_specific_Convert_Object_Detection_API_Models.html"&gt;Converting TensorFlow* Object Detection API Models&lt;/A&gt;&amp;nbsp;to know about the&amp;nbsp;required parameters.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jaivin&lt;/P&gt;</description>
      <pubDate>Mon, 27 Apr 2020 14:11:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Model-Optimizer-not-able-to-convert-Custom-Trained-model/m-p/1172315#M16504</guid>
      <dc:creator>JAIVIN_J_Intel</dc:creator>
      <dc:date>2020-04-27T14:11:27Z</dc:date>
    </item>
    <item>
      <title>With the exact same command</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Model-Optimizer-not-able-to-convert-Custom-Trained-model/m-p/1172316#M16505</link>
      <description>&lt;P style="margin-left:0in; margin-right:0in"&gt;With the exact same command below, i changed the pipeline.config num_classes to 1, it will success convert.&lt;/P&gt;&lt;P style="margin-left:0in; margin-right:0in"&gt;The command&amp;nbsp; :&amp;nbsp;&lt;/P&gt;&lt;P style="margin-left:0in; margin-right:0in"&gt;python mo_tf.py --input_model=frozen_inference_graphFasterRCNN.pb --tensorflow_use_custom_operations_config=faster_rcnn_support.json --tensorflow_object_detection_api_pipeline_config=pipeline.config --reverse_input_channels&lt;/P&gt;&lt;P style="margin-left:0in; margin-right:0in"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin-left:0in; margin-right:0in"&gt;Model Optimizer arguments:&lt;BR /&gt;Common parameters:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Path to the Input Model: &amp;nbsp; &amp;nbsp; &amp;nbsp;E:\AI\Model Optimizer\model_optimizer 2019-R3\frozen_inference_graphFasterRCNN.pb&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Path for generated IR: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;E:\AI\Model Optimizer\model_optimizer 2019-R3\.&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - IR output name: &amp;nbsp; &amp;nbsp; &amp;nbsp; frozen_inference_graphFasterRCNN&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Log level: &amp;nbsp; &amp;nbsp;ERROR&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Batch: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Not specified, inherited from the model&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Input layers: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Not specified, inherited from the model&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Output layers: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Not specified, inherited from the model&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Input shapes: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Not specified, inherited from the model&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Mean values: &amp;nbsp;Not specified&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Scale values: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Not specified&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Scale factor: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Not specified&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Precision of IR: &amp;nbsp; &amp;nbsp; &amp;nbsp;FP32&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Enable fusing: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;True&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Enable grouped convolutions fusing: &amp;nbsp; True&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Move mean values to preprocess section: &amp;nbsp; &amp;nbsp; &amp;nbsp; False&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Reverse input channels: &amp;nbsp; &amp;nbsp; &amp;nbsp; False&lt;BR /&gt;TensorFlow specific parameters:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Input model in text protobuf format: &amp;nbsp;False&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Path to model dump for TensorBoard: &amp;nbsp; None&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - List of shared libraries with TensorFlow custom layers implementation: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;None&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Update the configuration file with input/output node names: &amp;nbsp; None&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Use configuration file used to generate the model with Object Detection API: &amp;nbsp;E:\AI\Model Optimizer\model_optimizer 2019-R3\pipeline.config&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Operations to offload: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;None&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Patterns to offload: &amp;nbsp;None&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Use the config file: &amp;nbsp;E:\AI\Model Optimizer\model_optimizer 2019-R3\faster_rcnn_support.json&lt;BR /&gt;Model Optimizer version: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2019.3.0-408-gac8584cb7&lt;BR /&gt;C:\Users\Dafei\AppData\Local\Programs\Python\Python36\Lib\site-packages\tensorflow\python\framework\dtypes.py:526: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.&lt;BR /&gt;&amp;nbsp; _np_qint8 = np.dtype([("qint8", np.int8, 1)])&lt;BR /&gt;C:\Users\Dafei\AppData\Local\Programs\Python\Python36\Lib\site-packages\tensorflow\python\framework\dtypes.py:527: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.&lt;BR /&gt;&amp;nbsp; _np_quint8 = np.dtype([("quint8", np.uint8, 1)])&lt;BR /&gt;C:\Users\Dafei\AppData\Local\Programs\Python\Python36\Lib\site-packages\tensorflow\python\framework\dtypes.py:528: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.&lt;BR /&gt;&amp;nbsp; _np_qint16 = np.dtype([("qint16", np.int16, 1)])&lt;BR /&gt;C:\Users\Dafei\AppData\Local\Programs\Python\Python36\Lib\site-packages\tensorflow\python\framework\dtypes.py:529: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.&lt;BR /&gt;&amp;nbsp; _np_quint16 = np.dtype([("quint16", np.uint16, 1)])&lt;BR /&gt;C:\Users\Dafei\AppData\Local\Programs\Python\Python36\Lib\site-packages\tensorflow\python\framework\dtypes.py:530: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.&lt;BR /&gt;&amp;nbsp; _np_qint32 = np.dtype([("qint32", np.int32, 1)])&lt;BR /&gt;C:\Users\Dafei\AppData\Local\Programs\Python\Python36\Lib\site-packages\tensorflow\python\framework\dtypes.py:535: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.&lt;BR /&gt;&amp;nbsp; np_resource = np.dtype([("resource", np.ubyte, 1)])&lt;BR /&gt;[ WARNING ] Model Optimizer removes pre-processing block of the model which resizes image keeping aspect ratio. The Inference Engine does not support dynamic image size so the Intermediate Representation file is generated with the input image size of a fixed size.&lt;BR /&gt;Specify the "--input_shape" command line parameter to override the default shape which is equal to (600, 600).&lt;BR /&gt;The Preprocessor block has been removed. Only nodes performing mean value subtraction and scaling (if applicable) are kept.&lt;BR /&gt;The graph output nodes "num_detections", "detection_boxes", "detection_classes", "detection_scores" have been replaced with a single layer of type "Detection Output". Refer to IR catalogue in the documentation for information about this layer.&lt;BR /&gt;[ ERROR ] &amp;nbsp;Cannot infer shapes or values for node "do_reshape_conf".&lt;BR /&gt;[ ERROR ] &amp;nbsp;Number of elements in input [100 &amp;nbsp;14] and output [1, 1000] of reshape node do_reshape_conf mismatch&lt;BR /&gt;[ ERROR ]&lt;BR /&gt;[ ERROR ] &amp;nbsp;It can happen due to bug in custom shape infer function &amp;lt;function Reshape.infer at 0x0000023BD552EBF8&amp;gt;.&lt;BR /&gt;[ ERROR ] &amp;nbsp;Or because the node inputs have incorrect values/shapes.&lt;BR /&gt;[ ERROR ] &amp;nbsp;Or because input shapes are incorrect (embedded to the model or passed via --input_shape).&lt;BR /&gt;[ ERROR ] &amp;nbsp;Run Model Optimizer with --log_level=DEBUG for more information.&lt;BR /&gt;[ ERROR ] &amp;nbsp;Number of elements in input [100 &amp;nbsp;14] and output [1, 1000] of reshape node do_reshape_conf mismatch&lt;BR /&gt;Stopped shape/value propagation at "do_reshape_conf" node.&lt;BR /&gt;&amp;nbsp;For more information please refer to Model Optimizer FAQ (https://docs.openvinotoolkit.org/latest/_docs_MO_DG_prepare_model_Model_Optimizer_FAQ.html), question #38.&lt;BR /&gt;Exception occurred during running replacer "REPLACEMENT_ID" (&amp;lt;class 'extensions.middle.PartialInfer.PartialInfer'&amp;gt;): Number of elements in input [100 &amp;nbsp;14] and output [1, 1000] of reshape node do_reshape_conf mismatch&lt;BR /&gt;Stopped shape/value propagation at "do_reshape_conf" node.&lt;BR /&gt;&amp;nbsp;For more information please refer to Model Optimizer FAQ (https://docs.openvinotoolkit.org/latest/_docs_MO_DG_prepare_model_Model_Optimizer_FAQ.html), question #3&lt;/P&gt;</description>
      <pubDate>Mon, 27 Apr 2020 15:04:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Model-Optimizer-not-able-to-convert-Custom-Trained-model/m-p/1172316#M16505</guid>
      <dc:creator>Hern__Yee</dc:creator>
      <dc:date>2020-04-27T15:04:10Z</dc:date>
    </item>
    <item>
      <title>It seems like you are using</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Model-Optimizer-not-able-to-convert-Custom-Trained-model/m-p/1172317#M16506</link>
      <description>&lt;P&gt;It seems like you are using an older version of OpenVINO. Please try converting the model after installing the latest version of OpenVINO(2020.2) and let us know the results.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2020 08:50:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Model-Optimizer-not-able-to-convert-Custom-Trained-model/m-p/1172317#M16506</guid>
      <dc:creator>JAIVIN_J_Intel</dc:creator>
      <dc:date>2020-04-28T08:50:31Z</dc:date>
    </item>
    <item>
      <title>Hi , i tried using OpenVINO</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Model-Optimizer-not-able-to-convert-Custom-Trained-model/m-p/1172318#M16507</link>
      <description>&lt;P&gt;Hi , i tried using OpenVINO 2020 R2.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The behaviour still the same. change the Pipeline.config , num_classes to 1 , then it will works.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[ WARNING ] &amp;nbsp;Use of deprecated cli option --tensorflow_use_custom_operations_config detected. Option use in the following releases will be fatal. Please use --transformations_config cli option instead&lt;BR /&gt;Model Optimizer arguments:&lt;BR /&gt;Common parameters:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Path to the Input Model: &amp;nbsp; &amp;nbsp; &amp;nbsp;E:\AI\Model Optimizer\model_optimizer 2020-R2\frozen_inference_graphFasterRCNN.pb&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Path for generated IR: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;E:\AI\Model Optimizer\model_optimizer 2020-R2\.&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - IR output name: &amp;nbsp; &amp;nbsp; &amp;nbsp; frozen_inference_graphFasterRCNN&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Log level: &amp;nbsp; &amp;nbsp;ERROR&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Batch: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Not specified, inherited from the model&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Input layers: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Not specified, inherited from the model&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Output layers: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Not specified, inherited from the model&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Input shapes: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Not specified, inherited from the model&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Mean values: &amp;nbsp;Not specified&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Scale values: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Not specified&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Scale factor: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Not specified&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Precision of IR: &amp;nbsp; &amp;nbsp; &amp;nbsp;FP32&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Enable fusing: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;True&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Enable grouped convolutions fusing: &amp;nbsp; True&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Move mean values to preprocess section: &amp;nbsp; &amp;nbsp; &amp;nbsp; False&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Reverse input channels: &amp;nbsp; &amp;nbsp; &amp;nbsp; False&lt;BR /&gt;TensorFlow specific parameters:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Input model in text protobuf format: &amp;nbsp;False&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Path to model dump for TensorBoard: &amp;nbsp; None&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - List of shared libraries with TensorFlow custom layers implementation: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;None&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Update the configuration file with input/output node names: &amp;nbsp; None&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Use configuration file used to generate the model with Object Detection API: &amp;nbsp;E:\AI\Model Optimizer\model_optimizer 2020-R2\pipeline.config&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Use the config file: &amp;nbsp;E:\AI\Model Optimizer\model_optimizer 2020-R2\faster_rcnn_support.json&lt;BR /&gt;Model Optimizer version: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2020.2.0-60-g0bc66e26ff&lt;BR /&gt;C:\Users\Dafei\AppData\Local\Programs\Python\Python36\Lib\site-packages\tensorflow\python\framework\dtypes.py:526: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.&lt;BR /&gt;&amp;nbsp; _np_qint8 = np.dtype([("qint8", np.int8, 1)])&lt;BR /&gt;C:\Users\Dafei\AppData\Local\Programs\Python\Python36\Lib\site-packages\tensorflow\python\framework\dtypes.py:527: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.&lt;BR /&gt;&amp;nbsp; _np_quint8 = np.dtype([("quint8", np.uint8, 1)])&lt;BR /&gt;C:\Users\Dafei\AppData\Local\Programs\Python\Python36\Lib\site-packages\tensorflow\python\framework\dtypes.py:528: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.&lt;BR /&gt;&amp;nbsp; _np_qint16 = np.dtype([("qint16", np.int16, 1)])&lt;BR /&gt;C:\Users\Dafei\AppData\Local\Programs\Python\Python36\Lib\site-packages\tensorflow\python\framework\dtypes.py:529: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.&lt;BR /&gt;&amp;nbsp; _np_quint16 = np.dtype([("quint16", np.uint16, 1)])&lt;BR /&gt;C:\Users\Dafei\AppData\Local\Programs\Python\Python36\Lib\site-packages\tensorflow\python\framework\dtypes.py:530: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.&lt;BR /&gt;&amp;nbsp; _np_qint32 = np.dtype([("qint32", np.int32, 1)])&lt;BR /&gt;C:\Users\Dafei\AppData\Local\Programs\Python\Python36\Lib\site-packages\tensorflow\python\framework\dtypes.py:535: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.&lt;BR /&gt;&amp;nbsp; np_resource = np.dtype([("resource", np.ubyte, 1)])&lt;BR /&gt;[ WARNING ] Model Optimizer removes pre-processing block of the model which resizes image keeping aspect ratio. The Inference Engine does not support dynamic image size so the Intermediate Representation file is generated with the input image size of a fixed size.&lt;BR /&gt;Specify the "--input_shape" command line parameter to override the default shape which is equal to (600, 600).&lt;BR /&gt;The Preprocessor block has been removed. Only nodes performing mean value subtraction and scaling (if applicable) are kept.&lt;BR /&gt;The graph output nodes "num_detections", "detection_boxes", "detection_classes", "detection_scores" have been replaced with a single layer of type "Detection Output". Refer to IR catalogue in the documentation for information about this layer.&lt;BR /&gt;[ ERROR ] &amp;nbsp;Cannot infer shapes or values for node "do_reshape_conf".&lt;BR /&gt;[ ERROR ] &amp;nbsp;Number of elements in input [100 &amp;nbsp;14] and output [1, 1000] of reshape node do_reshape_conf mismatch&lt;BR /&gt;[ ERROR ]&lt;BR /&gt;[ ERROR ] &amp;nbsp;It can happen due to bug in custom shape infer function &amp;lt;function Reshape.infer at 0x0000015D8885F9D8&amp;gt;.&lt;BR /&gt;[ ERROR ] &amp;nbsp;Or because the node inputs have incorrect values/shapes.&lt;BR /&gt;[ ERROR ] &amp;nbsp;Or because input shapes are incorrect (embedded to the model or passed via --input_shape).&lt;BR /&gt;[ ERROR ] &amp;nbsp;Run Model Optimizer with --log_level=DEBUG for more information.&lt;BR /&gt;[ ANALYSIS INFO ] &amp;nbsp;Your model looks like TensorFlow Object Detection API Model.&lt;BR /&gt;Check if all parameters are specified:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; --tensorflow_use_custom_operations_config&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; --tensorflow_object_detection_api_pipeline_config&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; --input_shape (optional)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; --reverse_input_channels (if you convert a model to use with the Inference Engine sample applications)&lt;BR /&gt;Detailed information about conversion of this model can be found at&lt;BR /&gt;&lt;A href="https://docs.openvinotoolkit.org/latest/_docs_MO_DG_prepare_model_convert_model_tf_specific_Convert_Object_Detection_API_Models.html" target="_blank"&gt;https://docs.openvinotoolkit.org/latest/_docs_MO_DG_prepare_model_convert_model_tf_specific_Convert_Object_Detection_API_Models.html&lt;/A&gt;&lt;BR /&gt;[ ERROR ] &amp;nbsp;Exception occurred during running replacer "REPLACEMENT_ID" (&amp;lt;class 'extensions.middle.PartialInfer.PartialInfer'&amp;gt;): Stopped shape/value propagation at "do_reshape_conf" node.&lt;BR /&gt;&amp;nbsp;For more information please refer to Model Optimizer FAQ (https://docs.openvinotoolkit.org/latest/_docs_MO_DG_prepare_model_Model_Optimizer_FAQ.html), question #38.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2020 11:52:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Model-Optimizer-not-able-to-convert-Custom-Trained-model/m-p/1172318#M16507</guid>
      <dc:creator>Hern__Yee</dc:creator>
      <dc:date>2020-04-28T11:52:39Z</dc:date>
    </item>
    <item>
      <title>Here is the FasterRCNN model</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Model-Optimizer-not-able-to-convert-Custom-Trained-model/m-p/1172319#M16508</link>
      <description>&lt;P&gt;Here is the FasterRCNN model and pipeline.config&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2020 11:58:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Model-Optimizer-not-able-to-convert-Custom-Trained-model/m-p/1172319#M16508</guid>
      <dc:creator>Hern__Yee</dc:creator>
      <dc:date>2020-04-28T11:58:29Z</dc:date>
    </item>
    <item>
      <title>Hi Yee Hern,</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Model-Optimizer-not-able-to-convert-Custom-Trained-model/m-p/1172320#M16509</link>
      <description>&lt;P&gt;Hi Yee Hern,&lt;/P&gt;&lt;P&gt;Apologies for the late reply.&lt;/P&gt;&lt;P&gt;I have reproduced the issue with the model you have shared. I'm investigating the issue.&lt;/P&gt;&lt;P&gt;Meanwhile, please refer to this &lt;A href="https://software.intel.com/en-us/forums/intel-distribution-of-openvino-toolkit/topic/815295"&gt;thread&lt;/A&gt; on which&amp;nbsp;the user faced a similar issue due to conflict in python versions.&lt;/P&gt;&lt;P&gt;Which version of Tensorflow have you used for&amp;nbsp;retraining?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jaivin&lt;/P&gt;</description>
      <pubDate>Wed, 06 May 2020 09:06:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Model-Optimizer-not-able-to-convert-Custom-Trained-model/m-p/1172320#M16509</guid>
      <dc:creator>JAIVIN_J_Intel</dc:creator>
      <dc:date>2020-05-06T09:06:26Z</dc:date>
    </item>
    <item>
      <title>Hi Yee Hern,</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Model-Optimizer-not-able-to-convert-Custom-Trained-model/m-p/1172321#M16510</link>
      <description>&lt;P&gt;Hi Yee Hern,&lt;/P&gt;&lt;P&gt;Regarding the usage of the parameters stated in&amp;nbsp;pipeline file, this configuration file describes the topology of hyper-parameters and structure of the TensorFlow&amp;nbsp;model. When generating an IR, the model optimizer makes use of this configuration parameters that is why this paramters should align with the trained model. For instance, if you change the num_class of "faster_rcnn_resnet101_coco" model from&amp;nbsp;tensorflow model zoo then you will also get an error due to a mismatch in reshape node&lt;EM&gt; do_reshape_conf&amp;nbsp;&lt;/EM&gt;(the last reshape layer before the output).&lt;/P&gt;&lt;P&gt;Secondly, I had a look at the parameters of the IR file of your model with num_class=1. The size of the nodes does not match the expected behaviour of the original model. Somehow, the&amp;nbsp;model&amp;nbsp;does not match the parameters defined in the pipeline configuration. The expected&amp;nbsp;output of the original model (i.e. output of the last&amp;nbsp;&lt;EM&gt;DetectionOutput&amp;nbsp;&lt;/EM&gt;layer ) is 1x1x100x7 (where 100&amp;nbsp;is the number of detected bounding boxes).&amp;nbsp;Besides, the &lt;EM&gt;do_reshape_conf&lt;/EM&gt; layer (applied just before the output), should have an output size of 1X (Nx100). On the other hand, when I check the IR file of the model you have sent, the output layer has a size of 1x1x700x7 and the output of the &lt;EM&gt;do_reshape_conf &lt;/EM&gt;has a size of 7x200. As you can see, although the model is generated, the sizes do not match to the expected values. Also,&amp;nbsp;&lt;EM&gt;DetectionOutput&amp;nbsp; &lt;/EM&gt;in the generated IR&amp;nbsp;supports only one class, that is why your IR file detects only one class of items.&lt;/P&gt;&lt;P&gt;The generated model somehow supports num_class =13 (according to the parameters that I can see in the IR) and when I set the num_classes in the pipeline.conig file as 13, I can manage to generate IR where the last &lt;EM&gt;DetectionOutput &lt;/EM&gt;layer supports 13 classes with an expected output of 1x1x100x7. Could it be possible that somehow your custom trained model is supporting 13 classes instead of 9? Could you also check with this setting your model can detect more classes?&lt;/P&gt;&lt;P&gt;As a final note, I have used the following command to generate the IR:&lt;/P&gt;&lt;P&gt;--input_model frozen_inference_graphFasterRCNN.pb --tensorflow_object_detection_api_pipeline_config pipeline.config &amp;nbsp;--reverse_input_channels ----transformations_config faster_rcnn_support.json&amp;nbsp;--input_shape [1,600,1024,3] &amp;nbsp;--input image_tensor --output detection_scores,detection_boxes,num_detections&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 May 2020 20:21:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Model-Optimizer-not-able-to-convert-Custom-Trained-model/m-p/1172321#M16510</guid>
      <dc:creator>SerkanUygungelen</dc:creator>
      <dc:date>2020-05-06T20:21:09Z</dc:date>
    </item>
  </channel>
</rss>

