<?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 Have same issue with retrain in Intel® Distribution of OpenVINO™ Toolkit</title>
    <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Model-Optimizer-mo-utils-error-Error-Exception-occurred-during/m-p/1135301#M9459</link>
    <description>&lt;P&gt;Have same issue with retrain ssd_mobilenet_v2_coco_2018_03_29.&lt;/P&gt;&lt;P&gt;Need some help!&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Wed, 31 Jul 2019 09:30:03 GMT</pubDate>
    <dc:creator>pham__hai</dc:creator>
    <dc:date>2019-07-31T09:30:03Z</dc:date>
    <item>
      <title>Model Optimizer: mo.utils.error.Error: Exception occurred during running replacer "REPLACEMENT_ID"</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Model-Optimizer-mo-utils-error-Error-Exception-occurred-during/m-p/1135296#M9454</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to use MO on a re-trained model (I followed this&amp;nbsp;tutorial:&amp;nbsp;https://tensorflow-object-detection-api-tutorial.readthedocs.io/en/latest/training.html and I retrained the model : "ssd_inception_v2_coco_2018_01_28")&lt;/P&gt;&lt;P&gt;I used the command :&lt;/P&gt;&lt;P&gt;/opt/intel/openvino/deployment_tools/model_optimizer/mo_tf.py --input_model=/home/simon/Downloads/ssd_inception_v2_coco_2018_01_28/frozen_inference_graph.pb --tensorflow_use_custom_operations_config /opt/intel/openvino/deployment_tools/model_optimizer/extensions/front/tf/ssd_v2_support.json --tensorflow_object_detection_api_pipeline_config /home/simon/Downloads/ssd_inception_v2_coco_2018_01_28/pipeline.config --reverse_input_channels&lt;/P&gt;&lt;P&gt;Where "pipeline.config" and "frozen_inference_graph.pb" are the files I got by exporting the retrained model.&lt;/P&gt;&lt;P&gt;This leads me to an error:&amp;nbsp;&lt;/P&gt;&lt;P&gt;E0726 15:40:01.772906 140194489521984 infer.py:178] Cannot infer shapes or values for node "Postprocessor/Cast_1".&lt;BR /&gt;E0726 15:40:01.773174 140194489521984 infer.py:179] 0&lt;BR /&gt;E0726 15:40:01.773239 140194489521984 infer.py:180]&amp;nbsp;&lt;BR /&gt;E0726 15:40:01.773307 140194489521984 infer.py:181] It can happen due to bug in custom shape infer function &amp;lt;function Cast.infer at 0x7f816b884ae8&amp;gt;.&lt;BR /&gt;E0726 15:40:01.773358 140194489521984 infer.py:182] Or because the node inputs have incorrect values/shapes.&lt;BR /&gt;E0726 15:40:01.773403 140194489521984 infer.py:183] Or because input shapes are incorrect (embedded to the model or passed via --input_shape).&lt;BR /&gt;E0726 15:40:01.774091 140194489521984 infer.py:192] Run Model Optimizer with --log_level=DEBUG for more information.&lt;BR /&gt;E0726 15:40:01.774198 140194489521984 main.py:317] Exception occurred during running replacer "REPLACEMENT_ID" (&amp;lt;class 'extensions.middle.PartialInfer.PartialInfer'&amp;gt;): Stopped shape/value propagation at "Postprocessor/Cast_1" node.&amp;nbsp;&lt;BR /&gt;&amp;nbsp;For more information please refer to Model Optimizer FAQ (&amp;lt;INSTALL_DIR&amp;gt;/deployment_tools/documentation/docs/MO_FAQ.html), question #38.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried using Openvino 2019 R1 and Openvino 2019 R2, both leading to this error.&lt;/P&gt;&lt;P&gt;What should I do?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2019 13:46:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Model-Optimizer-mo-utils-error-Error-Exception-occurred-during/m-p/1135296#M9454</guid>
      <dc:creator>Carreel__Simon</dc:creator>
      <dc:date>2019-07-26T13:46:29Z</dc:date>
    </item>
    <item>
      <title>Hi Simon,</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Model-Optimizer-mo-utils-error-Error-Exception-occurred-during/m-p/1135297#M9455</link>
      <description>&lt;P&gt;Hi Simon,&lt;/P&gt;&lt;P&gt;if the Optimizer cannot infer the shape of something I usually can solve the problem by specifying input and shape like this:&lt;/P&gt;
