Amruth

  • Dec 26, 2023
  • Joined Dec 9, 2023
  • 0 best answers
  • Appreciate the response.

    When I try with 2022.3 I get this exception when running mo command. However 2023.1 no issues.
    [ ERROR ] Exception occurred during running replacer "REPLACEMENT_ID" (<class 'openvino.tools.mo.load.tf.loader.TFLoader'>): Unexpected exception happened during extracting attributes for node StatefulPartitionedCall/Postprocessor/BatchMultiClassNonMaxSuppression/Slice_3/begin.

    Original exception message: index -1 is out of bounds for axis 0 with size 0

    "The support for MyriadX was deprecated in 2023 OpenVINO versions" Does that mean I can't use models optimized with openvino 2023.1 with any OKA-D devices?
    Is there any other way to generate MyriadX blob format for these devices since 2022 versions not working? any suggestions?

    • When I use Tensorflow model directly with blobconvertor I get the below error:

      [ FRAMEWORK ERROR ] Cannot load input model: TensorFlow cannot read the model file: "/tmp/blobconverter/c920b1a8d5964296b9bb4b7999d5452a/saved_model/FP16/saved_model.pb" is incorrect TensorFlow model file.
      The file should contain one of the following TensorFlow graphs:
      1. frozen graph in text or binary format
      2. inference graph for freezing with checkpoint (--input_checkpoint) in text or binary format
      3. meta graph

      Make sure that --input_model_is_text is provided for a model in text format. By default, a model is interpreted in binary format. Framework error details: Error parsing message.
      For more information please refer to Model Optimizer FAQ, question #43. (https://docs.openvino.ai/latest/openvino_docs_MO_DG_prepare_model_Model_Optimizer_FAQ.html?question=43#question-43)

      • Yes I did try that but no luck, Getting the error

        Cannot create Interpolate layer map/while/Preprocessor/ResizeImage/resize/ResizeBilinear id:59 from unsupported opset: opset11

        When I use 2022.1 I can't even convert tensorflow saved model to OpenVino (bin/xml) format

      • I am newbie to "Luxonis" space .I have custom trained object detection tensorflow 2.14 saved model (.pb) , converted to openvino(v 2023.2) IR format(xml,bin files) , however I can't find a way to convert this IR model into MYRIAD blob format , Am I missing something? Is it not supported yet ? if not supported is there any plans to support ? or can you please help me with alternate approach to convert to blob format ?