<?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:Error: get_shape was called on a descriptor::Tensor with dynamic shape in Edge Software Catalog</title>
    <link>https://community.intel.com/t5/Edge-Software-Catalog/Error-get-shape-was-called-on-a-descriptor-Tensor-with-dynamic/m-p/1353531#M2039</link>
    <description>&lt;P&gt;Hi mvasquez,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I was also not able to reproduce the issue using OpenVINO 2021.4.1 release which is the same version included in the Edge Insights for Industrial 2.6.2 package. Would you mind sharing your udf for me to reproduce?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jesus&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 21 Jan 2022 16:54:04 GMT</pubDate>
    <dc:creator>JesusE_Intel</dc:creator>
    <dc:date>2022-01-21T16:54:04Z</dc:date>
    <item>
      <title>Error: get_shape was called on a descriptor::Tensor with dynamic shape</title>
      <link>https://community.intel.com/t5/Edge-Software-Catalog/Error-get-shape-was-called-on-a-descriptor-Tensor-with-dynamic/m-p/1351265#M2031</link>
      <description>&lt;P&gt;Hi, I'm using the OpenVINO model &lt;A href="https://docs.openvino.ai/2019_R1/_road_segmentation_adas_0001_description_road_segmentation_adas_0001.html" target="_self"&gt;road.segmentation&lt;/A&gt;&amp;nbsp;and I'm getting this error when load the network:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="none"&gt;Unexpected error while loading UDF road-segmentation-adas-0001.road-segmentation-adas-0001: get_shape was called on a descriptor::Tensor with dynamic shape
Traceback (most recent call last):
File "udf.pyx", line 376, in udf.load_udf
File "/app/road-segmentation-adas-0001/road-segmentation-adas-0001.py", line 72, in __init__
self.exec_net = self.ie.load_network(
File "ie_api.pyx", line 372, in openvino.inference_engine.ie_api.IECore.load_network
File "ie_api.pyx", line 390, in openvino.inference_engine.ie_api.IECore.load_network
RuntimeError: get_shape was called on a descriptor::Tensor with dynamic shape&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;The source code for load the network is something like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;self.ie = IECore()
self.neural_net = self.ie.read_network(
    model=self.model_xml, weights=self.model_bin)
self.exec_net = self.ie.load_network(
     network=self.neural_net, device_name=self.device.upper())
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please provide a tip on how to avoid this error, since we are getting the same error for the OpenVINO model &lt;A href="https://docs.openvino.ai/2019_R1/_semantic_segmentation_adas_0001_description_semantic_segmentation_adas_0001.html" target="_self"&gt;semantic-segmentation&lt;/A&gt;, but it's working fine for model &lt;A href="https://docs.openvino.ai/2019_R1/_pedestrian_and_vehicle_detector_adas_0001_description_pedestrian_and_vehicle_detector_adas_0001.html" target="_self"&gt;pederastian-vehicle-detector&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Miguel&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jan 2022 20:16:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Edge-Software-Catalog/Error-get-shape-was-called-on-a-descriptor-Tensor-with-dynamic/m-p/1351265#M2031</guid>
      <dc:creator>mvasquez</dc:creator>
      <dc:date>2022-01-13T20:16:47Z</dc:date>
    </item>
    <item>
      <title>Re: Error: get_shape was called on a descriptor::Tensor with dynamic shape</title>
      <link>https://community.intel.com/t5/Edge-Software-Catalog/Error-get-shape-was-called-on-a-descriptor-Tensor-with-dynamic/m-p/1351309#M2032</link>
      <description>&lt;P&gt;&lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/135346"&gt;@mvasquez&lt;/a&gt;&amp;nbsp; your links to model description points to 2019R1 release.&amp;nbsp; Is that release you are using? Please make sure you use model IR with corresponding OpenVINO runtime, so if your IR from 2019R1 release then you need run inference using OpenVINO 2019R1.&lt;/P&gt;
&lt;P&gt;But I'd highly recommend you to use the latest, OpenVINO 2021.4.2 release (and so, you'll have to download model IRs, corresponding to this release)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;&amp;nbsp; Vladimir&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jan 2022 22:36:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Edge-Software-Catalog/Error-get-shape-was-called-on-a-descriptor-Tensor-with-dynamic/m-p/1351309#M2032</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2022-01-13T22:36:35Z</dc:date>
    </item>
    <item>
      <title>Re: Error: get_shape was called on a descriptor::Tensor with dynamic shape</title>
      <link>https://community.intel.com/t5/Edge-Software-Catalog/Error-get-shape-was-called-on-a-descriptor-Tensor-with-dynamic/m-p/1351485#M2033</link>
      <description>&lt;P&gt;Hi Vladimir,&lt;/P&gt;
