<?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>Intel® Distribution of OpenVINO™ ToolkitのトピックCreate scripts which do not need sudo access</title>
    <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Create-scripts-which-do-not-need-sudo-access/m-p/1158300#M13716</link>
    <description>&lt;P&gt;Today you need sudo access to run scripts&amp;nbsp; like demo_squeezenet_download_convert_run.sh and demo_security_barrier_camera.sh installed by OpenVINO in Linux environment. There are many situations where such access are not provided. It would be great if we can clean up the script to make no assumption about root or sudo access by the user. I could make it work without sudo access or root access by commenting out lot of code in the script demo_squeezenet_download_convert_run.sh. Some examples are&lt;/P&gt;

&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,sans-serif; font-size: 11pt;"&gt;Comment out line 31 to 35 in demo_squeezenet_download_convert_run.sh&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,sans-serif; font-size: 11pt;"&gt;#if [[ $EUID -ne 0 ]]; then&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,sans-serif; font-size: 11pt;"&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp; echo "ERROR: to install CV SDK dependencies, you must run this script as root." &amp;gt;&amp;amp;2&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,sans-serif; font-size: 11pt;"&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp; echo "Please try again with "sudo -E $0", or as root." &amp;gt;&amp;amp;2&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,sans-serif; font-size: 11pt;"&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp; exit 1&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,sans-serif; font-size: 11pt;"&gt;#fi&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,sans-serif; font-size: 11pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,sans-serif; font-size: 11pt;"&gt;Comment out line 64 to 66 in demo_squeezenet_download_convert_run.sh&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,sans-serif; font-size: 11pt;"&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp; sudo -E rpm -Uvh &lt;A href="http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-1.el7.nux.noarch.rpm"&gt;&lt;U&gt;&lt;FONT color="#0000ff"&gt;&lt;/FONT&gt;&lt;/U&gt;&lt;/A&gt;&lt;A href="http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-1.el7.nux.noarch.rpm" target="_blank"&gt;http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-1.el7.nux.noarch.rpm&lt;/A&gt; || true&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,sans-serif; font-size: 11pt;"&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp; sudo -E yum install -y epel-release&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,sans-serif; font-size: 11pt;"&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp; sudo -E yum install -y ffmpeg gstreamer-plugins-base&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,sans-serif; font-size: 11pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,sans-serif; font-size: 11pt;"&gt;Comment out line 98 in demo_squeezenet_download_convert_run.sh&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,sans-serif; font-size: 11pt;"&gt;#sudo -E $pip_binary install pyyaml requests&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,sans-serif; font-size: 11pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,sans-serif; font-size: 11pt;"&gt;Comment out line 152 in demo_squeezenet_download_convert_run.sh and add your own source activate to a Python 3.6 conda environment&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,sans-serif; font-size: 11pt;"&gt;#source $prereqs_mo_path/../venv/bin/activate&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,sans-serif; font-size: 11pt;"&gt;source activate keras #This is your conda environment&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 19 Jul 2018 15:59:17 GMT</pubDate>
    <dc:creator>Rajeev_A_Intel</dc:creator>
    <dc:date>2018-07-19T15:59:17Z</dc:date>
    <item>
      <title>Create scripts which do not need sudo access</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Create-scripts-which-do-not-need-sudo-access/m-p/1158300#M13716</link>
      <description>&lt;P&gt;Today you need sudo access to run scripts&amp;nbsp; like demo_squeezenet_download_convert_run.sh and demo_security_barrier_camera.sh installed by OpenVINO in Linux environment. There are many situations where such access are not provided. It would be great if we can clean up the script to make no assumption about root or sudo access by the user. I could make it work without sudo access or root access by commenting out lot of code in the script demo_squeezenet_download_convert_run.sh. Some examples are&lt;/P&gt;

&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,sans-serif; font-size: 11pt;"&gt;Comment out line 31 to 35 in demo_squeezenet_download_convert_run.sh&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,sans-serif; font-size: 11pt;"&gt;#if [[ $EUID -ne 0 ]]; then&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,sans-serif; font-size: 11pt;"&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp; echo "ERROR: to install CV SDK dependencies, you must run this script as root." &amp;gt;&amp;amp;2&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,sans-serif; font-size: 11pt;"&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp; echo "Please try again with "sudo -E $0", or as root." &amp;gt;&amp;amp;2&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,sans-serif; font-size: 11pt;"&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp; exit 1&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,sans-serif; font-size: 11pt;"&gt;#fi&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,sans-serif; font-size: 11pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,sans-serif; font-size: 11pt;"&gt;Comment out line 64 to 66 in demo_squeezenet_download_convert_run.sh&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,sans-serif; font-size: 11pt;"&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp; sudo -E rpm -Uvh &lt;A href="http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-1.el7.nux.noarch.rpm"&gt;&lt;U&gt;&lt;FONT color="#0000ff"&gt;&lt;/FONT&gt;&lt;/U&gt;&lt;/A&gt;&lt;A href="http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-1.el7.nux.noarch.rpm" target="_blank"&gt;http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-1.el7.nux.noarch.rpm&lt;/A&gt; || true&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,sans-serif; font-size: 11pt;"&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp; sudo -E yum install -y epel-release&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,sans-serif; font-size: 11pt;"&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp; sudo -E yum install -y ffmpeg gstreamer-plugins-base&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,sans-serif; font-size: 11pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,sans-serif; font-size: 11pt;"&gt;Comment out line 98 in demo_squeezenet_download_convert_run.sh&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,sans-serif; font-size: 11pt;"&gt;#sudo -E $pip_binary install pyyaml requests&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,sans-serif; font-size: 11pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,sans-serif; font-size: 11pt;"&gt;Comment out line 152 in demo_squeezenet_download_convert_run.sh and add your own source activate to a Python 3.6 conda environment&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,sans-serif; font-size: 11pt;"&gt;#source $prereqs_mo_path/../venv/bin/activate&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,sans-serif; font-size: 11pt;"&gt;source activate keras #This is your conda environment&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jul 2018 15:59:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Create-scripts-which-do-not-need-sudo-access/m-p/1158300#M13716</guid>
      <dc:creator>Rajeev_A_Intel</dc:creator>
      <dc:date>2018-07-19T15:59:17Z</dc:date>
    </item>
    <item>
      <title>Hi, Rajeev,</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Create-scripts-which-do-not-need-sudo-access/m-p/1158301#M13717</link>
      <description>&lt;P&gt;Hi, Rajeev,&lt;/P&gt;&lt;P&gt;good suggestion. Please try to file PR in Github so the reviewer can judge if it makes sense, since&amp;nbsp;don't know if batch file owner intend to do this or not, filing PR in Github can get the feedback from engineer directly.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Nov 2018 07:01:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Create-scripts-which-do-not-need-sudo-access/m-p/1158301#M13717</guid>
      <dc:creator>Cary_P_Intel1</dc:creator>
      <dc:date>2018-11-21T07:01:24Z</dc:date>
    </item>
    <item>
      <title>Hi, Cary P.</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Create-scripts-which-do-not-need-sudo-access/m-p/1158302#M13718</link>
      <description>&lt;P&gt;Hi, Cary P.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please tell me the address of the project at gihub.com?&lt;/P&gt;&lt;P&gt;I'd also like to create an issue about the scripts.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Nov 2018 15:14:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Create-scripts-which-do-not-need-sudo-access/m-p/1158302#M13718</guid>
      <dc:creator>berupon</dc:creator>
      <dc:date>2018-11-21T15:14:04Z</dc:date>
    </item>
  </channel>
</rss>

