<?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 Re:Inference Engine Detects Irrelevant Objects Than Expected (Custom-Trained Model) in Intel® Distribution of OpenVINO™ Toolkit</title>
    <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Inference-Engine-Detects-Irrelevant-Objects-Than-Expected-Custom/m-p/1244558#M22293</link>
    <description>&lt;P&gt;Hi Emre Gun,&lt;/P&gt;&lt;P&gt;I am glad that you are able to solve the issue. Thank you for reporting the bug and sharing a detailed solution. I've tested the same workaround on my machine and seems like the same error encountered. Basically, the third error you are getting is because of the &lt;A href="https://docs.openvinotoolkit.org/2020.4/openvino_docs_IE_DG_ShapeInference.html" rel="noopener noreferrer" target="_blank"&gt;Shape Inference feature.&lt;/A&gt; Therefore, this thread will no longer be monitored since this issue has been resolved.&amp;nbsp;If you need any additional information from Intel, please submit a new question.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aznie&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 08 Jan 2021 16:08:05 GMT</pubDate>
    <dc:creator>IntelSupport</dc:creator>
    <dc:date>2021-01-08T16:08:05Z</dc:date>
    <item>
      <title>Inference Engine Detects Irrelevant Objects Than Expected (Custom-Trained Model)</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Inference-Engine-Detects-Irrelevant-Objects-Than-Expected-Custom/m-p/1243626#M22239</link>
      <description>&lt;P&gt;&lt;STRONG&gt;1.Problem:&lt;/STRONG&gt;&lt;BR /&gt;I want to optimise my custom-trained model&amp;nbsp;(Detects different body parts with faster_rcnn_inception_v2_coco-tensorflow) for my&amp;nbsp;Intel Core i5 which works fine without openvino optimisation. My problem is if I execute my custom-trained model (With my created openvino .xml and .bin files) &amp;nbsp;with&amp;nbsp;openvino&amp;nbsp;&lt;SPAN&gt;object_detection_sample_ssd.py sample, several irrelevant parts are marked by inference engine, although what&amp;nbsp;I expect is just specific body parts like face, hands etc. (please see attachment for the output:"my output.png"). &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Could someone please help me about my problem? For the details please see below.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks a lot in advance.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;PS:&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;1-If&amp;nbsp;I execute the same inference engine sample object_detection_sample_ssd.py with&amp;nbsp;pre-trained Openvino model &amp;nbsp;"faster-rcnn-resnet101-coco-sparse-60-0001", it works totally fine, the person is detected as expected.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;2- Originial&amp;nbsp;object_detection_sample_ssd.py file is modified by me(please see&amp;nbsp;attachment for&amp;nbsp;modified file),&amp;nbsp;since the code was crashed during the execution. But the same modified code works fine with&amp;nbsp;faster-rcnn-resnet101-coco-sparse-60-0001 as&amp;nbsp;I mentioned above. Moreover&amp;nbsp;faster-rcnn-resnet101-coco-sparse-60-0001 model got also totally the same errors, during the execution. So it is not possible to execute it with the original&amp;nbsp;object_detection_sample_ssd.py either. Please see the original file in environment link and modified lines in (object_detection_sample_ssd_modified.txt) in attachment. Modified lines are already commented as "#Modified"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;2-Commands:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;I&gt;2.1.1.xml and bin generation:(please see&amp;nbsp;attachment for&amp;nbsp;&lt;SPAN style="font-family: inherit;"&gt;my_pipeline.config file (&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN style="font-family: inherit;"&gt;my_pipeline.config.txt)&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV class="lia-attachment-file-details"&gt;
&lt;DIV class="lia-attachment-file-size"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;PRE&gt;python3.6 mo_tf.py --input_model /Users/Documents/Work/Blocker/OpenVINO/my_frozen_inference_graph.pb --transformations_config /opt/intel/openvino_2021.2.185/deployment_tools/model_optimizer/extensions/front/tf/faster_rcnn_support.json --tensorflow_object_detection_api_pipeline_config /Users/Documents/Work/Blocker/OpenVINO/my_pipeline.config&lt;/PRE&gt;
&lt;P&gt;&lt;EM&gt;2.1.2.xml and bin generation output:&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Model Optimizer arguments:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Common parameters:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt; - Path to the Input Model: /Users/Documents/Work/Blocker/OpenVINO/my_frozen_inference_graph.pb&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt; - Path for generated IR: /opt/intel/openvino_2021.2.185/deployment_tools/model_optimizer/.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt; - IR output name: my_frozen_inference_graph&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt; - Log level: ERROR&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt; - Batch: Not specified, inherited from the model&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt; - Input layers: Not specified, inherited from the model&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt; - Output layers: Not specified, inherited from the model&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt; - Input shapes: Not specified, inherited from the model&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt; - Mean values: Not specified&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt; - Scale values: Not specified&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt; - Scale factor: Not specified&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt; - Precision of IR: FP32&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt; - Enable fusing: True&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt; - Enable grouped convolutions fusing: True&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt; - Move mean values to preprocess section: None&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt; - Reverse input channels: False&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;TensorFlow specific parameters:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt; - Input model in text protobuf format: False&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt; - Path to model dump for TensorBoard: None&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt; - List of shared libraries with TensorFlow custom layers implementation: None&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt; - Update the configuration file with input/output node names: None&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt; - Use configuration file used to generate the model with Object Detection API: /Users/Documents/Work/Blocker/OpenVINO/my_pipeline.config&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt; - Use the config file: None&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Model Optimizer version: 2021.2.0-1877-176bdf51370-releases/2021/2&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&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;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Specify the "--input_shape" command line parameter to override the default shape which is equal to (600, 600).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The Preprocessor block has been removed. Only nodes performing mean value subtraction and scaling (if applicable) are kept.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&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;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;[ SUCCESS ] Generated IR version 10 model.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;[ SUCCESS ] XML file: /opt/intel/openvino_2021.2.185/deployment_tools/model_optimizer/./my_frozen_inference_graph.xml&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;[ SUCCESS ] BIN file: /opt/intel/openvino_2021.2.185/deployment_tools/model_optimizer/./my_frozen_inference_graph.bin&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;[ SUCCESS ] Total execution time: 126.86 seconds.&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;[ SUCCESS ] Memory consumed: 744 MB.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;2.2.1.Execution:&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;python3.6 &lt;SPAN&gt;object_detection_sample_ssd_modified.py&amp;nbsp;&lt;/SPAN&gt;-i /Users/Documents/Work/Blocker/Tensorflow1/models/research/object_detection/images/test/300_1000.bmp -m /Users/Documents/Work/Blocker/OpenVINO/new/my_frozen_inference_graph.xml --model_bin /Users/Documents/Work/Blocker/OpenVINO/new/my_frozen_inference_graph.bin -d CPU&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;2.2.2.Execution&amp;nbsp;&lt;/EM&gt;Output:&lt;/P&gt;
&lt;DIV&gt;[ INFO ] Loading Inference Engine&lt;/DIV&gt;
&lt;DIV&gt;[ INFO ] Loading network:&lt;/DIV&gt;
&lt;DIV&gt;/Users/Documents/Work/Blocker/OpenVINO/new/my_frozen_inference_graph.xml&lt;/DIV&gt;
&lt;DIV&gt;[ INFO ] Device info:&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; CPU&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; MKLDNNPlugin version ......... 2.1&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Build ........... 2021.2.0-1877-176bdf51370-releases/2021/2&lt;/DIV&gt;
&lt;DIV&gt;inputs number: 2&lt;/DIV&gt;
&lt;DIV&gt;input shape: [1, 3]&lt;/DIV&gt;
&lt;DIV&gt;input key: image_info&lt;/DIV&gt;
&lt;DIV&gt;input shape: [1, 3, 600, 600]&lt;/DIV&gt;
&lt;DIV&gt;input key: image_tensor&lt;/DIV&gt;
&lt;DIV&gt;[ INFO ] File was added:&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;[ INFO ] &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /Users/Documents/Work/Blocker/Tensorflow1/models/research/object_detection/images/test/300_1000.bmp&lt;/DIV&gt;
&lt;DIV&gt;[ WARNING ] Image /Users/Documents/Work/Blocker/Tensorflow1/models/research/object_detection/images/test/300_1000.bmp is resized from (600, 800) to (600, 600)&lt;/DIV&gt;
&lt;DIV&gt;[ INFO ] Preparing input blobs&lt;/DIV&gt;
&lt;DIV&gt;[ INFO ] Preparing output blobs&lt;/DIV&gt;
&lt;DIV&gt;[ INFO ] Loading model to the device&lt;/DIV&gt;
&lt;DIV&gt;[ INFO ] Creating infer request and starting inference&lt;/DIV&gt;
&lt;DIV&gt;[ INFO ] Processing output blobs&lt;/DIV&gt;
&lt;DIV&gt;[0,1] element, prob = 0.975498 &amp;nbsp; &amp;nbsp;(201,23)-(611,562) batch id : 0 WILL BE PRINTED!&lt;/DIV&gt;
&lt;DIV&gt;[1,1] element, prob = 0.97121 &amp;nbsp; &amp;nbsp;(247,8)-(325,21) batch id : 0 WILL BE PRINTED!&lt;/DIV&gt;
&lt;DIV&gt;[2,1] element, prob = 0.9709 &amp;nbsp; &amp;nbsp;(23,75)-(246,244) batch id : 0 WILL BE PRINTED!&lt;/DIV&gt;
&lt;DIV&gt;[3,1] element, prob = 0.958907 &amp;nbsp; &amp;nbsp;(98,101)-(638,498) batch id : 0 WILL BE PRINTED!&lt;/DIV&gt;
&lt;DIV&gt;[4,1] element, prob = 0.837769 &amp;nbsp; &amp;nbsp;(327,6)-(479,398) batch id : 0 WILL BE PRINTED!&lt;/DIV&gt;
&lt;DIV&gt;[5,1] element, prob = 0.820504 &amp;nbsp; &amp;nbsp;(459,224)-(631,600) batch id : 0 WILL BE PRINTED!&lt;/DIV&gt;
&lt;DIV&gt;[6,1] element, prob = 0.804928 &amp;nbsp; &amp;nbsp;(121,13)-(406,577) batch id : 0 WILL BE PRINTED!&lt;/DIV&gt;
&lt;DIV&gt;[7,1] element, prob = 0.802219 &amp;nbsp; &amp;nbsp;(25,45)-(452,222) batch id : 0 WILL BE PRINTED!&lt;/DIV&gt;
&lt;DIV&gt;[8,1] element, prob = 0.775234 &amp;nbsp; &amp;nbsp;(386,168)-(448,504) batch id : 0 WILL BE PRINTED!&lt;/DIV&gt;
&lt;DIV&gt;[9,1] element, prob = 0.435565 &amp;nbsp; &amp;nbsp;(139,11)-(158,29) batch id : 0&lt;/DIV&gt;
&lt;DIV&gt;[10,1] element, prob = 0.42904 &amp;nbsp; &amp;nbsp;(415,198)-(451,356) batch id : 0&lt;/DIV&gt;
&lt;DIV&gt;[11,1] element, prob = 0.133711 &amp;nbsp; &amp;nbsp;(452,0)-(787,273) batch id : 0&lt;/DIV&gt;
&lt;DIV&gt;[12,1] element, prob = 0.112022 &amp;nbsp; &amp;nbsp;(383,275)-(445,600) batch id : 0&lt;/DIV&gt;
&lt;DIV&gt;...&lt;/DIV&gt;
&lt;DIV&gt;...&lt;/DIV&gt;
&lt;DIV&gt;
&lt;P&gt;[3898,6] element, prob = 3.66124e-05 (2,442)-(52,477) batch id : 0&lt;BR /&gt;[3899,6] element, prob = 3.2293e-05 (307,408)-(439,600) batch id : 0&lt;BR /&gt;[ INFO ] Image out.bmp created!&lt;BR /&gt;[ INFO ] Execution successful&lt;/P&gt;
&lt;P&gt;[ INFO ] This sample is an API example, for any performance measurements please use the dedicated benchmark_app tool&lt;/P&gt;
&lt;/DIV&gt;
&lt;P&gt;&lt;STRONG&gt;3.Environment:&lt;BR /&gt;&lt;/STRONG&gt;OS:macOS Catalina 10.15.4&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;Tensorflow=1.15.2&lt;BR /&gt;Openvino=2021.2.185&lt;BR /&gt;Sample=&lt;A href="https://github.com/openvinotoolkit/openvino/blob/master/inference-engine/ie_bridges/python/sample/object_detection_sample_ssd/object_detection_sample_ssd.py" target="_blank"&gt;https://github.com/openvinotoolkit/openvino/blob/master/inference-engine/ie_bridges/python/sample/object_detection_sample_ssd/object_detection_sample_ssd.py&lt;/A&gt;&lt;SPAN&gt;Processor:&lt;/SPAN&gt;1,6 GHz Dual-Core Intel Core i5&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jan 2021 23:15:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Inference-Engine-Detects-Irrelevant-Objects-Than-Expected-Custom/m-p/1243626#M22239</guid>
      <dc:creator>emregun</dc:creator>
      <dc:date>2021-01-05T23:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: Inference Engine Detects Irrelevant Objects Than Expected (Custom-Trained Model)</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Inference-Engine-Detects-Irrelevant-Objects-Than-Expected-Custom/m-p/1243825#M22250</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry I forgot one modification in my&amp;nbsp;&lt;SPAN&gt;object_detection_sample_ssd_modified.py file. The up-to-date file is attached.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;By the way, I saw that my problem is totally related with following topic:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Not-able-to-run-inference-on-custom-trained-faster-rcnn/td-p/1156986" target="_blank"&gt;https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Not-able-to-run-inference-on-custom-trained-faster-rcnn/td-p/1156986&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;but unfortunately, in my case&amp;nbsp;&lt;SPAN&gt;object_detection_sample_ssd.py is not working either.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;I would be appreciated for a response.&lt;/P&gt;
&lt;P&gt;Thanks a lot in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jan 2021 12:50:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Inference-Engine-Detects-Irrelevant-Objects-Than-Expected-Custom/m-p/1243825#M22250</guid>
      <dc:creator>emregun</dc:creator>
      <dc:date>2021-01-06T12:50:46Z</dc:date>
    </item>
    <item>
      <title>Re:Inference Engine Detects Irrelevant Objects Than Expected (Custom-Trained Model)</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Inference-Engine-Detects-Irrelevant-Objects-Than-Expected-Custom/m-p/1244035#M22260</link>
      <description>&lt;P&gt;Hi Emre Gun,&lt;/P&gt;&lt;P&gt;Thanks for reaching out. We are investigating this and will get back to you at the earliest.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aznie&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Jan 2021 02:26:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Inference-Engine-Detects-Irrelevant-Objects-Than-Expected-Custom/m-p/1244035#M22260</guid>
      <dc:creator>IntelSupport</dc:creator>
      <dc:date>2021-01-07T02:26:38Z</dc:date>
    </item>
    <item>
      <title>Re:Inference Engine Detects Irrelevant Objects Than Expected (Custom-Trained Model)</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Inference-Engine-Detects-Irrelevant-Objects-Than-Expected-Custom/m-p/1244052#M22262</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi Emre Gun,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you clarify what do you mean by this sentence " &lt;I&gt;But the same modified code works fine with&amp;nbsp;faster-rcnn-resnet101-coco-sparse-60-0001 as&amp;nbsp;I mentioned above? Moreover,&amp;nbsp;faster-rcnn-resnet101-coco-sparse-60-0001 model got also totally the same errors, during the execution. So it is not possible to execute it with the original&amp;nbsp;object_detection_sample_ssd.py either&lt;/I&gt;". Did the original object_detection_sample_ssd.py work fine with the faster-rcnn-resnet101-coco-sparse-60-0001 model? Could you please share the screenshot of the error during the execution crash as you mentioned?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aznie&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Jan 2021 03:50:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Inference-Engine-Detects-Irrelevant-Objects-Than-Expected-Custom/m-p/1244052#M22262</guid>
      <dc:creator>IntelSupport</dc:creator>
      <dc:date>2021-01-07T03:50:19Z</dc:date>
    </item>
    <item>
      <title>Re: Re:Inference Engine Detects Irrelevant Objects Than Expected (Custom-Trained Model)</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Inference-Engine-Detects-Irrelevant-Objects-Than-Expected-Custom/m-p/1244140#M22270</link>
      <description>&lt;P&gt;Hi Aznie,&lt;/P&gt;
&lt;P&gt;Thank you for your fast response. The original&amp;nbsp;&lt;I&gt;object_detection_sample_ssd.py did not work either with&amp;nbsp;faster-rcnn-resnet101-coco-sparse-60-0001 model. I did some modifications to make it work. The first 3 errors occur in both models(mine and&amp;nbsp;faster-rcnn-resnet101-coco-sparse-60-0001 model),&amp;nbsp;just the fourth one is specific for mine:&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;&lt;I&gt;&lt;STRONG&gt;1-Error: "No Error"&lt;/STRONG&gt; &lt;BR /&gt;&lt;/I&gt;&lt;I&gt;&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;&lt;I&gt;1.1Description:&lt;/I&gt;&lt;I&gt;The code did not crash but as&amp;nbsp;I know we have to give .bin file also into ie.read_network&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;&lt;I&gt;1.2Original:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2021-01-07 at 08.15.46.png" style="width: 999px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/14600i1CA19F1409CA6B2A/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="Screenshot 2021-01-07 at 08.15.46.png" alt="Screenshot 2021-01-07 at 08.15.46.png" /&gt;&lt;/span&gt;&lt;BR /&gt;1.3Modification:&lt;/I&gt;&lt;I&gt;&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;&lt;I&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2021-01-07 at 08.21.51.png" style="width: 999px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/14601i8414A6AABEFFCDDB/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="Screenshot 2021-01-07 at 08.21.51.png" alt="Screenshot 2021-01-07 at 08.21.51.png" /&gt;&lt;/span&gt;&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;I&gt;2-Error:"Sample supports networks with one input"&lt;/I&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;I&gt;2.1Description:Model has 2 input keys:image_info and&amp;nbsp;image_tensor. This problem is also&amp;nbsp;discussed under this topic.&amp;nbsp;&lt;/I&gt;&lt;A style="font-style: italic;" href="https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Not-able-to-run-inference-on-custom-trained-faster-rcnn/td-p/1156986" target="_blank"&gt;https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Not-able-to-run-inference-on-custom-trained-faster-rcnn/td-p/1156986.&lt;/A&gt;&lt;I&gt;&amp;nbsp;But&amp;nbsp;I could not even make object_detection_sample_ssd.py work, as mentioned in topic.&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;&lt;I&gt;2.2Original:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2021-01-07 at 08.20.23.png" style="width: 999px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/14602i3EC93D054C7D4AB4/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="Screenshot 2021-01-07 at 08.20.23.png" alt="Screenshot 2021-01-07 at 08.20.23.png" /&gt;&lt;/span&gt;&lt;BR /&gt;2.3Modification:&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;&lt;I&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2021-01-07 at 08.20.28.png" style="width: 999px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/14603iDA6C36E8A0EE84C6/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="Screenshot 2021-01-07 at 08.20.28.png" alt="Screenshot 2021-01-07 at 08.20.28.png" /&gt;&lt;/span&gt;&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;I&gt;3-Error: ValueError: get_shape was called on a descriptor::Tensor with dynamic shape&lt;/I&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;I&gt;3.1Description:Somehow detectionoutput_616 shape value is corrupted. I could achieve to read the value with my modification below.&lt;/I&gt;&lt;I&gt;&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;&lt;I&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2021-01-07 at 09.01.09.png" style="width: 999px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/14606i32DF12EDC9B3DE75/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="Screenshot 2021-01-07 at 09.01.09.png" alt="Screenshot 2021-01-07 at 09.01.09.png" /&gt;&lt;/span&gt;&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;&lt;I&gt;3.2Original:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2021-01-07 at 08.17.26.png" style="width: 999px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/14607iA27DACC02933320B/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="Screenshot 2021-01-07 at 08.17.26.png" alt="Screenshot 2021-01-07 at 08.17.26.png" /&gt;&lt;/span&gt;&lt;BR /&gt;3.3Modification:&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;&lt;I&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2021-01-07 at 08.58.31.png" style="width: 999px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/14608iC4A3F6E0A4C69435/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="Screenshot 2021-01-07 at 08.58.31.png" alt="Screenshot 2021-01-07 at 08.58.31.png" /&gt;&lt;/span&gt;&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;I&gt;4-Error: List index out of range.&lt;/I&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;I&gt;4.1Description: In my model there are several batch ids(imid).&amp;nbsp;Unfortunately&amp;nbsp;I could not&amp;nbsp;understand what batch id is. &amp;nbsp;I&amp;nbsp;made a dummy workaround. But&amp;nbsp;I am pretty sure that it is not correct :). I just want to see the end of the execution. (!!!!This error occurs just in my model!!!!)&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;&lt;I&gt;4.2Original:&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;&lt;I&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2021-01-07 at 08.33.23.png" style="width: 999px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/14609iAEA3CABB6E00CF07/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="Screenshot 2021-01-07 at 08.33.23.png" alt="Screenshot 2021-01-07 at 08.33.23.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;4.3Modification:&lt;/I&gt;&lt;/P&gt;
&lt;DIV id="tinyMceEditoremregun_0" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="tinyMceEditoremregun_1" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;PS:&lt;/P&gt;
&lt;P&gt;1-By the way, there is a wrong detection also in&amp;nbsp;&lt;I&gt;faster-rcnn-resnet101-coco-sparse-60-0001 model as you can see below, but&amp;nbsp;I guess it is training problem. irrelevant from code:&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;&lt;I&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="out.png" style="width: 800px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/14611iF62481E5D6FC594B/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="out.png" alt="out.png" /&gt;&lt;/span&gt;&lt;/I&gt;&lt;/P&gt;
&lt;DIV id="tinyMceEditoremregun_2" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;2-You can see my frozen_inference_graph.xml file in attachment if you require. In my case 3.Error occurs for layer id="459".&lt;/P&gt;
&lt;P&gt;Thanks a lot for your support.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2021 08:38:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Inference-Engine-Detects-Irrelevant-Objects-Than-Expected-Custom/m-p/1244140#M22270</guid>
      <dc:creator>emregun</dc:creator>
      <dc:date>2021-01-07T08:38:52Z</dc:date>
    </item>
    <item>
      <title>Re: Re:Inference Engine Detects Irrelevant Objects Than Expected (Custom-Trained Model)</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Inference-Engine-Detects-Irrelevant-Objects-Than-Expected-Custom/m-p/1244142#M22271</link>
      <description>&lt;P&gt;&lt;I&gt;One screenshot was missing:&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;&lt;I&gt;4.3Modification:&lt;/I&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2021-01-07 at 08.33.43.png" style="width: 999px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/14612iEF9FDAA271C24BA0/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="Screenshot 2021-01-07 at 08.33.43.png" alt="Screenshot 2021-01-07 at 08.33.43.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2021 08:42:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Inference-Engine-Detects-Irrelevant-Objects-Than-Expected-Custom/m-p/1244142#M22271</guid>
      <dc:creator>emregun</dc:creator>
      <dc:date>2021-01-07T08:42:15Z</dc:date>
    </item>
    <item>
      <title>Re: Re:Inference Engine Detects Irrelevant Objects Than Expected (Custom-Trained Model)</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Inference-Engine-Detects-Irrelevant-Objects-Than-Expected-Custom/m-p/1244167#M22273</link>
      <description>&lt;P&gt;Problem Solved by me:&lt;/P&gt;