&lt;P&gt;Despite the included links, I checked again and we are downloading the last possible version for each model from here:&lt;BR /&gt;&lt;A href="https://download.01.org/opencv/2021/openvinotoolkit/2021.2/open_model_zoo/models_bin/3/" target="_blank"&gt;https://download.01.org/opencv/2021/openvinotoolkit/2021.2/open_model_zoo/models_bin/3/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The OpenVINO version is the included in the Docker image ia_openvino_base of&amp;nbsp;&lt;STRONG&gt;Edge Insights for Industrial 2.6.2&lt;/STRONG&gt; (openvino_2021.4.689)&lt;/P&gt;
&lt;P&gt;Some people had the same issue, but I could not implement the proposed solution because&amp;nbsp;some APIs have been deprecated.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blog.birost.com/a?ID=01800-75504a7d-bb91-49d2-adfc-915c4d2638bc" target="_self"&gt;https://blog.birost.com/a?ID=01800-75504a7d-bb91-49d2-adfc-915c4d2638bc&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Miguel&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jan 2022 12:31:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Edge-Software-Catalog/Error-get-shape-was-called-on-a-descriptor-Tensor-with-dynamic/m-p/1351485#M2033</guid>
      <dc:creator>mvasquez</dc:creator>
      <dc:date>2022-01-14T12:31:48Z</dc:date>
    </item>
    <item>
      <title>Re: Error: get_shape was called on a descriptor::Tensor with dynamic shape</title>
      <link>https://community.intel.com/t5/Edge-Software-Catalog/Error-get-shape-was-called-on-a-descriptor-Tensor-with-dynamic/m-p/1351796#M2034</link>
      <description>&lt;P data-unlink="true"&gt;&lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/135346"&gt;@mvasquez&lt;/a&gt;&amp;nbsp; right, and that is the problem I meant. You take model IR from OpenVINO 2021.2 release and run inference with 2021.4.1 runtime. You should download models by using Open Model Zoo model downloader from OpenVINO 2021.4.1 environment or alternatively (you have to know what and where you should look for), you may use direct link from model configuration file (find model.yml under OMZ/models/intel folder for models of your interest either within your OpenVINO install folder or clone OMZ repo from github and checkout by tag 2021.4.1), for example,&amp;nbsp;&amp;nbsp;&lt;A href="https://storage.openvinotoolkit.org/repositories/open_model_zoo/2021.4/models_bin/3/semantic-segmentation-adas-0001/FP32/semantic-segmentation-adas-0001.xml" target="_self"&gt;semantic-segmentation-adas-0001.xml&lt;/A&gt; and &lt;A href="https://storage.openvinotoolkit.org/repositories/open_model_zoo/2021.4/models_bin/3/semantic-segmentation-adas-0001/FP32/semantic-segmentation-adas-0001.bin" target="_self"&gt;semantic-segmentation-adas-0001.bin&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;Regards,&lt;BR /&gt;&amp;nbsp; Vladimir&lt;/P&gt;</description>
      <pubDate>Sun, 16 Jan 2022 20:11:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Edge-Software-Catalog/Error-get-shape-was-called-on-a-descriptor-Tensor-with-dynamic/m-p/1351796#M2034</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2022-01-16T20:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: Error: get_shape was called on a descriptor::Tensor with dynamic shape</title>
      <link>https://community.intel.com/t5/Edge-Software-Catalog/Error-get-shape-was-called-on-a-descriptor-Tensor-with-dynamic/m-p/1352069#M2035</link>
      <description>&lt;P&gt;Hi Vladimir, we tried again with OpenVINO 2021.4 and models 2021.4 from the recommended repository and they don't work neither.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mvasquez_0-1642450890182.png" style="width: 400px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/25716i9D754518884FDF03/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="mvasquez_0-1642450890182.png" alt="mvasquez_0-1642450890182.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Do we have some alternative or we should assume the HETERO:CPU,GPU is not supported for this models?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Miguel&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jan 2022 20:24:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Edge-Software-Catalog/Error-get-shape-was-called-on-a-descriptor-Tensor-with-dynamic/m-p/1352069#M2035</guid>
      <dc:creator>mvasquez</dc:creator>
      <dc:date>2022-01-17T20:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: Error: get_shape was called on a descriptor::Tensor with dynamic shape</title>
      <link>https://community.intel.com/t5/Edge-Software-Catalog/Error-get-shape-was-called-on-a-descriptor-Tensor-with-dynamic/m-p/1352084#M2036</link>
      <description>&lt;P&gt;&lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/135346"&gt;@mvasquez&lt;/a&gt;&amp;nbsp;I just try on Windows (can't get to Linux system right now) Open Model Zoo Python &lt;A href="https://docs.openvino.ai/2021.4/omz_demos_segmentation_demo_python.html" target="_self"&gt;segmentation_demo&lt;/A&gt; with &lt;A href="https://docs.openvino.ai/2021.4/omz_models_model_road_segmentation_adas_0001.html" target="_self"&gt;road-segmentation-adas-0001&lt;/A&gt; model with OpenVINO 2021.4.2 release and device HETERO:GPU,CPU and seems it works.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;command line used:&lt;BR /&gt;&lt;BR /&gt;python segmentation_demo.py ^&lt;BR /&gt;-d HETERO:GPU,CPU ^&lt;BR /&gt;-i street.jpg ^&lt;BR /&gt;-m road-segmentation-adas-0001.xml ^&lt;BR /&gt;-at segmentation ^&lt;BR /&gt;--loop&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="segmentation_demo.jpg" style="width: 999px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/25717iE73C7AFE2A9F4C00/image-size/large?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="segmentation_demo.jpg" alt="segmentation_demo.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jan 2022 22:07:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Edge-Software-Catalog/Error-get-shape-was-called-on-a-descriptor-Tensor-with-dynamic/m-p/1352084#M2036</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2022-01-17T22:07:14Z</dc:date>
    </item>
    <item>
      <title>Re: Error: get_shape was called on a descriptor::Tensor with dynamic shape</title>
      <link>https://community.intel.com/t5/Edge-Software-Catalog/Error-get-shape-was-called-on-a-descriptor-Tensor-with-dynamic/m-p/1352214#M2037</link>
      <description>&lt;P&gt;Hi Vladimir, we'll check what we are missing in EII 2.6+.&lt;/P&gt;
