<?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:subprocess.CalledProcessError ,RuntimeError: OpenVINO Model Optimizer is not found or configured im in Edge Software Catalog</title>
    <link>https://community.intel.com/t5/Edge-Software-Catalog/subprocess-CalledProcessError-RuntimeError-OpenVINO-Model/m-p/1313397#M1849</link>
    <description>&lt;P&gt;Hi basaveswara,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thank you for sharing the screenshots, it looks like you are running the script within a virtual environment but the sourcing of the OpenVINO environment variables is happening outside of the virtual environment.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Please try souring OpenVINO from within the virtual environment &lt;I&gt;(detection).&lt;/I&gt;&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>Thu, 09 Sep 2021 18:07:13 GMT</pubDate>
    <dc:creator>JesusE_Intel</dc:creator>
    <dc:date>2021-09-09T18:07:13Z</dc:date>
    <item>
      <title>subprocess.CalledProcessError ,RuntimeError: OpenVINO Model Optimizer is not found or configured im</title>
      <link>https://community.intel.com/t5/Edge-Software-Catalog/subprocess-CalledProcessError-RuntimeError-OpenVINO-Model/m-p/1307135#M1842</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;
&lt;P&gt;I'm using open vino edge_insight_industrial&lt;/P&gt;
&lt;P&gt;while trying to export the model(i.e converting int XML &amp;amp; Bin),&lt;/P&gt;
&lt;P&gt;I'm getting the error.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;File "/home/kmlubuntu/training_extensions/external/mmdetection/tools/export.py", line 283, in main&lt;BR /&gt;with_text=with_text)&lt;BR /&gt;File "/home/kmlubuntu/training_extensions/external/mmdetection/tools/export.py", line 173, in export_to_openvino&lt;BR /&gt;raise RuntimeError('OpenVINO Model Optimizer is not found or configured improperly')&lt;BR /&gt;&lt;U&gt;&lt;EM&gt;&lt;STRONG&gt;RuntimeError: OpenVINO Model Optimizer is not found or configured improperly&lt;/STRONG&gt;&lt;/EM&gt;&lt;/U&gt;&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;File "export.py", line 41, in &amp;lt;module&amp;gt;&lt;BR /&gt;main()&lt;BR /&gt;File "export.py", line 37, in main&lt;BR /&gt;exporter(ote_args)&lt;BR /&gt;File "/home/kmlubuntu/training_extensions/ote/ote/modules/exporters/base.py", line 31, in __call__&lt;BR /&gt;self._export_to_openvino(args, tools_dir)&lt;BR /&gt;File "/home/kmlubuntu/training_extensions/ote/ote/modules/exporters/mmdetection.py", line 112, in _export_to_openvino&lt;BR /&gt;super()._export_to_openvino(args, tools_dir)&lt;BR /&gt;File "/home/kmlubuntu/training_extensions/ote/ote/modules/exporters/mmdetection.py", line 51, in _export_to_openvino&lt;BR /&gt;run_through_shell(f'python3 {os.path.join(tools_dir, "export.py")} '&lt;BR /&gt;File "/home/kmlubuntu/training_extensions/ote/ote/utils/misc.py", line 165, in run_through_shell&lt;BR /&gt;**std_streams_args)&lt;BR /&gt;File "/usr/lib/python3.6/subprocess.py", line 438, in run&lt;BR /&gt;output=stdout, stderr=stderr)&lt;BR /&gt;subprocess.CalledProcessError: Command 'python3 /home/kmlubuntu/training_extensions/external/mmdetection/tools/export.py model.py /tmp/my_model/outputs/latest.pth /tmp/my_model/export --update_config data.train.dataset.classes=[\"vehicle\",\"person\",\"non-vehicle\"] data.val.classes=[\"vehicle\",\"person\",\"non-vehicle\"] data.test.classes=[\"vehicle\",\"person\",\"non-vehicle\"] model.bbox_head.num_classes=3 --opset=11 openvino --input_format BGR' returned non-zero exit status 1.&lt;/P&gt;
&lt;P&gt;During handling of the above exception, another exception occurred:&lt;/P&gt;
&lt;P&gt;Traceback (most recent call last):&lt;BR /&gt;File "/home/kmlubuntu/training_extensions/external/mmdetection/tools/export.py", line 326, in &amp;lt;module&amp;gt;&lt;BR /&gt;sys.exit(main(args) or 0)&lt;BR /&gt;File "/home/kmlubuntu/training_extensions/external/mmdetection/tools/export.py", line 283, in main&lt;BR /&gt;with_text=with_text)&lt;BR /&gt;File "/home/kmlubuntu/training_extensions/external/mmdetection/tools/export.py", line 173, in export_to_openvino&lt;BR /&gt;&lt;EM&gt;&lt;U&gt;&lt;STRONG&gt;raise RuntimeError('OpenVINO Model Optimizer is not found or configured improperly')&lt;/STRONG&gt;&lt;/U&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;U&gt;&lt;STRONG&gt;RuntimeError: OpenVINO Model Optimizer is not found or configured improperly&lt;/STRONG&gt;&lt;/U&gt;&lt;/EM&gt;&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;File "export.py", line 41, in &amp;lt;module&amp;gt;&lt;BR /&gt;main()&lt;BR /&gt;File "export.py", line 37, in main&lt;BR /&gt;exporter(ote_args)&lt;BR /&gt;File "/home/kmlubuntu/training_extensions/ote/ote/modules/exporters/base.py", line 31, in __call__&lt;BR /&gt;self._export_to_openvino(args, tools_dir)&lt;BR /&gt;File "/home/kmlubuntu/training_extensions/ote/ote/modules/exporters/mmdetection.py", line 112, in _export_to_openvino&lt;BR /&gt;super()._export_to_openvino(args, tools_dir)&lt;BR /&gt;File "/home/kmlubuntu/training_extensions/ote/ote/modules/exporters/mmdetection.py", line 51, in _export_to_openvino&lt;BR /&gt;run_through_shell(f'python3 {os.path.join(tools_dir, "export.py")} '&lt;BR /&gt;File "/home/kmlubuntu/training_extensions/ote/ote/utils/misc.py", line 165, in run_through_shell&lt;BR /&gt;**std_streams_args)&lt;BR /&gt;&lt;U&gt;&lt;EM&gt;&lt;STRONG&gt;File "/usr/lib/python3.6/subprocess.py", line 438, in run&lt;/STRONG&gt;&lt;/EM&gt;&lt;/U&gt;&lt;BR /&gt;&lt;U&gt;&lt;EM&gt;&lt;STRONG&gt;output=stdout, stderr=stderr)&lt;/STRONG&gt;&lt;/EM&gt;&lt;/U&gt;&lt;BR /&gt;&lt;U&gt;&lt;EM&gt;&lt;STRONG&gt;subprocess.CalledProcessError: Command 'python3 /home/kmlubuntu&lt;/STRONG&gt;&lt;/EM&gt;&lt;/U&gt;/training_extensions/external/mmdetection/tools/export.py model.py /tmp/my_model/outputs/latest.pth /tmp/my_model/export --update_config data.train.dataset.classes=[\"vehicle\",\"person\",\"non-vehicle\"] data.val.classes=[\"vehicle\",\"person\",\"non-vehicle\"] data.test.classes=[\"vehicle\",\"person\",\"non-vehicle\"] model.bbox_head.num_classes=3 --opset=11 openvino --input_format &lt;U&gt;&lt;EM&gt;&lt;STRONG&gt;BGR' returned non-zero exit status 1.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Specification&lt;/P&gt;
&lt;P&gt;OS :ubuntu 18.04&lt;/P&gt;
&lt;P&gt;processor : i7 11gen&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i tried reinstalling the complete package at least 3 times but can't figured this out!&lt;/P&gt;</description>
      <pubDate>Mon, 16 Aug 2021 14:41:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Edge-Software-Catalog/subprocess-CalledProcessError-RuntimeError-OpenVINO-Model/m-p/1307135#M1842</guid>
      <dc:creator>basaveswara</dc:creator>
      <dc:date>2021-08-16T14:41:18Z</dc:date>
    </item>
    <item>
      <title>Re:subprocess.CalledProcessError ,RuntimeError: OpenVINO Model Optimizer is not found or configured im</title>
      <link>https://community.intel.com/t5/Edge-Software-Catalog/subprocess-CalledProcessError-RuntimeError-OpenVINO-Model/m-p/1308091#M1843</link>
      <description>&lt;P&gt;Hi basaveswara,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks for reaching out, could you share a bit more information?&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;What version of EII are you using?&lt;/LI&gt;&lt;LI&gt;What command did you run?&lt;/LI&gt;&lt;/UL&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>Thu, 19 Aug 2021 13:04:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Edge-Software-Catalog/subprocess-CalledProcessError-RuntimeError-OpenVINO-Model/m-p/1308091#M1843</guid>
      <dc:creator>JesusE_Intel</dc:creator>
      <dc:date>2021-08-19T13:04:48Z</dc:date>
    </item>
    <item>
      <title>Re: subprocess.CalledProcessError ,RuntimeError: OpenVINO Model Optimizer is not found or configured</title>
      <link>https://community.intel.com/t5/Edge-Software-Catalog/subprocess-CalledProcessError-RuntimeError-OpenVINO-Model/m-p/1308533#M1844</link>
      <description>&lt;P&gt;Hi JesusE_Intel,&lt;/P&gt;