&lt;P&gt;Following steps work fine with my model and&amp;nbsp;&lt;/P&gt;
&lt;P&gt;faster-rcnn-resnet101-coco-sparse-60-0001 model. I guess something is buggy in&amp;nbsp;openvino_2021.2.&amp;nbsp;openvino_2020.4 works fine.&lt;/P&gt;
&lt;P&gt;STEPS:&lt;/P&gt;
&lt;P&gt;1-install openvino_2020.4 (instead of current version&amp;nbsp;openvino_2021.2)&lt;/P&gt;
&lt;P&gt;2-use object_detection_sample_ssd.py in the openvino_2020.4 toolkit(2 modifications were required):&lt;/P&gt;
&lt;PRE&gt;1-original:&lt;BR /&gt;not_supported_layers = [l &lt;SPAN&gt;for &lt;/SPAN&gt;l &lt;SPAN&gt;in &lt;/SPAN&gt;net.layers.keys() &lt;SPAN&gt;if &lt;/SPAN&gt;l &lt;SPAN&gt;not in &lt;/SPAN&gt;supported_layers]&lt;BR /&gt;modification:&lt;BR /&gt;not_supported_layers = [l &lt;SPAN&gt;for &lt;/SPAN&gt;l &lt;SPAN&gt;in &lt;/SPAN&gt;net.input_info &lt;SPAN&gt;if &lt;/SPAN&gt;l &lt;SPAN&gt;not in &lt;/SPAN&gt;supported_layers]&lt;/PRE&gt;
&lt;PRE&gt;&lt;BR /&gt;2-original:&lt;BR /&gt;net.layers[output_key].type&lt;BR /&gt;modification:&lt;BR /&gt;&lt;SPAN&gt;for &lt;/SPAN&gt;output_key &lt;SPAN&gt;in &lt;/SPAN&gt;net.outputs:&lt;BR /&gt;&lt;SPAN&gt;if &lt;/SPAN&gt;output_key == &lt;SPAN&gt;"detection_output"&lt;/SPAN&gt;:&lt;/PRE&gt;
&lt;P&gt;3-regenerate my xml and bin in the openvino_2020.4 toolkit :&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;sudo python3.6 mo_tf.py --input_model /Users/Documents/Work/Blocker/OpenVINO/frozen_inference_graph.pb --transformations_config /opt/intel/openvino_2021.2.185/deployment_tools/model_optimizer/extensions/front/tf/faster_rcnn_support.json --tensorflow_object_detection_api_pipeline_config /Users/Documents/Work/Blocker/OpenVINO/pipeline.config&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;4-Execution with new xml created above:&lt;/P&gt;
&lt;P&gt;python3.6 -i /Users/karoantonemre/Documents/Work/Blocker/Tensorflow1/models/research/object_detection/images/test/072_1000.bmp -m /Users/karoantonemre/Documents/Work/Blocker/OpenVINO/new/frozen_inference_graph.xml&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Thanks a lot for your support.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2021 10:14:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Inference-Engine-Detects-Irrelevant-Objects-Than-Expected-Custom/m-p/1244167#M22273</guid>
      <dc:creator>emregun</dc:creator>
      <dc:date>2021-01-07T10:14:50Z</dc:date>
    </item>
    <item>
      <title>Re:Inference Engine Detects Irrelevant Objects Than Expected (Custom-Trained Model)</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Inference-Engine-Detects-Irrelevant-Objects-Than-Expected-Custom/m-p/1244558#M22293</link>
      <description>&lt;P&gt;Hi Emre Gun,&lt;/P&gt;&lt;P&gt;I am glad that you are able to solve the issue. Thank you for reporting the bug and sharing a detailed solution. I've tested the same workaround on my machine and seems like the same error encountered. Basically, the third error you are getting is because of the &lt;A href="https://docs.openvinotoolkit.org/2020.4/openvino_docs_IE_DG_ShapeInference.html" rel="noopener noreferrer" target="_blank"&gt;Shape Inference feature.&lt;/A&gt; Therefore, this thread will no longer be monitored since this issue has been resolved.&amp;nbsp;If you need any additional information from Intel, please submit a new question.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aznie&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 08 Jan 2021 16:08:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Inference-Engine-Detects-Irrelevant-Objects-Than-Expected-Custom/m-p/1244558#M22293</guid>
      <dc:creator>IntelSupport</dc:creator>
      <dc:date>2021-01-08T16:08:05Z</dc:date>
    </item>
  </channel>
</rss>