&lt;PRE class="brush:bash; class-name:dark;"&gt;!python ~/dldt/model-optimizer/mo_tf.py \
    --input_model /home/paul/Downloads/ssd_inception_v2_coco_2018_01_28/frozen_inference_graph.pb \
    --input_shape [1,300,300,3] --input image_tensor
&lt;/PRE&gt;</description>
      <pubDate>Fri, 26 Jul 2019 17:02:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Model-Optimizer-mo-utils-error-Error-Exception-occurred-during/m-p/1135297#M9455</guid>
      <dc:creator>Bauriegel__Paul</dc:creator>
      <dc:date>2019-07-26T17:02:26Z</dc:date>
    </item>
    <item>
      <title>Dear Carreel, Simon,</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Model-Optimizer-mo-utils-error-Error-Exception-occurred-during/m-p/1135298#M9456</link>
      <description>&lt;P&gt;Dear&amp;nbsp;Carreel, Simon,&lt;/P&gt;&lt;P&gt;Please use&amp;nbsp;ssd_support_api_v1.14.json&amp;nbsp; as an argument to --tensorflow_use_custom_operations_config and it should work. Please let me know the results here on this forum.&lt;/P&gt;&lt;P&gt;Thanks !&lt;/P&gt;&lt;P&gt;Shubha&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2019 19:35:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Model-Optimizer-mo-utils-error-Error-Exception-occurred-during/m-p/1135298#M9456</guid>
      <dc:creator>Shubha_R_Intel</dc:creator>
      <dc:date>2019-07-26T19:35:32Z</dc:date>
    </item>
    <item>
      <title>Hello, thanks for your quick</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Model-Optimizer-mo-utils-error-Error-Exception-occurred-during/m-p/1135299#M9457</link>
      <description>&lt;P&gt;Hello, thanks for your quick replies.&lt;/P&gt;&lt;P&gt;Bauriegel, Paul : I tried your command, but I had the same issue. When I&amp;nbsp;retrained my model, I resized my images to 100x100 in order to make it retrain faster (it's only a try, so i'm not trying to have a very efficient model). I've seen it could cause an error to have a too little input size, could it be the reason for my mistake? The error logs don't seem to match though.&lt;/P&gt;&lt;P&gt;Shubha R.: I can't find the&amp;nbsp;ssd_support_api_v1.14.json file, are you talking about the&amp;nbsp;ssd_support.json file? I tried with it, yet I had the same error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jul 2019 08:45:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Model-Optimizer-mo-utils-error-Error-Exception-occurred-during/m-p/1135299#M9457</guid>
      <dc:creator>Carreel__Simon</dc:creator>
      <dc:date>2019-07-29T08:45:00Z</dc:date>
    </item>
    <item>
      <title>Dear Carreel, Simon,</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Model-Optimizer-mo-utils-error-Error-Exception-occurred-during/m-p/1135300#M9458</link>
      <description>&lt;P&gt;Dear&amp;nbsp;Carreel, Simon,&lt;/P&gt;&lt;P&gt;ssd_support_api_v1.14.json&amp;nbsp;is definitely there (Windows 10) n&amp;nbsp;C:\Program Files (x86)\IntelSWTools\openvino_2019.2.242\deployment_tools\model_optimizer\extensions\front\tf&amp;nbsp; but you must install OpenVIno 2019R2 to get it.&lt;/P&gt;&lt;P&gt;Hope it helps,&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shubha&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2019 22:11:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Model-Optimizer-mo-utils-error-Error-Exception-occurred-during/m-p/1135300#M9458</guid>
      <dc:creator>Shubha_R_Intel</dc:creator>
      <dc:date>2019-07-30T22:11:03Z</dc:date>
    </item>
    <item>
      <title>Have same issue with retrain</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Model-Optimizer-mo-utils-error-Error-Exception-occurred-during/m-p/1135301#M9459</link>
      <description>&lt;P&gt;Have same issue with retrain ssd_mobilenet_v2_coco_2018_03_29.&lt;/P&gt;&lt;P&gt;Need some help!&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2019 09:30:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Model-Optimizer-mo-utils-error-Error-Exception-occurred-during/m-p/1135301#M9459</guid>
      <dc:creator>pham__hai</dc:creator>
      <dc:date>2019-07-31T09:30:03Z</dc:date>
    </item>
    <item>
      <title>Indeed, I could find the file</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Model-Optimizer-mo-utils-error-Error-Exception-occurred-during/m-p/1135302#M9460</link>
      <description>&lt;P&gt;Indeed, I could find the file (I had downgraded to version 2019R1, that's why I couldn't find it). But using it still gets me the same error, with the difference that it adds:&lt;/P&gt;&lt;P&gt;[ ERROR ] Failed to match nodes from custom replacement description with id 'ObjectDetectionAPISSDPostprocessorReplacement':&lt;BR /&gt;It means model and custom replacement description are incompatible.&lt;BR /&gt;Try to correct custom replacement description according to documentation with respect to model node names&lt;/P&gt;&lt;P&gt;before the other errors. Does it mean that I should modify the&amp;nbsp;ssd_support_api_v1.14.json file? And what should I change if that's the case?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2019 12:26:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Model-Optimizer-mo-utils-error-Error-Exception-occurred-during/m-p/1135302#M9460</guid>
      <dc:creator>Carreel__Simon</dc:creator>
      <dc:date>2019-07-31T12:26:33Z</dc:date>
    </item>
    <item>
      <title>Dear Carreel, Simon,</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Model-Optimizer-mo-utils-error-Error-Exception-occurred-during/m-p/1135303#M9461</link>
      <description>&lt;P&gt;Dear&amp;nbsp;Carreel, Simon,&lt;/P&gt;&lt;P&gt;What version of Tensorflow are you running ? Please upgrade at least to TF 1.14.0 .&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shubha&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2019 17:09:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Model-Optimizer-mo-utils-error-Error-Exception-occurred-during/m-p/1135303#M9461</guid>
      <dc:creator>Shubha_R_Intel</dc:creator>
      <dc:date>2019-07-31T17:09:34Z</dc:date>
    </item>
    <item>
      <title>I was using Tensorflow 1.13.1</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Model-Optimizer-mo-utils-error-Error-Exception-occurred-during/m-p/1135304#M9462</link>
      <description>&lt;P&gt;I was using Tensorflow 1.13.1, I upgraded to Tensorflow 1.14.0, but i still get the error. I attached the logs, in case you need them.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2019 07:57:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Model-Optimizer-mo-utils-error-Error-Exception-occurred-during/m-p/1135304#M9462</guid>
      <dc:creator>Carreel__Simon</dc:creator>
      <dc:date>2019-08-01T07:57:00Z</dc:date>
    </item>
    <item>
      <title>Dear Carreel, Simon,</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Model-Optimizer-mo-utils-error-Error-Exception-occurred-during/m-p/1135305#M9463</link>
      <description>&lt;P&gt;Dear&amp;nbsp;Carreel, Simon,&lt;/P&gt;&lt;P&gt;In your mo_tf.py command, can you try again this time leaving out&amp;nbsp;--input_shape [1,300,300,3] ?&lt;/P&gt;&lt;P&gt;Please carefully read this document about&amp;nbsp;&lt;A href="http://docs.openvinotoolkit.org/latest/_docs_MO_DG_prepare_model_convert_model_tf_specific_Convert_Object_Detection_API_Models.html#fixed_shape_resizer_replacement"&gt;fixed shape resizer&lt;/A&gt;&amp;nbsp;. You do not have to specify the --input_shape since, according to the document:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;The Model Optimizer generates an input layer with the height and width as defined in the&amp;nbsp;pipeline.config.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;And in fact, the pipeline.config for this ssd model looks like this:&lt;/P&gt;