&lt;P&gt;EII Version : 2.6&lt;/P&gt;
&lt;P&gt;command :&lt;/P&gt;
&lt;PRE&gt;python export.py \
   --load-weights &lt;SPAN class="pl-smi"&gt;${WORK_DIR}&lt;/SPAN&gt;/outputs/latest.pth \
   --save-model-to &lt;SPAN class="pl-smi"&gt;${WORK_DIR}&lt;/SPAN&gt;/export&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;though i have the latest.pth ,I'm getting the same error&lt;/P&gt;
&lt;P&gt;Link that i followed: "&lt;A href="https://github.com/openvinotoolkit/training_extensions/tree/develop/models/object_detection/model_templates/custom-object-detection&amp;quot;" target="_blank"&gt;https://github.com/openvinotoolkit/training_extensions/tree/develop/models/object_detection/model_templates/custom-object-detection"&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I had attached the log files in the following.please take a look&lt;/P&gt;</description>
      <pubDate>Sat, 21 Aug 2021 12:05:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Edge-Software-Catalog/subprocess-CalledProcessError-RuntimeError-OpenVINO-Model/m-p/1308533#M1844</guid>
      <dc:creator>basaveswara</dc:creator>
      <dc:date>2021-08-21T12:05:44Z</dc:date>
    </item>
    <item>
      <title>Re:subprocess.CalledProcessError ,RuntimeError: OpenVINO Model Optimizer is not found or configured im</title>
      <link>https://community.intel.com/t5/Edge-Software-Catalog/subprocess-CalledProcessError-RuntimeError-OpenVINO-Model/m-p/1309563#M1845</link>
      <description>&lt;P&gt;Hi basaveswara,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;OpenVINO is part of the video ingestion container included with EII. Training extensions will need to utilize OpenVINO model optimizer that is locally installed on the computer. Could you try to install OpenVINO locally on the system and trying again?&lt;/P&gt;&lt;P&gt;&lt;A href="https://software.intel.com/en-us/openvino-toolkit" target="_blank"&gt;https://software.intel.com/en-us/openvino-toolkit&lt;/A&gt;&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;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 24 Aug 2021 23:43:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Edge-Software-Catalog/subprocess-CalledProcessError-RuntimeError-OpenVINO-Model/m-p/1309563#M1845</guid>
      <dc:creator>JesusE_Intel</dc:creator>
      <dc:date>2021-08-24T23:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: subprocess.CalledProcessError ,RuntimeError: OpenVINO Model Optimizer is not found or configured</title>
      <link>https://community.intel.com/t5/Edge-Software-Catalog/subprocess-CalledProcessError-RuntimeError-OpenVINO-Model/m-p/1310532#M1846</link>
      <description>&lt;P&gt;&amp;nbsp;Hi Jesus,&lt;/P&gt;
