<?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 mo_tf.py error from tensorflow model in Intel® Distribution of OpenVINO™ Toolkit</title>
    <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/mo-tf-py-error-from-tensorflow-model/m-p/1130118#M8368</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;I'm training the tensorflow model.&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/stanfordmlgroup/tf-models/tree/master/video_prediction" target="_blank"&gt;https://github.com/stanfordmlgroup/tf-models/tree/master/video_prediction&lt;/A&gt;&lt;BR /&gt;To download the robot data, run the following.&lt;BR /&gt;./download_data.sh&lt;/P&gt;&lt;P&gt;To train the model, run the prediction_train.py file.&lt;BR /&gt;python3 prediction_train.py&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I'm trying transform tensorflow model to OpenVINO IR files.&lt;/P&gt;&lt;P&gt;&lt;A href="https://software.intel.com/en-us/articles/OpenVINO-Using-TensorFlow#inpage-nav-3" target="_blank"&gt;https://software.intel.com/en-us/articles/OpenVINO-Using-TensorFlow#inpage-nav-3&lt;/A&gt;&lt;BR /&gt;2. MetaGraph:&lt;BR /&gt;I got a following error message when implemented along with.&lt;/P&gt;&lt;P&gt;$ python3 /opt/intel/computer_vision_sdk_2018.5.455/deployment_tools/model_optimizer/mo_tf.py --input_meta_graph model.meta&lt;BR /&gt;Model Optimizer arguments:&lt;BR /&gt;Common parameters:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Path to the Input Model: &amp;nbsp; &amp;nbsp; &amp;nbsp;None&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Path for generated IR: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/home/work/tf-models/video_prediction/data/.&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - IR output name: &amp;nbsp; &amp;nbsp; &amp;nbsp; model&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Log level: &amp;nbsp; &amp;nbsp;ERROR&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Batch: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Not specified, inherited from the model&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Input layers: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Not specified, inherited from the model&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Output layers: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Not specified, inherited from the model&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Input shapes: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Not specified, inherited from the model&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Mean values: &amp;nbsp;Not specified&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Scale values: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Not specified&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Scale factor: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Not specified&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Precision of IR: &amp;nbsp; &amp;nbsp; &amp;nbsp;FP32&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Enable fusing: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;True&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Enable grouped convolutions fusing: &amp;nbsp; True&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Move mean values to preprocess section: &amp;nbsp; &amp;nbsp; &amp;nbsp; False&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Reverse input channels: &amp;nbsp; &amp;nbsp; &amp;nbsp; False&lt;BR /&gt;TensorFlow specific parameters:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Input model in text protobuf format: &amp;nbsp;False&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Offload unsupported operations: &amp;nbsp; &amp;nbsp; &amp;nbsp; False&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Path to model dump for TensorBoard: &amp;nbsp; None&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - List of shared libraries with TensorFlow custom layers implementation: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;None&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Update the configuration file with input/output node names: &amp;nbsp; None&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Use configuration file used to generate the model with Object Detection API: &amp;nbsp;None&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Operations to offload: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;None&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Patterns to offload: &amp;nbsp;None&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Use the config file: &amp;nbsp;None&lt;BR /&gt;Model Optimizer version: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1.5.12.49d067a0&lt;BR /&gt;WARNING: Logging before flag parsing goes to stderr.&lt;BR /&gt;E0410 16:17:23.769401 140581425035008 main.py:330] Unexpected exception happened during extracting attributes for node val_model/model/state3_8/mul.&lt;BR /&gt;Original exception message: int() argument must be a string, a bytes-like object or a number, not 'Dim'&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Environment&lt;BR /&gt;OS : Ubuntu 16.04.6 LTS&lt;BR /&gt;Processor : Intel(R) Xeon(R) CPU E3-1275 v3 @ 3.50GHz&lt;BR /&gt;Memory : 16 GB 1600 MHz DDR3&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Could you tell me what is wrong here?&lt;/P&gt;&lt;P&gt;I look forward to hearing from you soon.&lt;BR /&gt;Yours sincerely,&lt;/P&gt;&lt;P&gt;Aki Maeda&lt;/P&gt;</description>
    <pubDate>Thu, 18 Apr 2019 05:28:18 GMT</pubDate>
    <dc:creator>Maeda__Aki</dc:creator>
    <dc:date>2019-04-18T05:28:18Z</dc:date>
    <item>
      <title>mo_tf.py error from tensorflow model</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/mo-tf-py-error-from-tensorflow-model/m-p/1130118#M8368</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;I'm training the tensorflow model.&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/stanfordmlgroup/tf-models/tree/master/video_prediction" target="_blank"&gt;https://github.com/stanfordmlgroup/tf-models/tree/master/video_prediction&lt;/A&gt;&lt;BR /&gt;To download the robot data, run the following.&lt;BR /&gt;./download_data.sh&lt;/P&gt;&lt;P&gt;To train the model, run the prediction_train.py file.&lt;BR /&gt;python3 prediction_train.py&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I'm trying transform tensorflow model to OpenVINO IR files.&lt;/P&gt;&lt;P&gt;&lt;A href="https://software.intel.com/en-us/articles/OpenVINO-Using-TensorFlow#inpage-nav-3" target="_blank"&gt;https://software.intel.com/en-us/articles/OpenVINO-Using-TensorFlow#inpage-nav-3&lt;/A&gt;&lt;BR /&gt;2. MetaGraph:&lt;BR /&gt;I got a following error message when implemented along with.&lt;/P&gt;&lt;P&gt;$ python3 /opt/intel/computer_vision_sdk_2018.5.455/deployment_tools/model_optimizer/mo_tf.py --input_meta_graph model.meta&lt;BR /&gt;Model Optimizer arguments:&lt;BR /&gt;Common parameters:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Path to the Input Model: &amp;nbsp; &amp;nbsp; &amp;nbsp;None&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Path for generated IR: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/home/work/tf-models/video_prediction/data/.&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - IR output name: &amp;nbsp; &amp;nbsp; &amp;nbsp; model&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Log level: &amp;nbsp; &amp;nbsp;ERROR&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Batch: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Not specified, inherited from the model&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Input layers: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Not specified, inherited from the model&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Output layers: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Not specified, inherited from the model&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Input shapes: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Not specified, inherited from the model&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Mean values: &amp;nbsp;Not specified&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Scale values: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Not specified&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Scale factor: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Not specified&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Precision of IR: &amp;nbsp; &amp;nbsp; &amp;nbsp;FP32&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Enable fusing: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;True&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Enable grouped convolutions fusing: &amp;nbsp; True&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Move mean values to preprocess section: &amp;nbsp; &amp;nbsp; &amp;nbsp; False&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Reverse input channels: &amp;nbsp; &amp;nbsp; &amp;nbsp; False&lt;BR /&gt;TensorFlow specific parameters:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Input model in text protobuf format: &amp;nbsp;False&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Offload unsupported operations: &amp;nbsp; &amp;nbsp; &amp;nbsp; False&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Path to model dump for TensorBoard: &amp;nbsp; None&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - List of shared libraries with TensorFlow custom layers implementation: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;None&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Update the configuration file with input/output node names: &amp;nbsp; None&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Use configuration file used to generate the model with Object Detection API: &amp;nbsp;None&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Operations to offload: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;None&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Patterns to offload: &amp;nbsp;None&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Use the config file: &amp;nbsp;None&lt;BR /&gt;Model Optimizer version: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1.5.12.49d067a0&lt;BR /&gt;WARNING: Logging before flag parsing goes to stderr.&lt;BR /&gt;E0410 16:17:23.769401 140581425035008 main.py:330] Unexpected exception happened during extracting attributes for node val_model/model/state3_8/mul.&lt;BR /&gt;Original exception message: int() argument must be a string, a bytes-like object or a number, not 'Dim'&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Environment&lt;BR /&gt;OS : Ubuntu 16.04.6 LTS&lt;BR /&gt;Processor : Intel(R) Xeon(R) CPU E3-1275 v3 @ 3.50GHz&lt;BR /&gt;Memory : 16 GB 1600 MHz DDR3&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Could you tell me what is wrong here?&lt;/P&gt;&lt;P&gt;I look forward to hearing from you soon.&lt;BR /&gt;Yours sincerely,&lt;/P&gt;&lt;P&gt;Aki Maeda&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2019 05:28:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/mo-tf-py-error-from-tensorflow-model/m-p/1130118#M8368</guid>
      <dc:creator>Maeda__Aki</dc:creator>
      <dc:date>2019-04-18T05:28:18Z</dc:date>
    </item>
    <item>
      <title>Dear Aki, </title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/mo-tf-py-error-from-tensorflow-model/m-p/1130119#M8369</link>
      <description>&lt;P&gt;Dear Aki,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/stanfordmlgroup/tf-models/tree/master/video_prediction"&gt;The model you are using&lt;/A&gt;&amp;nbsp;doesn't seem to be one of our validated and tested Tensorflow Models. For a supported list, please refer to the document below. That said it's sometimes possible for mo_tf.py to&amp;nbsp;work on unvalidated&amp;nbsp;models. To debug deeper, you'd have to run model optimizer with the switch --log_level DEBUG.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.openvinotoolkit.org/latest/_docs_MO_DG_prepare_model_convert_model_Convert_Model_From_TensorFlow.html"&gt;https://docs.openvinotoolkit.org/latest/_docs_MO_DG_prepare_model_convert_model_Convert_Model_From_TensorFlow.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shubha&lt;/P&gt;</description>
      <pubDate>Mon, 22 Apr 2019 17:42:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/mo-tf-py-error-from-tensorflow-model/m-p/1130119#M8369</guid>
      <dc:creator>Shubha_R_Intel</dc:creator>
      <dc:date>2019-04-22T17:42:00Z</dc:date>
    </item>
  </channel>
</rss>