&lt;PRE class="brush:xml; class-name:dark;"&gt;image_resizer {
      fixed_shape_resizer {
        height: 300
        width: 300
      }
    }&lt;/PRE&gt;

&lt;P&gt;Please report your status back here on this forum.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Shubha&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2019 21:34:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Model-Optimizer-mo-utils-error-Error-Exception-occurred-during/m-p/1135305#M9463</guid>
      <dc:creator>Shubha_R_Intel</dc:creator>
      <dc:date>2019-08-01T21:34:00Z</dc:date>
    </item>
    <item>
      <title>Hello,</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Model-Optimizer-mo-utils-error-Error-Exception-occurred-during/m-p/1135306#M9464</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I could finally solve my issue by changing line 57 of my&amp;nbsp;ssd_support_api_v1.14.json file from "Postprocessor/Cast" to&amp;nbsp;"Postprocessor/Cast_1". Many thanks for your support.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2019 07:53:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Model-Optimizer-mo-utils-error-Error-Exception-occurred-during/m-p/1135306#M9464</guid>
      <dc:creator>Carreel__Simon</dc:creator>
      <dc:date>2019-08-02T07:53:57Z</dc:date>
    </item>
    <item>
      <title>Dear Carreel, Simon,</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Model-Optimizer-mo-utils-error-Error-Exception-occurred-during/m-p/1135307#M9465</link>
      <description>&lt;P&gt;Dear&amp;nbsp;Carreel, Simon,&lt;/P&gt;&lt;P&gt;This is great information.&amp;nbsp; And thanks kindly for sharing your resolution with the OpenVino community ! This is a bug. We need to have a *.json which reflects Cast_1 as you found so I filed the bug on your behalf. Thanks for the workaround !&lt;/P&gt;&lt;P&gt;Shubha&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2019 20:58:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Model-Optimizer-mo-utils-error-Error-Exception-occurred-during/m-p/1135307#M9465</guid>
      <dc:creator>Shubha_R_Intel</dc:creator>
      <dc:date>2019-08-02T20:58:00Z</dc:date>
    </item>
    <item>
      <title>Quote:Carreel, Simon wrote:</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Model-Optimizer-mo-utils-error-Error-Exception-occurred-during/m-p/1135308#M9466</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Carreel, Simon wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I could finally solve my issue by changing line 57 of my&amp;nbsp;ssd_support_api_v1.14.json file from "Postprocessor/Cast" to&amp;nbsp;"Postprocessor/Cast_1". Many thanks for your support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much Carreel. I encountered the same issue and your effort in finding out the bug and reporting it really assisted me.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2020 10:50:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Model-Optimizer-mo-utils-error-Error-Exception-occurred-during/m-p/1135308#M9466</guid>
      <dc:creator>Yusuf__Ibrahim</dc:creator>
      <dc:date>2020-02-05T10:50:05Z</dc:date>
    </item>
    <item>
      <title>Hi, All,</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Model-Optimizer-mo-utils-error-Error-Exception-occurred-during/m-p/1135309#M9467</link>
      <description>&lt;P&gt;Hi, All,&lt;/P&gt;&lt;P&gt;I encountered the same error and follow Shubha R.'s suggestion to use `ssd_support_api_v1.14.json` and solved my problem.&lt;S&gt; I don't need to change `Cast` to `Cast_1`, so I don't know whether it's a bug or not.&lt;/S&gt;&lt;/P&gt;&lt;P&gt;I am using TF 1.14 and OpenVINO 2019 R3 (openvino_2019.3.376). FYI.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Edit: Sorry I get it wrong. The modification of `Cast` to `Cast_1` is necessary. I was wrongly converting a model trained using TF 1.12.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2020 04:47:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Model-Optimizer-mo-utils-error-Error-Exception-occurred-during/m-p/1135309#M9467</guid>
      <dc:creator>Tenn__Hian-Kun</dc:creator>
      <dc:date>2020-02-25T04:47:00Z</dc:date>
    </item>
  </channel>
</rss>

