<?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 Dear Men, Prit, in Intel® Distribution of OpenVINO™ Toolkit</title>
    <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Neural-Compute-Stick-2-Wrong-inference-Raspberry-Pi/m-p/1155387#M13151</link>
    <description>&lt;P&gt;Dear&amp;nbsp;Men, Prit,&lt;/P&gt;&lt;P&gt;First, please make sure you're using the latest OpenVino 2019R1.1.&lt;/P&gt;&lt;P&gt;Does inference work properly without OpenVino ? Did you try running the regular frozen pb with TensorFlow inference ? Are the probabilities correct ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also when you create IR, do you need to include any of the following switches ? Often times when inference happens incorrectly, it's because improper IR was generated. IR may in fact get easily generated through a simple mo command, but it may still be wrong IR.&lt;/P&gt;&lt;P&gt;&amp;nbsp;--scale SCALE, -s SCALE&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; All input values coming from original network inputs&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; will be divided by this value. When a list of inputs&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; is overridden by the --input parameter, this scale is&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; not applied for any input that does not match with the&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; original input of the model.&lt;/P&gt;&lt;P&gt;--mean_values MEAN_VALUES, -ms MEAN_VALUES&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Mean values to be used for the input image per&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; channel. Values to be provided in the (R,G,B) or&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [R,G,B] format. Can be defined for desired input of&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; the model, for example: "--mean_values&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; data[255,255,255],info[255,255,255]". The exact&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; meaning and order of channels depend on how the&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; original model was trained.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp; --scale_values SCALE_VALUES&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Scale values to be used for the input image per&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; channel. Values are provided in the (R,G,B) or [R,G,B]&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; format. Can be defined for desired input of the model,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; for example: "--scale_values&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; data[255,255,255],info[255,255,255]". The exact&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; meaning and order of channels depend on how the&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; original model was trained.&lt;/P&gt;&lt;P&gt;--reverse_input_channels&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Switch the input channels order from RGB to BGR (or&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; vice versa). Applied to original inputs of the model&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if and only if a number of channels equals 3. Applied&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; after application of --mean_values and --scale_values&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; options, so numbers in --mean_values and&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; --scale_values go in the order of channels used in the&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; original model.&lt;/P&gt;&lt;P&gt;Please report back here. And thanks for using OpenVino !&amp;nbsp;&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, 24 May 2019 19:37:49 GMT</pubDate>
    <dc:creator>Shubha_R_Intel</dc:creator>
    <dc:date>2019-05-24T19:37:49Z</dc:date>
    <item>
      <title>Neural Compute Stick 2- Wrong inference (Raspberry Pi)</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Neural-Compute-Stick-2-Wrong-inference-Raspberry-Pi/m-p/1155386#M13150</link>
      <description>&lt;P&gt;We tried running our own ResNet model to detect heart arrhythmias (from 30 seconds of ECG data) on the NCS2 connected to a Raspberry pi. We obtained a pre-trained Keras model (in FP32) in hdf5 format, loaded the model and froze the graph, then saved&amp;nbsp;a PB text&amp;nbsp;file (tensorflow). We then used the openvino toolkit for Ubuntu (using Ubuntu 18.04) to convert the model to IR format, using the following command "python3 mo_tf.py --input_model &amp;lt;FILE NAME&amp;gt;.pbtxt&amp;nbsp;&amp;nbsp;--input_model_is_text --data_type=FP16 -b 1". The model was converted successfully, however the converted model does not perform correct inference. We ran the setup on the NCS2 on a raspberry pi(raspbian) and each time, we got a different result for the same input ( with the probabilities&amp;nbsp;completly&amp;nbsp;wrong).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All the files( network, converted files and scripts)&lt;/P&gt;&lt;P&gt;&lt;A href="https://drive.google.com/open?id=1uzCFJ1ogryxzkwmqZUO2XS1LT3YQvhsO" target="_blank"&gt;https://drive.google.com/open?id=1uzCFJ1ogryxzkwmqZUO2XS1LT3YQvhsO&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2019 12:57:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Neural-Compute-Stick-2-Wrong-inference-Raspberry-Pi/m-p/1155386#M13150</guid>
      <dc:creator>Men__Prit</dc:creator>
      <dc:date>2019-05-24T12:57:13Z</dc:date>
    </item>
    <item>
      <title>Dear Men, Prit,</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Neural-Compute-Stick-2-Wrong-inference-Raspberry-Pi/m-p/1155387#M13151</link>
      <description>&lt;P&gt;Dear&amp;nbsp;Men, Prit,&lt;/P&gt;&lt;P&gt;First, please make sure you're using the latest OpenVino 2019R1.1.&lt;/P&gt;&lt;P&gt;Does inference work properly without OpenVino ? Did you try running the regular frozen pb with TensorFlow inference ? Are the probabilities correct ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also when you create IR, do you need to include any of the following switches ? Often times when inference happens incorrectly, it's because improper IR was generated. IR may in fact get easily generated through a simple mo command, but it may still be wrong IR.&lt;/P&gt;&lt;P&gt;&amp;nbsp;--scale SCALE, -s SCALE&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; All input values coming from original network inputs&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; will be divided by this value. When a list of inputs&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; is overridden by the --input parameter, this scale is&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; not applied for any input that does not match with the&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; original input of the model.&lt;/P&gt;&lt;P&gt;--mean_values MEAN_VALUES, -ms MEAN_VALUES&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Mean values to be used for the input image per&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; channel. Values to be provided in the (R,G,B) or&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [R,G,B] format. Can be defined for desired input of&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; the model, for example: "--mean_values&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; data[255,255,255],info[255,255,255]". The exact&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; meaning and order of channels depend on how the&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; original model was trained.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp; --scale_values SCALE_VALUES&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Scale values to be used for the input image per&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; channel. Values are provided in the (R,G,B) or [R,G,B]&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; format. Can be defined for desired input of the model,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; for example: "--scale_values&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; data[255,255,255],info[255,255,255]". The exact&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; meaning and order of channels depend on how the&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; original model was trained.&lt;/P&gt;&lt;P&gt;--reverse_input_channels&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Switch the input channels order from RGB to BGR (or&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; vice versa). Applied to original inputs of the model&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if and only if a number of channels equals 3. Applied&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; after application of --mean_values and --scale_values&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; options, so numbers in --mean_values and&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; --scale_values go in the order of channels used in the&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; original model.&lt;/P&gt;&lt;P&gt;Please report back here. And thanks for using OpenVino !&amp;nbsp;&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, 24 May 2019 19:37:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Neural-Compute-Stick-2-Wrong-inference-Raspberry-Pi/m-p/1155387#M13151</guid>
      <dc:creator>Shubha_R_Intel</dc:creator>
      <dc:date>2019-05-24T19:37:49Z</dc:date>
    </item>
    <item>
      <title>Dear Shubha, </title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Neural-Compute-Stick-2-Wrong-inference-Raspberry-Pi/m-p/1155388#M13152</link>
      <description>&lt;P&gt;Dear Shubha,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for reverting back.&amp;nbsp;&lt;/P&gt;&lt;P&gt;With regards to the questions you had posted, we are using the latest iteration of OpenVino on the raspberry pi (downloaded 2-3 weeks ago). With regard to the pb file, we recognised that there were some discrepancies between the actual results and what the program outputted. Regarding that, we wanted to ask if the method utilised on this page:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;https://docs.openvinotoolkit.org/latest/_docs_MO_DG_prepare_model_convert_model_Convert_Model_From_TensorFlow.html&lt;/P&gt;&lt;P&gt;would always work when converting to a pb file(frozen). This is what we followed and have some indiscrepancies. Would it be better to convert to a meta-graph ( a non frozen method)?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Prithvi&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2019 17:43:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Neural-Compute-Stick-2-Wrong-inference-Raspberry-Pi/m-p/1155388#M13152</guid>
      <dc:creator>Men__Prit</dc:creator>
      <dc:date>2019-05-27T17:43:40Z</dc:date>
    </item>
    <item>
      <title>For the third comment, we do</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Neural-Compute-Stick-2-Wrong-inference-Raspberry-Pi/m-p/1155389#M13153</link>
      <description>&lt;P&gt;For the third comment, we do not use any of the options listed above but use&amp;nbsp;--data_type=FP16. Do you recommend we use the options above or any of the ones on the 'converting a tensorflow file' page?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Prithvi&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2019 17:45:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Neural-Compute-Stick-2-Wrong-inference-Raspberry-Pi/m-p/1155389#M13153</guid>
      <dc:creator>Men__Prit</dc:creator>
      <dc:date>2019-05-27T17:45:49Z</dc:date>
    </item>
    <item>
      <title>Dear all, </title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Neural-Compute-Stick-2-Wrong-inference-Raspberry-Pi/m-p/1155390#M13154</link>
      <description>&lt;P&gt;Dear all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yesterday we even made our own Tensorflow model ( using the Tensorflow Estimator API) as we thought it might be the Keras to Tensorflow file that might be causing problem. We trained the model and got the correct inference however, when we tried it with the compute stick, we got the wrong result yet again.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The new tensorflow file is on the drive:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://drive.google.com/open?id=1uzCFJ1ogryxzkwmqZUO2XS1LT3YQvhsO" target="_blank"&gt;https://drive.google.com/open?id=1uzCFJ1ogryxzkwmqZUO2XS1LT3YQvhsO&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and this time, we tried the metagraph and saved model types of file to no avail.&lt;/P&gt;&lt;P&gt;If you could help us, that would be great. The final thing we are looking at it is how we are running the inference script and if you have an example and could share it, that would be great.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;Prithvi&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 10:48:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Neural-Compute-Stick-2-Wrong-inference-Raspberry-Pi/m-p/1155390#M13154</guid>
      <dc:creator>Men__Prit</dc:creator>
      <dc:date>2019-05-29T10:48:11Z</dc:date>
    </item>
    <item>
      <title>Dear Men, Prit,</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Neural-Compute-Stick-2-Wrong-inference-Raspberry-Pi/m-p/1155391#M13155</link>
      <description>&lt;P&gt;Dear&amp;nbsp;Men, Prit,&lt;/P&gt;&lt;P&gt;The suggestion I gave you above --scale, --mean_values etc...should be given as hints to Model Optimizer, that is - if you even know what values to put there. The person who builds/trains the model should know what values to use in those switches. These switches should be used in addition to the switches defined in&amp;nbsp;the 'converting a tensorflow file' page.&lt;/P&gt;&lt;P&gt;A frozen pb versus a meta file should not make a difference in the results.&lt;/P&gt;&lt;P&gt;Can you kindly do me a favor ? Don't run on Raspberry PI for now.&amp;nbsp; Let's keep it simple. Re-do your Model Optimizer command leaving out --data_type=FP16. That way it will build for FP32 (default). Re-run your inference on CPU. Does it work ? Another thing to try, leave Raspberry Pi out of it. Just run your myriad stick as a USB on Linux or Windows (FP16).&lt;/P&gt;&lt;P&gt;There are plenty of examples in the OpenVino installation, both Python and C++.&amp;nbsp; What kid of inference does your Resnet model run ?&amp;nbsp; Classification I suppose ?&lt;/P&gt;&lt;P&gt;Also, if you're using an OpenVino from 3 weeks ago, that is already old (for non-raspberry pi anyway). We just released OpenVino 2019R1.1 last week. I promise to take a look at your code soon. I haven't had a chance to do so yet.&lt;/P&gt;&lt;P&gt;You're probably using this version of raspberry pi correct ?&lt;/P&gt;&lt;P&gt;&lt;A href="https://download.01.org/opencv/2019/openvinotoolkit/"&gt;https://download.01.org/opencv/2019/openvinotoolkit/&lt;/A&gt;&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 22:54:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Neural-Compute-Stick-2-Wrong-inference-Raspberry-Pi/m-p/1155391#M13155</guid>
      <dc:creator>Shubha_R_Intel</dc:creator>
      <dc:date>2019-05-29T22:54:00Z</dc:date>
    </item>
    <item>
      <title>Hwy there Shubha,</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Neural-Compute-Stick-2-Wrong-inference-Raspberry-Pi/m-p/1155392#M13156</link>
      <description>&lt;P&gt;Hwy there Shubha,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We decided to try the inference on a Linux computer ( without Myriad and on a Virtualbox) howvever, I get the error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;Unsupported primitive of type: ArgMax name: ArgMax.&lt;/P&gt;&lt;P&gt;Also when trying to run the on the Movidius (linux virtualbox), I get the error that the deivce was not found.&lt;/P&gt;&lt;P&gt;All the openvinos have been updated to the latest version ( 2019.1.144) for both linux and raspberry pi. We are running a resnet model for classification ( heart arrythmia detection). On the google drive, we have the script for the inference file and this is the only part we think might be causing a problem.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://drive.google.com/open?id=1uzCFJ1ogryxzkwmqZUO2XS1LT3YQvhsO" target="_blank"&gt;https://drive.google.com/open?id=1uzCFJ1ogryxzkwmqZUO2XS1LT3YQvhsO&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 May 2019 11:43:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Neural-Compute-Stick-2-Wrong-inference-Raspberry-Pi/m-p/1155392#M13156</guid>
      <dc:creator>Men__Prit</dc:creator>
      <dc:date>2019-05-30T11:43:55Z</dc:date>
    </item>
    <item>
      <title>Dear Shubha,</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Neural-Compute-Stick-2-Wrong-inference-Raspberry-Pi/m-p/1155393#M13157</link>
      <description>&lt;P&gt;Dear Shubha,&lt;/P&gt;&lt;P&gt;I also checked Openvino's supported layers and Argmax is supported on both CPU and Myriad&lt;/P&gt;</description>
      <pubDate>Thu, 30 May 2019 11:49:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Neural-Compute-Stick-2-Wrong-inference-Raspberry-Pi/m-p/1155393#M13157</guid>
      <dc:creator>Men__Prit</dc:creator>
      <dc:date>2019-05-30T11:49:51Z</dc:date>
    </item>
    <item>
      <title>Dear Men, Prit,</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Neural-Compute-Stick-2-Wrong-inference-Raspberry-Pi/m-p/1155394#M13158</link>
      <description>&lt;P&gt;Dear&amp;nbsp;Men, Prit,&lt;/P&gt;&lt;P&gt;Please study this thread to fix your virtual box issue:&lt;/P&gt;&lt;P&gt;&lt;A href="https://software.intel.com/en-us/forums/computer-vision/topic/805215"&gt;https://software.intel.com/en-us/forums/computer-vision/topic/805215&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Someone says:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;It seems NCS2 USB device ID changes when script starts loading model to MYRIAD.&lt;/P&gt;&lt;P&gt;I was able to resolve it by adding a new USB device filter with VID= 03e7 and PID=f63b in addition to&amp;nbsp;VID= 03e7 and PID=2485 in Virtualbox USB settings.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;*.148 is the latest Linux release. 144 is old. Please retry your code on CPU and Myriad (no Raspberry Pi) with *.148 and post back here.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shubha&lt;/P&gt;</description>
      <pubDate>Thu, 30 May 2019 21:57:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Neural-Compute-Stick-2-Wrong-inference-Raspberry-Pi/m-p/1155394#M13158</guid>
      <dc:creator>Shubha_R_Intel</dc:creator>
      <dc:date>2019-05-30T21:57:00Z</dc:date>
    </item>
    <item>
      <title>Dear Shubha, </title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Neural-Compute-Stick-2-Wrong-inference-Raspberry-Pi/m-p/1155395#M13159</link>
      <description>&lt;P&gt;Dear Shubha,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With regards to the virtual box, I have done that step yet to no avail.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With regards to the linux version, I did a fresh installation today and the latest version is 2019_1_144.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Link:&amp;nbsp;https://registrationcenter.intel.com/en/products/postregistration/?sn=CNP6-S4757DV9&amp;amp;EmailID=pritmister%40gmail.com&amp;amp;Sequence=2474365&amp;amp;dnld=t#&lt;/P&gt;&lt;P&gt;I have attached an image below to show what I see on the screen.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Moreover, could you please try converting or even running the xml bin files we have on the google drive. We have also have the pb saved directory and variable files on the drive. We have literally tried everything and it doesnt seem to work. (when you run the inference file on the A00021.mat input), you are supposed to get the result as N ( no arrhytmia) and a probability around 94%&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Prithvi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 May 2019 22:37:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Neural-Compute-Stick-2-Wrong-inference-Raspberry-Pi/m-p/1155395#M13159</guid>
      <dc:creator>Men__Prit</dc:creator>
      <dc:date>2019-05-30T22:37:01Z</dc:date>
    </item>
    <item>
      <title>Dear Men, Prit,</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Neural-Compute-Stick-2-Wrong-inference-Raspberry-Pi/m-p/1155396#M13160</link>
      <description>&lt;P&gt;Dear&amp;nbsp;Men, Prit,&lt;/P&gt;&lt;P&gt;Of course I will take a look at your files. I'm sorry i haven't just yet - but I have not forgotten about you.&lt;/P&gt;&lt;P&gt;Thanks for your patience,&lt;/P&gt;&lt;P&gt;Shubha&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2019 22:12:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Neural-Compute-Stick-2-Wrong-inference-Raspberry-Pi/m-p/1155396#M13160</guid>
      <dc:creator>Shubha_R_Intel</dc:creator>
      <dc:date>2019-05-31T22:12:22Z</dc:date>
    </item>
    <item>
      <title>Hey Shubha, </title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Neural-Compute-Stick-2-Wrong-inference-Raspberry-Pi/m-p/1155397#M13161</link>
      <description>&lt;P&gt;Hey Shubha,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope you are well.&amp;nbsp;&lt;/P&gt;&lt;P&gt;With regards to the code, did you have the chance to take a look at what could be possibly go wrong? We have a demo day for our project on the 12th and would love to get the model running on the&amp;nbsp;neural stick working before that.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and looking forward to your answer&amp;nbsp;&lt;/P&gt;&lt;P&gt;Prithvi&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2019 21:20:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Neural-Compute-Stick-2-Wrong-inference-Raspberry-Pi/m-p/1155397#M13161</guid>
      <dc:creator>Men__Prit</dc:creator>
      <dc:date>2019-06-05T21:20:35Z</dc:date>
    </item>
    <item>
      <title>Dear Men, Prit,</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Neural-Compute-Stick-2-Wrong-inference-Raspberry-Pi/m-p/1155398#M13162</link>
      <description>&lt;P&gt;Dear&amp;nbsp;Men, Prit,&lt;/P&gt;&lt;P&gt;Not yet but I promise to do so by the end of this week.&lt;/P&gt;&lt;P&gt;Shubha&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2019 21:29:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Neural-Compute-Stick-2-Wrong-inference-Raspberry-Pi/m-p/1155398#M13162</guid>
      <dc:creator>Shubha_R_Intel</dc:creator>
      <dc:date>2019-06-05T21:29:01Z</dc:date>
    </item>
    <item>
      <title>Hi.</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Neural-Compute-Stick-2-Wrong-inference-Raspberry-Pi/m-p/1155399#M13163</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll add a couple cents on this:&lt;/P&gt;&lt;P&gt;I trained my own SSDv2 300x300 using the TFOD API; a predict.py using tensorflow functions and a .pb file&amp;nbsp;seems to be working fine.&lt;/P&gt;&lt;P&gt;And using the line mentioned:&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;