&lt;P&gt;Thanks for your time!&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jan 2022 12:28:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Edge-Software-Catalog/Error-get-shape-was-called-on-a-descriptor-Tensor-with-dynamic/m-p/1352214#M2037</guid>
      <dc:creator>mvasquez</dc:creator>
      <dc:date>2022-01-18T12:28:12Z</dc:date>
    </item>
    <item>
      <title>Re: Error: get_shape was called on a descriptor::Tensor with dynamic shape</title>
      <link>https://community.intel.com/t5/Edge-Software-Catalog/Error-get-shape-was-called-on-a-descriptor-Tensor-with-dynamic/m-p/1352944#M2038</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;Hi Miguel,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: Calibri; font-size: 16px;"&gt;I've validated that running the &lt;/SPAN&gt;&lt;A style="font-family: Calibri; font-size: 16px;" href="https://docs.openvino.ai/2021.4/omz_demos_segmentation_demo_python.html" target="_blank" rel="noopener noreferrer"&gt;segmentation_demo&lt;/A&gt;&lt;SPAN style="font-family: Calibri; font-size: 16px;"&gt; with &lt;/SPAN&gt;&lt;A style="font-family: Calibri; font-size: 16px;" href="https://docs.openvino.ai/2021.4/omz_models_model_road_segmentation_adas_0001.html" target="_blank" rel="noopener noreferrer"&gt;road-segmentation-adas-0001&lt;/A&gt;&lt;SPAN style="font-family: Calibri; font-size: 16px;"&gt; model using &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; font-size: 16px;"&gt;-d HETERO:GPU,CPU&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri; font-size: 16px;"&gt;&amp;nbsp;command on Ubuntu 18.04 and OpenVINO 2021.4 was successful.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="result_image.JPG" style="width: 734px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/25839i362FA7240A74A7F3/image-dimensions/734x699?v=v2&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" width="734" height="699" role="button" title="result_image.JPG" alt="result_image.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="terminal.JPG" style="width: 736px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/25840i921C8A1A89C72F63/image-dimensions/736x183?v=v2&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" width="736" height="183" role="button" title="terminal.JPG" alt="terminal.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;Does your system have an embedded or discrete Intel® GPU? If so, have you installed the Intel® Graphics Compute Runtime for OpenCL™ driver components as described &lt;/SPAN&gt;&lt;A style="font-size: 16px;" href="https://docs.openvino.ai/2021.4/openvino_docs_install_guides_installing_openvino_linux.html#step-5-optional-configure-inference-on-non-cpu-devices" target="_blank" rel="noopener noreferrer"&gt;here&lt;/A&gt;&lt;SPAN style="font-size: 16px;"&gt;?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;On another note, we'll be moving this issue to the &lt;/SPAN&gt;&lt;A style="font-size: 16px;" href="https://community.intel.com/t5/Intel-Edge-Software-Hub/bd-p/edge-software-hub" target="_blank" rel="noopener noreferrer"&gt;Intel® Edge Software Hub&lt;/A&gt;&lt;SPAN style="font-size: 16px;"&gt; forum for better support as you're running OpenVINO on Edge Insights for Industrial 2.6.2.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;Hairul&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jan 2022 06:16:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Edge-Software-Catalog/Error-get-shape-was-called-on-a-descriptor-Tensor-with-dynamic/m-p/1352944#M2038</guid>
      <dc:creator>Hairul_Intel</dc:creator>
      <dc:date>2022-01-20T06:16:48Z</dc:date>
    </item>
    <item>
      <title>Re:Error: get_shape was called on a descriptor::Tensor with dynamic shape</title>
      <link>https://community.intel.com/t5/Edge-Software-Catalog/Error-get-shape-was-called-on-a-descriptor-Tensor-with-dynamic/m-p/1353531#M2039</link>
      <description>&lt;P&gt;Hi mvasquez,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I was also not able to reproduce the issue using OpenVINO 2021.4.1 release which is the same version included in the Edge Insights for Industrial 2.6.2 package. Would you mind sharing your udf for me to reproduce?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jesus&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 21 Jan 2022 16:54:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Edge-Software-Catalog/Error-get-shape-was-called-on-a-descriptor-Tensor-with-dynamic/m-p/1353531#M2039</guid>
      <dc:creator>JesusE_Intel</dc:creator>
      <dc:date>2022-01-21T16:54:04Z</dc:date>
    </item>
    <item>
      <title>Re:Error: get_shape was called on a descriptor::Tensor with dynamic shape</title>
      <link>https://community.intel.com/t5/Edge-Software-Catalog/Error-get-shape-was-called-on-a-descriptor-Tensor-with-dynamic/m-p/1361002#M2040</link>
      <description>&lt;P&gt;If you need any additional information, please submit a new question as this thread will no longer be monitored.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 16 Feb 2022 21:06:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Edge-Software-Catalog/Error-get-shape-was-called-on-a-descriptor-Tensor-with-dynamic/m-p/1361002#M2040</guid>
      <dc:creator>JesusE_Intel</dc:creator>
      <dc:date>2022-02-16T21:06:27Z</dc:date>
    </item>
  </channel>
</rss>