&lt;P&gt;I'm getting the same error. though I had reinstalled the openvino locally&lt;/P&gt;</description>
      <pubDate>Sat, 28 Aug 2021 10:18:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Edge-Software-Catalog/subprocess-CalledProcessError-RuntimeError-OpenVINO-Model/m-p/1310532#M1846</guid>
      <dc:creator>basaveswara</dc:creator>
      <dc:date>2021-08-28T10:18:35Z</dc:date>
    </item>
    <item>
      <title>Re:subprocess.CalledProcessError ,RuntimeError: OpenVINO Model Optimizer is not found or configured im</title>
      <link>https://community.intel.com/t5/Edge-Software-Catalog/subprocess-CalledProcessError-RuntimeError-OpenVINO-Model/m-p/1311518#M1847</link>
      <description>&lt;P&gt;Hi basaveswara,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;When you installed OpenVINO did you set the environment variables?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px; font-family: courier;"&gt;source /opt/intel/openvino_2021/bin/setupvars.sh&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;Could you provide the output of your command line, sourcing the environment variables and running the commands up until the error?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;Jesus&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 01 Sep 2021 17:35:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Edge-Software-Catalog/subprocess-CalledProcessError-RuntimeError-OpenVINO-Model/m-p/1311518#M1847</guid>
      <dc:creator>JesusE_Intel</dc:creator>
      <dc:date>2021-09-01T17:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: subprocess.CalledProcessError ,RuntimeError: OpenVINO Model Optimizer is not found or configured</title>
      <link>https://community.intel.com/t5/Edge-Software-Catalog/subprocess-CalledProcessError-RuntimeError-OpenVINO-Model/m-p/1313261#M1848</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi Jesus,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;U&gt;&lt;STRONG&gt;When you installed Open Vino&amp;nbsp;did you set the environment variables?&amp;nbsp;&lt;/STRONG&gt;&lt;/U&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;SPAN class="sub_section_element_selectors"&gt;&lt;FONT color="#000000"&gt;&lt;U&gt;&lt;STRONG&gt;Yes&lt;/STRONG&gt;&lt;/U&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;U&gt;&lt;STRONG&gt;&lt;FONT size="4"&gt;&lt;STRONG&gt;&lt;SPAN class="sub_section_element_selectors"&gt;Could you provide the output of your command line, sourcing the environment variables and running the commands up until the error?&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/U&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;I had attached the picture of the errors and the environmental variables.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Sep 2021 10:07:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Edge-Software-Catalog/subprocess-CalledProcessError-RuntimeError-OpenVINO-Model/m-p/1313261#M1848</guid>
      <dc:creator>basaveswara</dc:creator>
      <dc:date>2021-09-09T10:07:12Z</dc:date>
    </item>
    <item>
      <title>Re:subprocess.CalledProcessError ,RuntimeError: OpenVINO Model Optimizer is not found or configured im</title>
      <link>https://community.intel.com/t5/Edge-Software-Catalog/subprocess-CalledProcessError-RuntimeError-OpenVINO-Model/m-p/1313397#M1849</link>
      <description>&lt;P&gt;Hi basaveswara,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thank you for sharing the screenshots, it looks like you are running the script within a virtual environment but the sourcing of the OpenVINO environment variables is happening outside of the virtual environment.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Please try souring OpenVINO from within the virtual environment &lt;I&gt;(detection).&lt;/I&gt;&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>Thu, 09 Sep 2021 18:07:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Edge-Software-Catalog/subprocess-CalledProcessError-RuntimeError-OpenVINO-Model/m-p/1313397#M1849</guid>
      <dc:creator>JesusE_Intel</dc:creator>
      <dc:date>2021-09-09T18:07:13Z</dc:date>
    </item>
    <item>
      <title>Re:subprocess.CalledProcessError ,RuntimeError: OpenVINO Model Optimizer is not found or configured im</title>
      <link>https://community.intel.com/t5/Edge-Software-Catalog/subprocess-CalledProcessError-RuntimeError-OpenVINO-Model/m-p/1315126#M1850</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>Thu, 16 Sep 2021 16:04:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Edge-Software-Catalog/subprocess-CalledProcessError-RuntimeError-OpenVINO-Model/m-p/1315126#M1850</guid>
      <dc:creator>JesusE_Intel</dc:creator>
      <dc:date>2021-09-16T16:04:48Z</dc:date>
    </item>
  </channel>
</rss>