&lt;PRE class="brush:bash; class-name:dark;"&gt;mo_tf.py --input_model=/tmp/ssd_inception_v2_coco_2018_01_28/frozen_inference_graph.pb --tensorflow_use_custom_operations_config &amp;lt;INSTALL_DIR&amp;gt;/deployment_tools/model_optimizer/extensions/front/tf/ssd_v2_support.json --tensorflow_object_detection_api_pipeline_config /tmp/ssd_inception_v2_coco_2018_01_28/pipeline.config --reverse_input_channels&lt;/PRE&gt;
&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;Wit my own .pb file, I was able to convert it without an issue to bin/xml (just had to be very mindful of creating a specific virtualenv with: python 3.5.2 and a very specific set of pip packages, including tensorflow&amp;nbsp; &amp;lt;=1.4 for running the conversion script (it doesn't work with 1.12, and also made sure of using the switch for FP16, for running the model on the NCS2).&lt;/P&gt;
&lt;P&gt;The json support file is essential, else conversion doesn't seem to work... or gives an error (and I used the same pipeline.config for my custom dataset).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What I still don't know, and I would appreciate to know::&lt;/P&gt;
&lt;OL&gt;&lt;LI&gt;The reverse_input_channels switch, would it make the bin/xml format to be RGB, or BGR&amp;nbsp;? (i'm kind of lost here, even if it's a single thing).&lt;/LI&gt;&lt;LI&gt;The model for TFOD API gives me the detection boxes in the range [0, 1] for X (Width)&amp;nbsp;and Y (Height) coordinates, and to properly position them in my processed image, I have to convert them to the respective [0, maxX], [0, maxY] ). After the conversion to bin/xml, that behavior is still kept? So that I also have to scale properly the detection-boxes in my images, after&amp;nbsp;the conversion to bin/xml.&lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maybe the point in 2 makes the detections be off... I'm still adapting a script, but I need to know these two details, to properly assess my results.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2019 20:37:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Neural-Compute-Stick-2-Wrong-inference-Raspberry-Pi/m-p/1155399#M13163</guid>
      <dc:creator>Sapiain__Roberto</dc:creator>
      <dc:date>2019-06-06T20:37:00Z</dc:date>
    </item>
    <item>
      <title>Dear Sapiain, Roberto</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Neural-Compute-Stick-2-Wrong-inference-Raspberry-Pi/m-p/1155400#M13164</link>
      <description>&lt;P&gt;Dear&amp;nbsp;Sapiain, Roberto&lt;/P&gt;&lt;P&gt;For 1) If your model is trained in RGB, then you need the --reverse_input_channels to run&amp;nbsp;most of our samples since OpenCV reads images in BGR and OpenVino&amp;nbsp;samples use OpenCV.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For 2) If you are scaling your images &lt;STRONG&gt;before training your tensorflow model&amp;nbsp;&lt;/STRONG&gt;(meaning normal sized images are passed into Tensorflow Placeholder(s) then scaled before feeding into training) there is no way for Model Optimizer to know about the scaling which you did to get Tensorflow to train and perform inference correctly. You must specifically tell model optimizer how you scaled your image, using the parameters I mention above. If you are not scaling your image before training and rather, scaling during Tensorflow Inference, then you must apply a similar scaling in your Inference Engine code (i.e. using OpenCV API).&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this helps.&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>Mon, 17 Jun 2019 23:02:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Neural-Compute-Stick-2-Wrong-inference-Raspberry-Pi/m-p/1155400#M13164</guid>
      <dc:creator>Shubha_R_Intel</dc:creator>
      <dc:date>2019-06-17T23:02:00Z</dc:date>
    </item>
    <item>
      <title>Dear everyone,</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Neural-Compute-Stick-2-Wrong-inference-Raspberry-Pi/m-p/1155401#M13165</link>
      <description>&lt;P&gt;Dear everyone,&lt;/P&gt;&lt;P&gt;Please carefully use the --input_shape parameter to your MO command.&amp;nbsp; Make sure you know exactly what the image size is that your model was trained on, and that what you pass to --input_shape exactly matches it. Having the --input_shape switch incorrect can definitely mess up detection results.&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>Thu, 20 Jun 2019 13:46:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Neural-Compute-Stick-2-Wrong-inference-Raspberry-Pi/m-p/1155401#M13165</guid>
      <dc:creator>Shubha_R_Intel</dc:creator>
      <dc:date>2019-06-20T13:46:24Z</dc:date>
    </item>
    <item>
      <title>Hi Shubha.</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Neural-Compute-Stick-2-Wrong-inference-Raspberry-Pi/m-p/1155402#M13166</link>
      <description>&lt;P&gt;Hi Shubha.&lt;/P&gt;&lt;P&gt;I met the same problem. I think it might be a bug...&lt;/P&gt;&lt;DIV id="gtx-trans" style="left:-397px; position:absolute; top:-7px"&gt;&lt;DIV class="gtx-trans-icon"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 12 May 2020 07:21:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Neural-Compute-Stick-2-Wrong-inference-Raspberry-Pi/m-p/1155402#M13166</guid>
      <dc:creator>Ge__Zheng</dc:creator>
      <dc:date>2020-05-12T07:21:04Z</dc:date>
    </item>
  </channel>
</rss>

